Remove libm-test.inc comment listing functions tested and not tested.
[glibc.git] / ChangeLog
blob76051c8070015e31b691ec308ed8589da27d4946
1 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
3         * math/libm-test.inc: Remove comment listing functions tested and
4         not tested.
6 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9         (allocate_stack): Remove COLORING_INCREMENT usage.
10         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
11         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
13 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
15         * manual/libm-err-tab.pl (@all_functions): Change to
16         %all_functions.  Initialize as empty.
17         (parse_ulps): Add to %all_functions based on functions found in
18         ulps files.  Ignore results for non-default rounding modes and
19         vector functions.
20         (print_platforms): Use %all_platforms.
21         * manual/math.texi (Errors in Math Functions): Document omissions
22         from the table.
24         * math/Makefile (before-compile): Remove.
26 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
28         [BZ #21075]
29         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
30         unused assignment.
31         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
33 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
35         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
36         Add __glibc_unlikely hint.
38 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
40         [BZ #16640]
41         * sysdeps/i386/i686/strtok.S: Remove file.
42         * sysdeps/i386/i686/strtok_r.S: Likewise.
43         * sysdeps/i386/strtok.S: Likewise.
44         * sysdeps/i386/strtok_r.S: Likewise.
45         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
46         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
47         * sysdeps/x86_64/strtok.S: Likewise.
48         * sysdeps/x86_64/strtok_r.S: Likewise.
50         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
51         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
52         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53         (__ASSUME_FADVISE64_AS_64_64): Define.
54         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
55         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
56         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
57         __ALIGNMENT_ARG usage.
58         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
59         __NR_fadvise64_64 if it is not defined.
61 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
63         * version.h (RELEASE): Set to "development"
64         (VERSION): Set to 2.25.90.
65         * NEWS: Add 2.26 section.
67         * version.h (RELEASE): Set to "stable"
68         (VERSION): Set to 2.25.
69         * include/features.h (__GLIBC_MINOR__): Set to 25.
71         * manual/contrib.texi: Add more contributors from this release
72         and past releases.
74         * NEWS (2.25): Add list of bugs fixed.
76         * NEWS: Add missing news items.
78 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
80         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
81         parent if child exited in that manner.  Print WEXITSTATUS
82         instead of the raw status.
83         (do_test_prep): Rename to do_test.
84         (do_test): Return the result of run_executable_sgid.
85         (TEST_FUNCTION_ARGV): Adjust.
87 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
88             Florian Weimer  <fweimer@redhat.com>
89             Carlos O'Donell  <carlos@redhat.com>
91         [BZ #20915]
92         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
93         Do not initialize DTV.
94         * nptl/allocatestack.c (init_one_static_tls): Likewise.
96 2017-02-03  David S. Miller  <davem@davemloft.net>
98         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
99         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
100         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
101         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
102         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
103         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
104         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
107         (libm-sysdep_routines): Update.
108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
110         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
113         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
114         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
115         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
116         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
118         Likewise.
119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
121         Likewise.
122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
124         Likewise.
125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
127         Likewise.
128         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
130         (libm-sysdep_routines): Update.
132 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
134         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
135         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
136         against unrelocated shared library.
137         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
139 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
141         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
142         * elf/tst-env-setuid-tunables.c
143         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
144         GLIBC_TUNABLES is removed in a setgid process.
146         [BZ #21073]
147         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
148         * elf/dl-tunables.c (tunables_strdup): Remove.
149         (get_next_env): Also return the previous envp.
150         (parse_tunables): Erase tunables of category
151         TUNABLES_SECLEVEL_SXID_ERASE.
152         (maybe_enable_malloc_check): Make MALLOC_CHECK_
153         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
154         (__tunables_init)[TUNABLES_FRONTEND ==
155         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
156         after parsing.
157         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
158         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
159         * elf/dl-tunables.h (struct _tunable): Change member is_secure
160         to security_level.
161         * elf/dl-tunables.list: Add security_level annotations for all
162         tunables.
163         * scripts/gen-tunables.awk: Recognize and generate enum values
164         for security_level.
165         * elf/tst-env-setuid.c: New test case.
166         * elf/tst-env-setuid-tunables: new test case.
167         * elf/Makefile (tests-static): Add them.
169 2017-02-01  Richard Henderson  <rth@twiddle.net>
171         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
172         adjusting the byte count.
174 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
176         * conform/Makefile (linknamespace-libs): Define.
178         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
179         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
180         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
181         operands.
183 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
185         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
187 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
189         [BZ #21081]
190         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
191         (L(stosb)): Add VZEROUPPER before ret.
193 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
194             Alexey Makhalov <amakhalov@vmware.com>
195             Florian Weimer <fweimer@redhat.com>
197         [BZ #20116]
198         * nptl/pthread_create.c: Document concurrency notes.
199         Enhance thread creation notes.
200         (create_thread): Use bool *stopped_start.
201         (START_THREAD_DEFN): Comment ownership of PD.
202         (__pthread_create_2_1): Add local bool stopped_start and use
203         that instead of pd->stopped_start where appropriate.
204         * nptl/createthread.c (create_thread): Use bool *stopped_start.
205         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
206         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
207         * nptl/tst-create-detached.c: New file.
208         * nptl/Makefile (tests): Add tst-create-detached.
209         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
210         Reference the enhanced thread creation notes.
211         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
212         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
213         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
214         (__pthread_current_priority): Likewise.
215         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
216         xpthread_attr_init, xpthread_attr_setdetachstate, and
217         xpthread_attr_setstacksize.
218         * support/xpthread_attr_destroy.c: New file.
219         * support/xpthread_attr_init.c: New file.
220         * support/xpthread_attr_setdetachstate.c: New file.
221         * support/xpthread_attr_setstacksize.c: New file.
222         * support/xthread.h: Define prototypes for xpthread_attr_destroy
223         xpthread_attr_init, xpthread_attr_setdetachstate, and
224         xpthread_attr_setstacksize.
226 2017-01-27  Florian Weimer  <fweimer@redhat.com>
228         * nptl/Makefile (tests): Add tst-robust-fork.
229         * nptl/tst-robust-fork.c: New file.
230         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
231         xpthread_mutex_consistent, xpthread_mutex_destroy,
232         xpthread_mutex_init, xpthread_mutexattr_destroy,
233         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
234         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
235         xpthread_mutexattr_settype.
236         * support/xmmap.c: New file.
237         * support/xmunmap.c: Likewise.
238         * support/xpthread_mutex_consistent.c: Likewise.
239         * support/xpthread_mutex_destroy.c: Likewise.
240         * support/xpthread_mutex_init.c: Likewise.
241         * support/xpthread_mutexattr_destroy.c: Likewise.
242         * support/xpthread_mutexattr_init.c: Likewise.
243         * support/xpthread_mutexattr_setprotocol.c: Likewise.
244         * support/xpthread_mutexattr_setpshared.c: Likewise.
245         * support/xpthread_mutexattr_setrobust.c: Likewise.
246         * support/xpthread_mutexattr_settype.c: Likewise.
247         * support/xthread.h (xpthread_mutexattr_destroy)
248         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
249         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
250         (xpthread_mutexattr_settype, xpthread_mutex_init)
251         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
252         * support/xunistd.h (xmmap, xmunmap): Likewise.
254 2017-01-25  Florian Weimer  <fweimer@redhat.com>
256         * string/Makefile (xtests): Add comment.
257         (LOCALES): Add en_GB.UTF-8.
258         (tst-strcoll-overflow.out): Depend on generated locales.
259         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
260         (SIZE, TIMEOUT): Update comments.
261         (do_test): Define as static.  Fail test if setlocale fails.
262         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
263         messages.
264         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
265         TIMEOUT at 300 seconds should be enough to run this test
266         successfully.
268 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
270         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
271         /* FALLTHRU */ comments.
273 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
275         [BZ #21053]
276         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
277         constants instead of the old R* ones.
278         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
279         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
280         (NGREG): ... to this, to fit in with other architectures.
281         (gpregset_t): Use new NGREG macro.
282         [__USE_GNU]: Remove condition; all architectures other than tile
283         are unconditional.
284         (R*): Rename to REG_R*.
286 2017-01-20  DJ Delorie  <dj@redhat.com>
288         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
289         (tunable_set_val_if_valid_range_signed) ... this, and ...
290         (tunable_set_val_if_valid_range_unsigned) ... this.
291         (tunable_initialize): Call the correct one of the above based on type.
293 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
295         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
296         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
297         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
298         * sysdeps/microblaze/libm-test-ulps: Likewise.
299         * sysdeps/sh/libm-test-ulps: Likewise.
301         * math/README.libm-test: Update list of characters for input and
302         output types.
304 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
306         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
307         (__lll_unlock_elision): Fix adapt_count decrement.
309 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
311         * README.pretty-printers (Known issues): Warn about printers not
312         always covering everything.
313         * nptl/nptl-printers.py (MutexPrinter): Change output.
314         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
316 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
318         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
319         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
320         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
321         (__lll_lock_elision): Do not test futex before starting a
322         transaction.  Use __glibc_likely instead of __builtin_expect.
323         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
324         (__lll_trylock_elision): Do not test futex before starting a
325         transaction.  Use __glibc_likely instead of __builtin_expect.
327 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
329         * po/Makefile (update-translations): New target.
331 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
333         [BZ #21061]
334         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
336 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
338         * elf/dl-tunables (get_next_env): Always advance envp.
339         * stdlib/tst-empty-env.c: New test case.
340         * stdlib/Makefile (tests): Use it.
342 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
344         [BZ #21047]
345         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
346         name for instruction.
347         [!__SOFTFP__] (_FPU_SETCW): Likewise.
349 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
351         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
352         for make install.
354 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
356         * po/bg.po: Merge from Translation Project.
357         * po/fr.po: Likewise.
358         * po/ko.po: Likewise.
359         * po/nl.po: Likewise.
360         * po/sv.po: Likewise.
362 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
364         * manual/install.texi (Tools for Compilation): Update GCC version
365         known to work to build glibc.
366         * INSTALL: Regenerated.
368 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
370         [BZ #21006]
371         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
373 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
375         [BZ #21045]
376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
377         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
378         to __sigprocmask.
380 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
382         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
383         wrap-around.
384         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
386         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
388 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
390         * NEWS: Fix typo.
392 2016-01-13  Torvald Riegel  <triegel@redhat.com>
394         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
395         barriers and comments.
396         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
397         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
398         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
400 2016-01-13  Torvald Riegel  <triegel@redhat.com>
402         [BZ #19402]
403         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
404         mutexes.
406 2016-01-13  Torvald Riegel  <triegel@redhat.com>
408         [BZ #20985]
409         * nptl/Makefile: Adapt.
410         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
411         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
412         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
413         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
414         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
415         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
416         lll_robust* functions and adapt.
417         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
418         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
419         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
420         __lll_robust_timedlock, __lll_robust_unlock): Remove.
421         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
422         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
423         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
424         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
425         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
426         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
427         __lll_robust_timedlock, __lll_robust_unlock): Remove.
428         * nptl/lowlevelrobustlock.c: Remove file.
429         * nptl/lowlevelrobustlock.sym: Likewise.
430         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
431         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
433 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
435         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
437 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
439         * po/cs.po: Merge translations from the Translation Project.
440         * po/de.po: Likewise.
441         * po/pl.po: Likewise.
442         * po/ru.po: Likewise.
443         * po/tr.po: Likewise.
444         * po/uk.po: Likewise.
445         * po/vi.po: Likewise.
446         * po/zh_CN.po: Likewise.
448 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
450         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
452         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
453         object.
455 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
457         [BZ #16458]
458         * bits/uintn-identity.h: New file.
459         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
460         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
461         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
462         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
463         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
464         * string/endian.h: Include <bits/uintn-identity.h>.
465         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
466         __uint16_identity.
467         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
468         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
469         __uint32_identity.
470         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
471         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
472         __uint64_identity.
473         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
474         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
475         __uint16_identity.
476         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
477         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
478         __uint32_identity.
479         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
480         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
481         __uint64_identity.
482         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
483         * string/Makefile (headers): Add bits/uintn-identity.h.
484         (tests): Add test-endian-types.
485         * string/test-endian-types.c: New file.
486         * inet/Makefile (tests): Add test-hnto-types.
487         * inet/test-hnto-types.c: New file.
489 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
491         * po/be.po: Update from Translation Project.
492         * po/bg.po: Likewise.
493         * po/ca.po: Likewise.
494         * po/cs.po: Likewise.
495         * po/da.po: Likewise.
496         * po/de.po: Likewise.
497         * po/el.po: Likewise.
498         * po/eo.po: Likewise.
499         * po/es.po: Likewise.
500         * po/fi.po: Likewise.
501         * po/fr.po: Likewise.
502         * po/gl.po: Likewise.
503         * po/hr.po: Likewise.
504         * po/hu.po: Likewise.
505         * po/ia.po: Likewise.
506         * po/id.po: Likewise.
507         * po/it.po: Likewise.
508         * po/ja.po: Likewise.
509         * po/ko.po: Likewise.
510         * po/lt.po: Likewise.
511         * po/nb.po: Likewise.
512         * po/nl.po: Likewise.
513         * po/pl.po: Likewise.
514         * po/pt_BR.po: Likewise.
515         * po/ru.po: Likewise.
516         * po/rw.po: Likewise.
517         * po/sk.po: Likewise.
518         * po/sl.po: Likewise.
519         * po/sv.po: Likewise.
520         * po/tr.po: Likewise.
521         * po/uk.po: Likewise.
522         * po/vi.po: Likewise.
523         * po/zh_CN.po: Likewise.
524         * po/zh_TW.po: Likewise.
526 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
528         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
529         -Wformat-truncation instead of -Wformat-length.
530         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
531         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
532         GCC 7.
533         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
534         (do_test): Ignore -Wformat-truncation for GCC 7.
536         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
537         buffer used to print long int value.
539         * elf/sotruss-lib.c (init): Increase space allocated for pid by
540         one byte.  Print it with %ld, cast to long int.
542 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
544         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
545         (re.fullmatch, subprocess.run): Likewise.
547 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
549         * po/libc.pot: Regenerate.
551 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
553         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
554         (min_strlen): Likewise.
555         (disable_tunable): Likewise.
556         (maybe_disable_malloc_check): Rename to
557         maybe_enable_malloc_check.
558         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
559         if /etc/suid-debug file exists.
560         (__tunables_init): Update caller.
561         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
562         secure.
564 2016-01-10  Torvald Riegel  <triegel@redhat.com>
566         * nptl/DESIGN-rwlock.txt: Remove.
567         * nptl/lowlevelrwlock.sym: Remove.
568         * nptl/Makefile: Add new tests.
569         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
570         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
571         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
572         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
573         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
574         PTHREAD_RWLOCK_FUTEX_USED): New.
575         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
576         implementation.
577         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
578         (__pthread_rwlock_rdlock): Adapt.
579         * nptl/pthread_rwlock_timedrdlock.c
580         (pthread_rwlock_timedrdlock): Adapt.
581         * nptl/pthread_rwlock_timedwrlock.c
582         (pthread_rwlock_timedwrlock): Adapt.
583         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
584         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
585         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
586         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
587         (__pthread_rwlock_wrlock): Adapt.
588         * nptl/tst-rwlock10.c: Adapt.
589         * nptl/tst-rwlock11.c: Adapt.
590         * nptl/tst-rwlock17.c: New file.
591         * nptl/tst-rwlock18.c: New file.
592         * nptl/tst-rwlock19.c: New file.
593         * nptl/tst-rwlock2b.c: New file.
594         * nptl/tst-rwlock8.c: Adapt.
595         * nptl/tst-rwlock9.c: Adapt.
596         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
597         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
598         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
599         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
600         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
601         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
602         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
603         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
604         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
605         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
606         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
607         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
608         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
609         (pthread_rwlock_t): Adapt.
610         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
611         (pthread_rwlock_t): Adapt.
612         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
613         * nptl/nptl-printers.py (): Adapt.
614         * nptl/nptl_lock_constants.pysym: Adapt.
615         * nptl/test-rwlock-printers.py: Adapt.
616         * nptl/test-rwlockattr-printers.c: Adapt.
617         * nptl/test-rwlockattr-printers.py: Adapt.
619 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
621         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
622         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
623         (fma_test_data): Likewise.
624         (hypot_test_data): Likewise.
625         (log1p_test_data): Likewise.
626         (modf_test_data): Likewise.
627         (pow_test_data): Likewise.
628         (remainder_test_data): Likewise.
629         (remquo_test_data): Likewise.
630         (scalb_test_data): Likewise.
631         (scalbn_test_data): Likewise.
632         (scalbln_test_data): Likewise.
633         * math/gen-libm-test.pl (parse_args): Transform
634         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
635         on the rounding mode.
637 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
639         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
640         xfail-rounding:ibm128-libgcc automatically to tests overflowing
641         and those that can underflow to zero.
642         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
643         add others.
644         * math/auto-libm-test-out: Regenerated.
646         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
647         supported.
648         (feholdexcept_tests): Skip tests requiring exceptions or rounding
649         modes support if not supported.
651         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
652         Add libc.so PLT entry.
653         (__tls_get_addr): Make ld.so PLT entry optional.
655 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
657         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
658         * string/bits/string3.h: ... here.
660 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
662         [BZ #21028]
663         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
664         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
665         if EXCEPTION_TESTS returns false.
667 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
669         [BZ #20558]
670         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
671         strings_fortified.h.
672         [__USE_MISC] (bzero): Likewise.
673         [__USE_MISC] (explicit_bzero): Likewise.
674         * string/strings.h: Include strings_fortified.h.
675         * string/Makefile (headers): Add strings_fortified.h.
676         * string/bits/strings_fortified.h: New file.
677         * include/bits/strings_fortified.h: Likewise.
679 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
681         * elf/tst-tls13.c (TIMEOUT): Remove.
682         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
683         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
684         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
685         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
686         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
688         [BZ #21026]
689         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
690         (readahead): New syscall entry.
692 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
694         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
695         around tests of strncat with large sizes.
697         * malloc/tst-malloc.c: Include <libc-internal.h>.
698         (do_test): Disable -Walloc-size-larger-than= around tests of
699         malloc with negative sizes.
700         * malloc/tst-mcheck.c: Include <libc-internal.h>.
701         (do_test): Disable -Walloc-size-larger-than= around tests of
702         malloc and realloc with negative sizes.
703         * malloc/tst-realloc.c: Include <libc-internal.h>.
704         (do_test): Disable -Walloc-size-larger-than= around tests of
705         realloc with negative sizes.
707         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
708         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
709         allowed to 16 ulps.
710         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
711         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
712         * math/auto-libm-test-out: Regenerated.
714 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
716         * math/Makefile (libm-calls): Move wrappers...
717         (libm-compat-call-auto): Here.
718         (libm-routines): Add items in libm-compat-calls-auto.
719         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
720         the filenames of the wrappers that have been renamed.
721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
724         * math/w_acos.c: Add _compat suffix to filename.
725         * math/w_acosf.c: Likewise.
726         * math/w_acosh.c: Likewise.
727         * math/w_acoshf.c: Likewise.
728         * math/w_acoshl.c: Likewise.
729         * math/w_acosl.c: Likewise.
730         * math/w_asin.c: Likewise.
731         * math/w_asinf.c: Likewise.
732         * math/w_asinl.c: Likewise.
733         * math/w_atan2.c: Likewise.
734         * math/w_atan2f.c: Likewise.
735         * math/w_atan2l.c: Likewise.
736         * math/w_atanh.c: Likewise.
737         * math/w_atanhf.c: Likewise.
738         * math/w_atanhl.c: Likewise.
739         * math/w_cosh.c: Likewise.
740         * math/w_coshf.c: Likewise.
741         * math/w_coshl.c: Likewise.
742         * math/w_exp10.c: Likewise.
743         * math/w_exp10f.c: Likewise.
744         * math/w_exp10l.c: Likewise.
745         * math/w_exp2.c: Likewise.
746         * math/w_exp2f.c: Likewise.
747         * math/w_exp2l.c: Likewise.
748         * math/w_fmod.c: Likewise.
749         * math/w_fmodf.c: Likewise.
750         * math/w_fmodl.c: Likewise.
751         * math/w_hypot.c: Likewise.
752         * math/w_hypotf.c: Likewise.
753         * math/w_hypotl.c: Likewise.
754         * math/w_j0.c: Likewise.
755         * math/w_j0f.c: Likewise.
756         * math/w_j0l.c: Likewise.
757         * math/w_j1.c: Likewise.
758         * math/w_j1f.c: Likewise.
759         * math/w_j1l.c: Likewise.
760         * math/w_jn.c: Likewise.
761         * math/w_jnf.c: Likewise.
762         * math/w_jnl.c: Likewise.
763         * math/w_log10.c: Likewise.
764         * math/w_log10f.c: Likewise.
765         * math/w_log10l.c: Likewise.
766         * math/w_log2.c: Likewise.
767         * math/w_log2f.c: Likewise.
768         * math/w_log2l.c: Likewise.
769         * math/w_log.c: Likewise.
770         * math/w_logf.c: Likewise.
771         * math/w_logl.c: Likewise.
772         * math/w_pow.c: Likewise.
773         * math/w_powf.c: Likewise.
774         * math/w_powl.c: Likewise.
775         * math/w_remainder.c: Likewise.
776         * math/w_remainderf.c: Likewise.
777         * math/w_remainderl.c: Likewise.
778         * math/w_scalb.c: Likewise.
779         * math/w_scalbf.c: Likewise.
780         * math/w_scalbl.c: Likewise.
781         * math/w_sinh.c: Likewise.
782         * math/w_sinhf.c: Likewise.
783         * math/w_sinhl.c: Likewise.
784         * math/w_sqrt.c: Likewise.
785         * math/w_sqrtf.c: Likewise.
786         * math/w_sqrtl.c: Likewise.
787         * math/w_tgamma.c: Likewise.
788         * math/w_tgammaf.c: Likewise.
789         * math/w_tgammal.c: Likewise.
791         * math/w_acos_compat.c: New file copied from above and
792         adjusted for new #includes path
793         * math/w_acosf_compat.c: Likewise.
794         * math/w_acosh_compat.c: Likewise.
795         * math/w_acoshf_compat.c: Likewise.
796         * math/w_acoshl_compat.c: Likewise.
797         * math/w_acosl_compat.c: Likewise.
798         * math/w_asin_compat.c: Likewise.
799         * math/w_asinf_compat.c: Likewise.
800         * math/w_asinl_compat.c: Likewise.
801         * math/w_atan2_compat.c: Likewise.
802         * math/w_atan2f_compat.c: Likewise.
803         * math/w_atan2l_compat.c: Likewise.
804         * math/w_atanh_compat.c: Likewise.
805         * math/w_atanhf_compat.c: Likewise.
806         * math/w_atanhl_compat.c: Likewise.
807         * math/w_cosh_compat.c: Likewise.
808         * math/w_coshf_compat.c: Likewise.
809         * math/w_coshl_compat.c: Likewise.
810         * math/w_exp10_compat.c: Likewise.
811         * math/w_exp10f_compat.c: Likewise.
812         * math/w_exp10l_compat.c: Likewise.
813         * math/w_exp2_compat.c: Likewise.
814         * math/w_exp2f_compat.c: Likewise.
815         * math/w_exp2l_compat.c: Likewise.
816         * math/w_fmod_compat.c: Likewise.
817         * math/w_fmodf_compat.c: Likewise.
818         * math/w_fmodl_compat.c: Likewise.
819         * math/w_hypot_compat.c: Likewise.
820         * math/w_hypotf_compat.c: Likewise.
821         * math/w_hypotl_compat.c: Likewise.
822         * math/w_j0_compat.c: Likewise.
823         * math/w_j0f_compat.c: Likewise.
824         * math/w_j0l_compat.c: Likewise.
825         * math/w_j1_compat.c: Likewise.
826         * math/w_j1f_compat.c: Likewise.
827         * math/w_j1l_compat.c: Likewise.
828         * math/w_jn_compat.c: Likewise.
829         * math/w_jnf_compat.c: Likewise.
830         * math/w_jnl_compat.c: Likewise.
831         * math/w_log10_compat.c: Likewise.
832         * math/w_log10f_compat.c: Likewise.
833         * math/w_log10l_compat.c: Likewise.
834         * math/w_log2_compat.c: Likewise.
835         * math/w_log2f_compat.c: Likewise.
836         * math/w_log2l_compat.c: Likewise.
837         * math/w_log_compat.c: Likewise.
838         * math/w_logf_compat.c: Likewise.
839         * math/w_logl_compat.c: Likewise.
840         * math/w_pow_compat.c: Likewise.
841         * math/w_powf_compat.c: Likewise.
842         * math/w_powl_compat.c: Likewise.
843         * math/w_remainder_compat.c: Likewise.
844         * math/w_remainderf_compat.c: Likewise.
845         * math/w_remainderl_compat.c: Likewise.
846         * math/w_scalb_compat.c: Likewise.
847         * math/w_scalbf_compat.c: Likewise.
848         * math/w_scalbl_compat.c: Likewise.
849         * math/w_sinh_compat.c: Likewise.
850         * math/w_sinhf_compat.c: Likewise.
851         * math/w_sinhl_compat.c: Likewise.
852         * math/w_sqrt_compat.c: Likewise.
853         * math/w_sqrtf_compat.c: Likewise.
854         * math/w_sqrtl_compat.c: Likewise.
855         * math/w_tgamma_compat.c: Likewise.
856         * math/w_tgammaf_compat.c: Likewise.
857         * math/w_tgammal_compat.c: Likewise.
859         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
860         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
861         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
862         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
863         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
864         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
865         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
866         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
867         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
868         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
869         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
870         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
871         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
872         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
873         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
874         * sysdeps/ia64/fpu/w_powl.c: Likewise.
875         * sysdeps/ia64/fpu/w_powf.c: Likewise.
876         * sysdeps/ia64/fpu/w_pow.c: Likewise.
877         * sysdeps/ia64/fpu/w_logl.c: Likewise.
878         * sysdeps/ia64/fpu/w_logf.c: Likewise.
879         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
880         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
881         * sysdeps/ia64/fpu/w_log2.c: Likewise.
882         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
883         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
884         * sysdeps/ia64/fpu/w_log10.c: Likewise.
885         * sysdeps/ia64/fpu/w_log.c: Likewise.
886         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
887         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
888         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
889         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
890         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
891         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
892         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
893         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
894         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
895         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
896         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
897         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
898         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
899         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
900         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
901         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
902         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
903         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
904         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
905         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
906         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
907         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
908         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
909         * sysdeps/ia64/fpu/w_asin.c: Likewise.
910         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
911         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
912         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
913         * sysdeps/ia64/fpu/w_acos.c: Likewise.
914         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
915         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
916         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
917         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
918         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
919         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
920         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
921         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
922         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
923         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
924         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
925         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
926         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
927         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
928         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
929         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
930         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
931         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
932         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
933         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
934         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
935         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
936         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
937         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
938         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
939         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
940         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
941         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
942         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
943         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
944         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
945         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
946         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
947         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
948         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
949         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
950         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
951         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
952         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
953         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
954         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
955         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
956         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
957         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
958         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
960         Likewise.
961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
962         Likewise.
963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
965         Likewise.
966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
967         Likewise.
968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
969         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
970         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
971         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
972         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
973         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
974         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
979         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
980         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
981         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
982         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
984         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
985         and adjusted for new #includes path
986         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
987         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
988         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
989         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
990         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
991         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
992         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
993         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
994         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
995         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
996         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
997         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
998         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
999         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
1000         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
1001         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
1002         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
1003         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
1004         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
1005         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
1006         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
1007         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
1008         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
1009         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
1010         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
1011         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
1012         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
1013         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
1014         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
1015         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
1016         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
1017         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
1018         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
1019         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
1020         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
1021         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
1022         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
1023         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
1024         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
1025         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
1026         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
1027         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
1028         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
1029         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
1030         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
1031         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
1032         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
1033         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
1034         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
1035         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
1036         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
1037         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
1038         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
1039         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
1040         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
1041         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
1042         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
1043         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
1044         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
1045         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
1046         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
1047         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
1048         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
1049         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
1050         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
1051         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
1052         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
1053         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
1054         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
1055         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
1056         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
1057         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
1058         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
1059         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
1060         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
1061         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
1062         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
1063         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
1064         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
1065         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
1066         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
1067         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1068         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1069         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1070         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1071         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1072         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1073         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1074         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1075         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
1076         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1077         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1078         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1079         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1080         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1081         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1082         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1083         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1084         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1085         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1086         Likewise.
1087         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1088         Likewise.
1089         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1090         Likewise.
1091         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1092         Likewise.
1093         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1094         Likewise.
1095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1096         Likewise.
1097         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1098         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1099         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1100         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1101         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1102         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1104         Likewise.
1105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1106         Likewise.
1107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1108         Likewise.
1109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1110         Likewise.
1111         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1112         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1113         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1114         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1116 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
1118         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1119         __jmp_buf_internal_tag.
1121         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1122         preserve NaN payload if [__mips_nan2008].
1123         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1125         [BZ #21022]
1126         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1128 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1130         * sysdeps/i386/fpu/libm-test-ulps: Update.
1132 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1134         * sysdeps/ia64/strcat.c: Remove file.
1135         * sysdeps/powerpc/strcat.c: Likewise.
1136         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
1137         C implementation.
1138         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
1139         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
1141 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1142             Steven Munroe  <sjmunroe@us.ibm.com>
1143             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1145         [BZ #20822]
1146         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1147         (__lll_lock_elision): Access adapt_count via C11 atomics.
1148         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1149         (__lll_trylock_elision): Likewise.
1150         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1151         (__lll_unlock_elision):  Update adapt_count variable inside the
1152         critical section using C11 atomics.
1154 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1156         * math/test-fenvinline.c (do_test): Disable tests of raised
1157         exceptions if !EXCEPTION_TESTS (FLOAT).
1159 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1161         [BZ #19390]
1162         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
1163         maximum string size.
1164         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
1165         in pointer addition.
1166         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
1167         Likewise.
1169 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
1171         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
1172         passed to tst-ldconfig-X.sh.
1174 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
1176         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
1178 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
1180         [BZ #21019]
1181         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
1182         New syscall entry.
1183         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
1184         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
1185         lseek.
1187         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1188         power4 glibc for powerpc-linux-gnu.
1190 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1192         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
1193         semctl.
1195 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
1197         * math/test-nearbyint-except.c: Include <stdbool.h>.
1198         (any_supported): New variable.
1199         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
1200         set any_supported.
1201         (do_test): Return 77 if no floating-point type supported
1202         exceptions.
1204         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
1205         condition on [__mips_hard_float].
1207 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1209         [BZ #21014]
1210         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
1211         in pointer addition.
1212         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
1214 2017-01-02  Torvald Riegel  <triegel@redhat.com>
1216         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
1217         new condvar.
1219 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
1221         * scripts/build-many-glibcs.py (Context.checkout): Default
1222         binutils version to 2.28 branch.
1224 2017-01-01  Florian Weimer  <fweimer@redhat.com>
1226         * support/support_format_netent.c (support_format_netent): Work
1227         around alpha struct netent definition difference.
1229 2017-01-01  Florian Weimer  <fweimer@redhat.com>
1231         * support/xwrite.c (xwrite): Use %td for pointer difference.
1233 2017-01-01  Florian Weimer  <fweimer@redhat.com>
1235         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
1236         have-tunables only.
1237         (tests-static): Add tst-malloc-usable-static-tunables for
1238         have-tunables only.
1240 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
1242         * scripts/config.guess: Update to version 2017-01-01.
1243         * scripts/config.sub: Update to version 2017-01-01.
1245         * NEWS: Update copyright dates.
1246         * catgets/gencat.c (print_version): Likewise.
1247         * csu/version.c (banner): Likewise.
1248         * debug/catchsegv.sh: Likewise.
1249         * debug/pcprofiledump.c (print_version): Likewise.
1250         * debug/xtrace.sh (do_version): Likewise.
1251         * elf/ldconfig.c (print_version): Likewise.
1252         * elf/ldd.bash.in: Likewise.
1253         * elf/pldd.c (print_version): Likewise.
1254         * elf/sotruss.sh: Likewise.
1255         * elf/sprof.c (print_version): Likewise.
1256         * iconv/iconv_prog.c (print_version): Likewise.
1257         * iconv/iconvconfig.c (print_version): Likewise.
1258         * locale/programs/locale.c (print_version): Likewise.
1259         * locale/programs/localedef.c (print_version): Likewise.
1260         * login/programs/pt_chown.c (print_version): Likewise.
1261         * malloc/memusage.sh (do_version): Likewise.
1262         * malloc/memusagestat.c (print_version): Likewise.
1263         * malloc/mtrace.pl: Likewise.
1264         * manual/libc.texinfo: Likewise.
1265         * nptl/version.c (banner): Likewise.
1266         * nscd/nscd.c (print_version): Likewise.
1267         * nss/getent.c (print_version): Likewise.
1268         * nss/makedb.c (print_version): Likewise.
1269         * posix/getconf.c (main): Likewise.
1270         * scripts/test-installation.pl: Likewise.
1271         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1273         * All files with FSF copyright notices: Update copyright dates
1274         using scripts/update-copyrights.
1275         * intl/plural.c: Regenerated.
1276         * locale/programs/charmap-kw.h: Likewise.
1277         * locale/programs/locfile-kw.h: Likewise.
1279 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1281         [BZ #20593]
1282         Update DNS RR type definitions.
1283         * scripts/gen-rrtypes.py: New file.
1284         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
1285         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
1286         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
1287         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
1288         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
1289         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
1290         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
1291         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
1292         ns_t_ta, ns_t_dlv.
1293         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
1294         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
1295         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
1296         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
1297         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
1298         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
1299         Define.
1300         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
1301         entry for ns_t_zxfr.
1303 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1305         [BZ #18784]
1306         CVE-2015-5180
1307         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1308         T_UNSPEC.  Adjust value.
1309         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1310         * resolv/res_query.c (__libc_res_nquery): Likewise.
1311         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1312         QTYPEs.
1313         * resolv/tst-resolv-qtypes.c: New file.
1314         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1315         (tst-resolv-qtypes): Link against libresolv and libpthread.
1317 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1319         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1321 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1323         * manual/tunables.texi: New chapter.
1324         * manual/Makefile (chapters): Add it.
1325         * manual/probes.texi (@node): Point to the Tunables chapter.
1327         * Makeconfig (have-tunables): Check for non-negative instead
1328         of positive.
1329         * configure.ac: Add 'valstring' as a valid value for
1330         --enable-tunables.
1331         * configure: Regenerate.
1332         * elf/Makefile (have-tunables): Check for non-negative instead
1333         of positive.
1334         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1335         dl-tunables.c.
1336         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1337         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1338         (tunables_strdup): Likewise.
1339         (disable_tunables): Likewise.
1340         (parse_tunables): Likewise.
1341         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1342         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1343         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1344         (TUNABLES_FRONTEND_yes): New macro, define as
1345         TUNABLES_FRONTEND_valstring by default.
1346         * manual/install.texi: Document new acceptable values for
1347         --enable-tunables.
1348         * INSTALL: Regenerate.
1350         * config.make.in (have-loop-to-function): Define.
1351         * elf/Makefile (CFLAGS-dl-tunables.c): Add
1352         -fno-tree-loop-distribute-patterns.
1353         * elf/dl-tunables.c: Include libc-internals.h.
1354         (GLIBC_TUNABLES): New macro.
1355         (tunables_strdup): New function.
1356         (parse_tunables): New function.
1357         (min_strlen): New function.
1358         (__tunables_init): Use the new functions and macro.
1359         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1360         * malloc/tst-malloc-usable-tunables.c: New test case.
1361         * malloc/tst-malloc-usable-static-tunables.c: New test case.
1362         * malloc/Makefile (tests, tests-static): Add tests.
1364         * manual/install.texi: Add --enable-tunables option.
1365         * INSTALL: Regenerate.
1366         * README.tunables: New file.
1367         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1368         (before-compile): Generate dl-tunable-list.h early.
1369         * config.h.in: Add HAVE_TUNABLES.
1370         * config.make.in: Add have-tunables.
1371         * configure.ac: Add --enable-tunables option.
1372         * configure: Regenerate.
1373         * csu/init-first.c (__libc_init_first): Move
1374         __libc_init_secure earlier...
1375         * csu/init-first.c (LIBC_START_MAIN):... to here.
1376         Include dl-tunables.h, libc-internal.h.
1377         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1378         binaries.
1379         * elf/Makefile (dl-routines): Add dl-tunables.
1380         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1381         namespace.
1382         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1383         only when !HAVE_TUNABLES.
1384         * elf/rtld.c (process_envvars): Likewise.
1385         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1386         (_dl_sysdep_start): Call __tunables_init.
1387         * elf/dl-tunable-types.h: New file.
1388         * elf/dl-tunables.c: New file.
1389         * elf/dl-tunables.h: New file.
1390         * elf/dl-tunables.list: New file.
1391         * malloc/tst-malloc-usable-static.c: New test case.
1392         * malloc/Makefile (tests-static): Add it.
1393         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1394         Define TUNABLE_NAMESPACE.
1395         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1396         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
1397         callback functions.
1398         (ptmalloc_init): Set tunable values.
1399         * scripts/gen-tunables.awk: New file.
1400         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1401         (_dl_sysdep_start): Call __tunables_init.
1403 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1405         * resolv/resolv.h (RES_BLAST): Deprecate.
1406         * resolv/res_debug.c (p_option): Remove RES_BLAST.
1407         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1408         to RES_BLAST.
1410 2016-12-27  Florian Weimer  <fweimer@redhat.com>
1412         [BZ #19582]
1413         Deprecate RES_USE_INET6.
1414         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1415         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1416         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1417         RES_USE_INET6.
1418         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1419         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1420         (_nss_nisplus_gethostbyaddr_r): Likewise.
1421         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1422         of res_use_inet6.
1423         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1424         instead of RES_USE_INET6.
1425         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1426         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1427         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1428         Likewise.
1429         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1430         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1431         Likewise.
1432         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1433         (_nss_dns_gethostbyname_r): Likewise.
1434         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1435         alternate RES_USE_INET6 handling.
1436         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1437         instead of RES_USE_INET6.
1438         * resolv/res_init.c (res_setoptions): Likewise.
1439         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1440         * resolv/resolv-internal.h: New file.
1441         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1442         make the deprecation warning non-fatal.
1443         * resolv/README (Using the resolver in multi-threaded code): Drop
1444         reference to RES_USE_INET6.
1445         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1446         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1448 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1450         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1451         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1452         tst-resolv-search.
1453         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1454         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1455         with libresolv and libpthread.
1456         * resolv/tst-bug18665.c: New file.
1457         * resolv/tst-bug18665-tcp: Likewise.
1458         * resolv/tst-res_use_inet6: Likewise.
1459         * resolv/tst-resolv-basic: Likewise.
1460         * resolv/tst-resolv-network: Likewise.
1461         * resolv/tst-resolv-search: Likewise.
1462         * support/Makefile (libsupport-routines): Add check_addrinfo,
1463         check_dns_packet, check_hostent, check_netent, resolv_test,
1464         support_format_address_family, support_format_addrinfo,
1465         support_format_dns_packet, support_format_herrno,
1466         support_format_hostent, support_format_netent, support_run_diff,
1467         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1468         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1469         xstrdup, xwrite.
1470         * support/check_addrinfo.c: New file.
1471         * support/check_dns_packet.c: Likewise.
1472         * support/check_hostent.c: Likewise.
1473         * support/check_netent.c: Likewise.
1474         * support/check_nss.h: Likewise.
1475         * support/format_nss.h: Likewise.
1476         * support/resolv_test.c: Likewise.
1477         * support/resolv_test.h: Likewise.
1478         * support/run_diff.h: Likewise.
1479         * support/support_format_address_family.c: Likewise.
1480         * support/support_format_addrinfo.c: Likewise.
1481         * support/support_format_dns_packet.c: Likewise.
1482         * support/support_format_herrno.c: Likewise.
1483         * support/support_format_hostent.c: Likewise.
1484         * support/support_format_netent.c: Likewise.
1485         * support/support_run_diff.c: Likewise.
1486         * support/xaccept.c: Likewise.
1487         * support/xbind.c: Likewise.
1488         * support/xconnect.c: Likewise.
1489         * support/xfclose.c: Likewise.
1490         * support/xfopen.c: Likewise.
1491         * support/xgetsockname.c: Likewise.
1492         * support/xlisten.c: Likewise.
1493         * support/xmemstream.c: Likewise.
1494         * support/xmemstream.h: Likewise.
1495         * support/xpoll.c: Likewise.
1496         * support/xpthread_once.c: Likewise.
1497         * support/xrecvfrom.c: Likewise.
1498         * support/xsendto.c: Likewise.
1499         * support/xsetsockopt.c: Likewise.
1500         * support/xstdio.h: Likewise.
1501         * support/xstrdup.c: Likewise.
1502         * support/support.h (xstrdup): Declare.
1503         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1504         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1505         * support/xthread.h (xpthread_once): Likwise.
1506         * support/xunistd.h (xwrite): Declare.
1508 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1510         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1511         (test_verbose): Declare.
1512         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1513         * support/support_test_main.c (default_options): Likewise.
1514         (usage, support_test_main): Handle 'v'.
1515         (test_verbose): Define.
1516         * support/tst-support_record_failure.c (do_test): Use
1517         test_verbose.
1518         * support/tst-support_record_failure-2.sh (different_status): Add
1519         --verbose test.
1521 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1523         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1524         test failures are recorded.
1525         * support/check.c (support_print_failure_impl): Call
1526         support_record_failure.
1527         (support_exit_failure_impl): Call support_record_failure if status
1528         indicates failure.
1529         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1530         * support/xasprintf.c (xasprintf): Likewise.
1531         * support/xfork.c (xfork): Likewise.
1532         * support/xpthread_check_return.c (xpthread_check_return):
1533         Likewise.
1534         * support/xsocket.c (xsocket): Likeweise.
1535         * support/xwaitpid.c (xwaitpid): Likewise.
1536         * support/support_record_failure.c (struct test_failures): Adjust
1537         to coding style.
1538         * support/support_test_verify_impl.c (support_test_verify_impl):
1539         Adjust error messages.
1540         * support/tst-support_record_failure-2.sh (different_status):
1541         Adjust error messages.
1543 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1545         * support/namespace.h: New file.
1546         * support/support_become_root.c: Likewise.
1547         * support/support_enter_network_namespace.c: Likewise.
1548         * support/tst-support-namespace.c: Likewise.
1549         * support/xsocket.c: Likewise.
1550         * support/xsocket.h: Likewise.
1551         * support/Makefile (libsupport-routines): Add support_become_root,
1552         support_enter_network_namespace, xsocket.
1553         (tests): Add tst-support-namespace.
1555 2016-12-31  Florian Weimer  <fweimer@redhat.com>
1557         [BZ #17252]
1558         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1559         __USE_GNU.
1561 2016-12-31  Torvald Riegel  <triegel@redhat.com>
1563         [BZ #13165]
1564         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1565         use new algorithm.
1566         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1567         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1568         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1569         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1570         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1571         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1572         __condvar_cleanup_waiting, __condvar_dec_grefs,
1573         __pthread_cond_wait_common): New.
1574         (__condvar_cleanup): Remove.
1575         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1576         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1577         Likewise.
1578         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1579         Likewise.
1580         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1581         * nptl/tst-cond1.c: Add comment.
1582         * nptl/tst-cond20.c (do_test): Adapt.
1583         * nptl/tst-cond22.c (do_test): Likewise.
1584         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1585         structure.
1586         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1587         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1588         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1589         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1590         Likewise.
1591         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1592         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1593         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1594         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1595         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1596         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1597         Likewise.
1598         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1599         Likewise.
1600         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1601         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1602         (COND_CLOCK_BITS): Adapt.
1603         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1604         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1605         __PTHREAD_COND_SHARED_MASK): New.
1606         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1607         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1608         * nptl/nptl_lock_constants.pysym: Adapt.
1609         * nptl/test-cond-printers.py: Adapt.
1610         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1611         cond_compat_check_and_clear): Adapt.
1612         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1613         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1614         (__pthread_cond_timedwait): ... and move here.
1615         * nptl/DESIGN-condvar.txt: Remove file.
1616         * nptl/lowlevelcond.sym: Likewise.
1617         * nptl/pthread_cond_timedwait.c: Likewise.
1618         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1619         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1620         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1621         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1622         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1623         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1624         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1625         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1626         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1627         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1628         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1629         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1630         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1631         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1632         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1633         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1635 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
1637         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1638         (fromfp): New declaration.
1639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1642         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1647         * math/math.h: Include <bits/types.h>.
1648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1649         constant and macro.
1650         (FP_INT_DOWNWARD): Likewise.
1651         (FP_INT_TOWARDZERO): Likewise.
1652         (FP_INT_TONEARESTFROMZERO): Likewise.
1653         (FP_INT_TONEAREST): Likewise.
1654         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1655         (fromfpf): Likewise.
1656         (fromfpl): Likewise.
1657         (ufromfp): Likewise.
1658         (ufromfpf): Likewise.
1659         (ufromfpl): Likewise.
1660         (fromfpx): Likewise.
1661         (fromfpxf): Likewise.
1662         (fromfpxl): Likewise.
1663         (ufromfpx): Likewise.
1664         (ufromfpxf): Likewise.
1665         (ufromfpxl): Likewise.
1666         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1667         s_fromfpxF and s_ufromfpxF.
1668         * math/gen-fromfp-tests.py: New file.
1669         * math/gen-fromfp-tests-inputs: Likewise.
1670         * math/libm-test.inc: Include <stdint.h>
1671         (check_intmax_t): New function.
1672         (check_uintmax_t): Likewise.
1673         (struct test_fiu_M_data): New type.
1674         (struct test_fiu_U_data): Likewise.
1675         (RUN_TEST_fiu_M): New macro.
1676         (RUN_TEST_LOOP_fiu_M): Likewise.
1677         (RUN_TEST_fiu_U): Likewise.
1678         (RUN_TEST_LOOP_fiu_U): Likewise.
1679         (fromfp_test_data): New array.
1680         (fromfp_test): New function.
1681         (fromfpx_test_data): New array.
1682         (fromfpx_test): New function.
1683         (ufromfp_test_data): New array.
1684         (ufromfp_test): New function.
1685         (ufromfpx_test_data): New array.
1686         (ufromfpx_test): New function.
1687         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1688         ufromfpx_test.
1689         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1690         characters.
1691         * math/test-tgmath-ret.c: Include <stdint.h>.
1692         (rm): New variable.
1693         (width): Likewise.
1694         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1695         called function.
1696         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1697         CHECK_RET_CONST_TYPE.
1698         (CHECK_RET_CONST_DOUBLE): Likewise.
1699         (CHECK_RET_CONST_LDOUBLE): Likewise.
1700         (CHECK_RET_CONST): Take extra arguments and pass them to calls
1701         macros.
1702         (fromfp): New CHECK_RET_CONST call.
1703         (ufromfp): Likewise.
1704         (fromfpx): Likewise.
1705         (ufromfpx): Likewise.
1706         (do_test): Call check_return_fromfp, check_return_ufromfp,
1707         check_return_fromfpx and check_return_ufromfpx.
1708         * math/test-tgmath.c: Include <stdint.h>
1709         (NCALLS): Increase to 138.
1710         (F(compile_test)): Initialize i.  Call fromfp functions.
1711         (F(fromfp)): New function.
1712         (F(fromfpx)): Likewise.
1713         (F(ufromfp)): Likewise.
1714         (F(ufromfpx)): Likewise.
1715         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1716         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1717         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1718         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1719         ufromfpxl.
1720         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1721         ufromfp and ufromfpx.
1722         * math/fromfp.h: New file.
1723         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1724         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1725         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1726         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1727         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1728         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1729         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1730         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1731         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1732         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1733         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1734         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1735         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1736         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1737         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1738         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1739         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1740         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1741         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1742         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1743         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1744         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1745         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1746         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1747         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1748         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1749         ufromfp, fromfpx and ufromfpx.
1750         (CFLAGS-nldbl-fromfp.c): New variable.
1751         (CFLAGS-nldbl-fromfpx.c): Likewise.
1752         (CFLAGS-nldbl-ufromfp.c): Likewise.
1753         (CFLAGS-nldbl-ufromfpx.c): Likewise.
1754         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1755         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1756         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1757         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1758         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1759         * sysdeps/nacl/libm.abilist: Update.
1760         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1761         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1762         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1763         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1764         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1765         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1766         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1767         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1768         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1769         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1770         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1771         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1773         Likewise.
1774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1775         Likewise.
1776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1777         Likewise.
1778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1779         Likewise.
1780         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1781         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1782         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1783         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1784         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1786         Likewise.
1787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1788         Likewise.
1789         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1790         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1791         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1793 2016-12-30  Florian Weimer  <fweimer@redhat.com>
1795         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1796         compat-gethnamaddr.
1797         (CPPFLAGS): Remove.
1798         * resolv/gethnamaddr.c: Rename ...
1799         * resolv/compat-gethnamaddr.c: ... to this file.
1800         (_endhtent): Make static.
1801         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
1802         symbol.
1803         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
1804         compat symbol.
1805         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
1806         symbol.
1807         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1808         Turn into compat symbol.
1809         * include/resolv.h (_endhtent): Remove declaration.
1811 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
1813         * bits/types.h (__intmax_t): New typedef.
1814         (__uintmax_t): Likewise.
1815         * sysdeps/generic/stdint.h: Include <bits/types.h>.
1816         (intmax_t): Define using __intmax_t.
1817         (uintmax_t): Define using __uintmax_t.
1819         * support/Makefile (tests-special): Make definition conditional on
1820         [$(run-built-tests) = yes].
1821         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1822         on [$(run-built-tests) = yes].
1824 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1826         * Rules (tests): Add tests-printers-programs to tests to be
1827         built.
1829 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1831         * sysvipc/Makefile (tests): Add test-sysvshm.
1832         * sysvipc/test-sysvshm.c: New file.
1834         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1835         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1836         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1837         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1838         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1839         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1840         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1841         Likewise.
1842         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1843         Likewise.
1844         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1845         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1846         is defined.
1848         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1849         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1850         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1851         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1852         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1853         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1854         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1855         Likewise.
1856         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1857         Likewise.
1858         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1859         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1860         defined.
1862         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1863         oldshmctl.
1864         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1865         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1866         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1867         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1868         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1869         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1870         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1871         Likewise.
1872         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1873         Likewise.
1874         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1875         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1876         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1877         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1878         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1879         implementation.
1880         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1881         if it is defined.
1883         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1884         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1885         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1886         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1887         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1888         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1889         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1890         Likewise.
1891         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1892         Likewise.
1893         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1894         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1895         Define to __NR_osf_shmat.
1896         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1897         defined.
1899         * sysvipc/Makefile (tests): Add test-sysvsem.
1900         * sysvipc/test-sysvsem.c: New file.
1902         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1903         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1904         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1905         Likewise.
1906         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1907         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1908         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1909         Likewise.
1910         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1911         Likewise.
1912         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1913         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1914         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1915         add a comment about s390 syscall difference from default one.
1916         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1917         syscall if it is defined.
1919         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1920         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1921         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1922         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1923         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1924         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1925         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1926         Likewise.
1927         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1928         Likewise.
1929         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1930         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1931         defined.
1933         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1934         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1935         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1936         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1937         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1938         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1939         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1940         Likewise.
1941         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1942         Likewise.
1943         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1944         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1945         if it is defined.
1947         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1948         oldsemctl.
1949         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1950         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1951         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1952         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1953         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1954         implementation.
1955         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1956         syscall if it is defined.
1957         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1958         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1959         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1960         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1961         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1962         Likewise.
1963         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1965         * sysvipc/Makefile (tests): Add test-sysvmsg.
1966         * sysvipc/test-sysvmsg.c: New file.
1967         * support/check.h (FAIL_UNSUPPORTED): New define.
1969         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1970         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1971         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1972         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1973         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1974         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1975         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1976         Likewise.
1977         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1978         Likewise.
1979         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1980         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1981         define.
1983         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1984         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1985         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1986         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1987         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1988         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1989         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1990         Likewise.
1991         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1992         Likewise.
1993         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1994         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1995         if defined.
1997         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1998         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1999         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2000         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2001         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2002         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
2003         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2004         Likewise.
2005         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
2006         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
2007         Likewise.
2008         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
2009         if defined.
2010         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
2012         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
2013         oldmsgctl.
2014         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
2015         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
2016         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
2017         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
2018         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
2019         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
2020         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
2021         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
2022         Likewise.
2023         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
2024         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
2025         implementation.
2026         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
2027         if defined.
2029         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
2030         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
2031         definition and define its own.
2032         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
2033         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
2034         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
2035         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
2036         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
2037         definitions to common header.
2038         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
2039         operation from ipc_ops.h.
2041         * sysdeps/unix/sysv/linux/kernel-features.h
2042         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
2043         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2044         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
2045         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2046         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2048         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2050         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2051         * sysdeps/unix/sysv/linux/s390/kernel-features.h
2052         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2053         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2054         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2055         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2056         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
2058 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2060         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
2061         overflow in pointer addition.
2063 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2065         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2066         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
2067         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2068         (strchr): Add __strchr_power8 to list of strchr functions.
2069         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
2070         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
2071         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
2072         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
2073         (strchr): Add __strchr_power8 to ifunc list.
2074         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
2075         (__strchrnul): Add __strchrnul_power8 to ifunc list.
2076         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2077         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2079 2016-12-28  Florian Weimer  <fweimer@redhat.com>
2081         * support/Makefile (libsupport-routines): Add
2082         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2083         (tests): Add tst-support_record_failure.
2084         (tests-special): tst-support_record_failure-2.
2085         (tst-support_record_failure-2.out): Depend on
2086         tst-support_record_failure-2.sh and tst-support_record_failure.
2087         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2088         (support_test_verify_impl, support_record_failure)
2089         (support_report_failure, support_report_failure_reset): Declare.
2090         * support/support_test_main.c (adjust_exit_status): New function.
2091         (support_test_main): Call it to incorporate record test failures.
2092         * support/support_test_verify_impl.c: New file.
2093         * support/support_record_failure.c: Likewise.
2094         * support/tst-support_record_failure.c: Likewise.
2095         * support/tst-support_record_failure-2.sh: Likewise.
2096         * support/xunistd.h: Likewise.
2097         * support/xfork.c: Likewise.
2098         * support/xwaitpid.c: Likewise.
2100 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
2102         * scripts/check-c++-types.sh: Add comments.
2104 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
2106         [BZ #19514]
2107         * resolv/res_send.c: Fix typo in comment.
2108         * sysdeps/i386/i386-mcount.S: Likewise.
2109         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2110         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2111         * sysdeps/sparc/sparc-mcount.S: Likewise.
2113 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2115         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2116         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2117         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2118         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2119         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2120         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2121         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2122         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2124 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2126         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2128 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2130         [BZ #17252]
2131         * posix/unistd.h (getentropy): Declare.
2133 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2135         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2136         Remove.
2137         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
2138         (cmd): Remove spoof, nospoof, spoofalert.
2139         (parse_line): Ignore spoof-related lines.
2140         (do_init): Do not process RESOLV_SPOOF_CHECK.
2142 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2144         [BZ #20964]
2145         sunrpc: Always obtain AF_INET addresses from NSS.
2146         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
2147         * sunrpc/rpc_gethostbyname.c: New file.
2148         * sunrpc/Makefile (routines): Add it.
2149         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
2150         * sunrpc/clnt_simp.c (callrpc): Likewise.
2151         * sunrpc/getrpcport.c (getrpcport): Likewise.
2153 2016-12-27  Florian Weimer  <fweimer@redhat.com>
2155         * sunrpc/rpcinfo.c: Remove.
2156         * sunrpc/Makefile: Remove comments referring to rpcinfo.
2158 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2160         [BZ# 19387]
2161         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
2162         addition.
2163         * string/test-memchr.c (do_test): Remove alignment limitation.
2164         (test_main): Add test that trigger BZ# 19387.
2166 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2168         [BZ #7065]
2169         Enable stack protectore if requested by ./configure.
2170         * Makeconfig (+stack-protector): New variable.
2171         (+cflags): Use it.
2173 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2175         [BZ #7065]
2176         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
2177         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
2178         (__rt_sigreturn_stub): Use inhibit_stack_protector.
2179         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2180         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
2182 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2184         [BZ #7065]
2185         * login/Makefile (pt_chown-cflags): Remove.
2186         * nscd/Makefile (CFLAGS-nscd): Likewise.
2187         * resolv/Makefile (CFLAGS-libresolv): Likewise.
2189 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2191         [BZ #7065]
2192         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
2193         non-libc-linking testcase.
2195 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2196             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2197             Florian Weimer  <fweimer@redhat.com>
2199         [BZ #7065]
2200         PLT avoidance for __stack_chk_fail*.
2201         * debug/Makefile (CFLAGS-stack_chk_fail.c)
2202         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
2203         * debug/stack_chk_fail.c (__stack_chk_fail): Add
2204         __stack_chk_fail_local alias.
2205         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
2206         (__stack_chk_fail): Turn into hidden reference to
2207         __stack_chk_fail_local.
2209 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2211         [BZ #7065]
2212         * configure.ac: Add check for unsupported stack-protection level.
2213         (libc_cv_predef_stack_protector): Remove.
2214         (no_ssp): New variable.
2215         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
2216         (stack_protector): Set to -fno-stack-protector similarly.
2217         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
2218         (libc_cv_asm_set_directive): Likewise.
2219         (libc_cv_protected_data): Likewise.
2220         (libc_cv_z_combreloc): Likewise.
2221         (libc_cv_hashstyle): Likewise.
2222         (libc_cv_has_glob_dat): Likewise.
2223         (libc_cv_output_format): Likewise.
2224         (libc_cv_output_format): Likewise.
2225         (libc_cv_ehdr_start): Likewise.
2226         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
2227         (LIBC_LINKER_FEATURE): Likewise.
2228         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
2230 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2232         [BZ #7065]
2233         * elf/Makefile (dummy-stack-chk-fail): New.
2234         (librtld.map): Use it.
2236 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2238         [BZ #7065]
2239         Compile the dynamic linker without stack protection.
2240         * elf/Makefile (elide-stack-protector): New.
2241         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
2242         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
2243         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
2244         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
2246 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2248         [BZ #7065]
2249         * config.make.in (have-ssp, no-stack-protector): New.
2250         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
2251         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
2252         (CFLAGS-sbrk.op): Likewise.
2253         (CFLAGS-brk.o): Likewise.
2254         (CFLAGS-brk.op): Likewise.
2255         * string/Makefile (CFLAGS-memcpy.c): Likewise.
2256         (CFLAGS-wordcopy.c): Likewise.
2258 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2260         [BZ #7065]
2261         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
2262         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
2263         * include/libc-symbols.h (inhibit_stack_protector): New macro.
2264         (__ifunc_resolver): Use it.
2265         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
2266         inhibit_stack_protector.
2267         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
2268         * elf/ifuncmain7.c (foo_ifunc): Likewise.
2269         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
2270         (foo_protected_ifunc): Likewise.
2271         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
2272         (foo_protected_ifunc): Likewise.
2273         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2274         * sysdeps/nacl/nacl_interface_query.c
2275         (nacl_interface_query_ifunc): Likewise.
2276         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2277         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
2278         Likewise.
2279         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
2280         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
2281         the generated vDSO syscall resolver.
2283 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2284             Florian Weimer  <fweimer@redhat.com>
2286         [BZ #7065]
2287         Initialize the stack guard earlier when linking statically.
2288         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
2289         (__pthread_initialize_minimal): Declare.
2290         * csu/libc-start.c (__pthread_initialize_minimal): Remove
2291         declaration.
2292         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
2293         stack canary and apply_irel initialization up.  Call
2294         __pthread_initialize_minimal only if linked in.
2295         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
2296         constant values.
2297         (__pthread_initialize_minimal): Remove.
2298         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
2299         (__pthread_initialize_minimal_internal): Do not call
2300         __libc_setup_tls.
2302 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
2304         [BZ #7065]
2305         * configure.ac (libc_cv_ssp): Move up.
2306         (libc_cv_ssp_strong): Likewise.
2307         (libc_cv_ssp_all): New.
2308         (stack_protector): Augment, adding -fstack-protector-all.
2309         (no_stack_protector): New.
2310         (STACK_PROTECTOR_LEVEL): New.
2311         (AC_ARG_ENABLE(stack-protector)): New configure flag.
2312         * manual/install.texi (--enable-stack-protector): Document it.
2313         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2315 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
2317         * README.pretty-printers: Must specify CPPFLAGS-* also.
2318         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2319         (CPPFLAGS-test-mutex-printers.c): Define.
2320         (CPPFLAGS-test-condattr-printers.c): Define.
2321         (CPPFLAGS-test-cond-printers.c): Define.
2322         (CPPFLAGS-test-rwlockattr-printers.c): Define.
2323         (CPPFLAGS-test-rwlock-printers.c): Define.
2325         * nss/Makefile [ifeq (yes,$(have-thread-library))]
2326         (tests): Add tst-cancel-getpwuid_r.
2327         * nss/tst-cancel-getpwuid_r.c: New file.
2329         [BZ #11941]
2330         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2331         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2332         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2333         tst-nodelete-dlclose.
2334         (modules-names): Add tst-nodelete-dlclose-dso and
2335         tst-nodelete-dlclose-plugin.
2336         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2337         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2338         ($(objpfx)tst-nodelete-dlclose): Define.
2339         ($(objpfx)tst-nodelete-dlclose.out): Define.
2341 2016-12-23  Florian Weimer  <fweimer@redhat.com>
2343         * scripts/test_printers_common.py: Log GDB output in case of
2344         Python detection failure.
2346 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2348         * configure.ac: Check for python3 or python.
2349         * configure: Regenerated.
2350         * config.make.in (PYTHON): New variable.
2351         * benchtests/Makefile: Don't define PYTHON.
2352         (bench): Define target only if PYTHON was defined.
2353         * Rules: Don't define PYTHON.
2354         Define pretty printer targets only if PYTHON was defined.
2355         (tests-printers): Add to tests-unsupported if PYTHON is not
2356         found.
2357         (python-flags, python-invoke): Remove.
2358         (tests-printers-out): Use PYTHON instead of python-invoke.
2360 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2362         [BZ #20978]
2363         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2364         Compare name == NULL, not name != NULL.
2366         * manual/texinfo.tex: Update to version 2016-09-18.18 with
2367         trailing whitespace removed.
2368         * scripts/config.guess: Update to version 2016-10-02.
2369         * scripts/config.sub: Update to version 2016-11-19.
2370         * scripts/install-sh: Update to version 2016-01-11.22.
2371         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2372         * scripts/move-if-change: Update to version 2016-01-11 22:04.
2374 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
2376         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2377         (do_one_test) Restore original string so iteration works.
2378         * string/string-inlines.c (do_test): Create better input strings.
2379         (test_main) Reduce number of testruns.
2380         * string/string-inlines.c (__old_strsep_1c): New function.
2381         (__old_strsep_2c): Likewise.
2382         (__old_strsep_3c): Likewise.
2383         * string/strsep.c (__strsep): Remove case of small delim string.
2384         Call strcspn directly rather than strpbrk.
2385         * string/bits/string2.h (__strsep): Remove define.
2386         (__strsep_1c): Remove.
2387         (__strsep_2c): Remove.
2388         (__strsep_3c): Remove.
2389         (strsep): Remove.
2390         * sysdeps/unix/sysv/linux/internal_statvfs.c
2391         (__statvfs_getflags): Rename to __strsep.
2393 2016-12-21  Florian Weimer  <fweimer@redhat.com>
2395         * csu/libc-tls.c (_dl_tls_setup): Remove.
2396         * elf/dl-tls.c (_dl_tls_setup): Likewise.
2397         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2398         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2400 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2402         [BZ #7065]
2403         * sysdeps/x86_64/Makefile [$(subdir) = elf]
2404         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2406 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
2407             Florian Weimer  <fweimer@redhat.com>
2409         [BZ #7065]
2410         * csu/Makefile (tests): Empty assignment and document it.
2411         (tests-static): Remove.
2412         * csu/tst-empty.c: Move to...
2413         * misc/tst-empty.c: ... here.  Switch to new test driver.
2414         * csu/tst-atomic.c: Move to...
2415         * misc/tst-atomic.c: ... here.  Switch to new test driver.
2416         * csu/tst-atomic-long.c: Move to...
2417         * misc/tst-atomic-long.c: ... here.
2418         * misc/Makefile (tests): Add tst-empty, tst-atomic,
2419         tst-atomic-long.
2420         (tests-static): Add tst-empty.
2422 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
2424         * manual/nss.texi: Change incorrect @vtable to @table.
2425         * manual/arith.texi: Convert @tables of variables to @vtables
2426         and remove unnecessary indexing.
2427         * manual/filesys.texi: Likewise.
2428         * manual/llio.texi: Likewise.
2429         * manual/memory.texi: Likewise.
2430         * manual/process.texi: Likewise.
2431         * manual/resource.texi: Likewise.
2432         * manual/search.texi: Likewise.
2433         * manual/signal.texi: Likewise.
2434         * manual/socket.texi: Likewise.
2435         * manual/stdio.texi: Likewise.
2436         * manual/sysinfo.texi: Likewise.
2437         * manual/syslog.texi: Likewise.
2438         * manual/terminal.texi: Likewise.
2439         * manual/time.texi: Likewise.
2440         * manual/users.texi: Likewise.
2442 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
2444         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2445         (roundeven): New declaration.
2446         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2447         macro.
2448         * math/Versions (roundeven): New libm symbol at version
2449         GLIBC_2.25.
2450         (roundevenf): Likewise.
2451         (roundevenl): Likewise.
2452         * math/Makefile (libm-calls): Add s_roundevenF.
2453         * math/libm-test.inc (roundeven_test_data): New array.
2454         (roundeven_test): New function.
2455         (main): Call roundeven_test.
2456         * math/test-tgmath.c (NCALLS): Increase to 134.
2457         (F(compile_test)): Call roundeven.
2458         (F(roundeven)): New function.
2459         * manual/arith.texi (Rounding Functions): Document roundeven,
2460         roundevenf and roundevenl.
2461         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2462         * include/math.h (roundeven): Use libm_hidden_proto.
2463         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2464         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2465         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2466         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2467         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2468         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2469         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2470         roundeven.
2471         (CFLAGS-nldbl-roundeven.c): New variable.
2472         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2473         * sysdeps/nacl/libm.abilist: Update.
2474         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2475         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2476         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2477         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2478         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2479         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2480         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2481         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2482         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2483         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2484         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2485         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2487         Likewise.
2488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2489         Likewise.
2490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2491         Likewise.
2492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2493         Likewise.
2494         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2495         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2496         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2497         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2500         Likewise.
2501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2502         Likewise.
2503         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2507 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2509         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2510         preprocessor indentation inside #if.
2512 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2514         * math/libm-test.inc (fmt_ftostr): New function.
2515         (print_float, check_float_internal): Replace some uses of
2516         FTOSTR with uses of fmt_ftostr.
2517         (print_max_error, print_complex_max_error, print_function_ulps)
2518         (print_complex_function_ulps): Remove uses of the macros
2519         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2520         * math/test-double.h (FTOSTR): Define to strfromd.
2521         (PRINTF_EXPR): Delete.
2522         (PRINTF_XEXPR): Likewise.
2523         (PRINTF_NEXPR): Likewise.
2524         * math/test-float.h (FTOSTR): Define to strfromf.
2525         (PRINTF_EXPR): Delete.
2526         (PRINTF_XEXPR): Likewise.
2527         (PRINTF_NEXPR): Likewise.
2528         * math/test-ldouble.h (FTOSTR): Define to strfroml.
2529         (PRINTF_EXPR): Delete.
2530         (PRINTF_XEXPR): Likewise.
2531         (PRINTF_NEXPR): Likewise.
2533 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2535         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2536         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2537         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2538         (__lll_lock_elision): Decrement adapt_count while unlocking
2539         instead of before locking.
2540         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2541         (__lll_trylock_elision): Likewise.
2542         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2543         (__lll_unlock_elision): Likewise.
2545 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2547         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2548         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2549         Use __libc_tbegin_retry macro.
2551 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2553         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2554         Add -msoft-float.
2555         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2556         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2557         Use __libc_t* transaction macros instead of __builtin_t*.
2558         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2559         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2561 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2563         * sysdeps/unix/sysv/linux/s390/elision-lock.c
2564         (__lll_lock_elision): Use atomics to load / store adapt_count.
2565         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2566         (__lll_trylock_elision): Likewise.
2568 2016-12-20  Florian Weimer  <fweimer@redhat.com>
2570         Do not require memset elimination in explicit_bzero test.
2571         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2572         (enum test_expectation): Add NO_EXPECTATIONS.
2573         (subtests): NO_EXPECTATIONS for ordinary clear.
2574         (check_test_buffer): Handle NO_EXPECTATIONS.
2575         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2577 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
2579         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2580         (fmaxmag): New declaration.
2581         (fminmag): Likewise.
2582         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2583         macro.
2584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2585         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2586         (fmaxmagf): Likewise.
2587         (fmaxmagl): Likewise.
2588         (fminmag): Likewise.
2589         (fminmagf): Likewise.
2590         (fminmagl): Likewise.
2591         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2592         * math/s_fmaxmag_template.c: New file.
2593         * math/s_fminmag_template.c: Likewise.
2594         * math/libm-test.inc (fmaxmag_test_data): New array.
2595         (fmaxmag_test): New function.
2596         (fminmag_test_data): New array.
2597         (fminmag_test): New function.
2598         (main): Call fmaxmag_test and fminmag_test.
2599         * math/test-tgmath.c (NCALLS): Increase to 132.
2600         (F(compile_test)): Call fmaxmag and fminmag.
2601         (F(fminmag)): New function.
2602         (F(fmaxmag)): Likewise.
2603         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2604         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2605         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2606         fminmag.
2607         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2608         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2609         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2610         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2611         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2612         and fminmag.
2613         (CFLAGS-nldbl-fmaxmag.c): New variable.
2614         (CFLAGS-nldbl-fminmag.c): Likewise.
2615         * sysdeps/nacl/libm.abilist: Update.
2616         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2617         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2618         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2619         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2620         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2621         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2622         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2623         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2624         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2625         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2626         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2627         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2629         Likewise.
2630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2631         Likewise.
2632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2633         Likewise.
2634         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2635         Likewise.
2636         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2637         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2638         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2639         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2640         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2642         Likewise.
2643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2644         Likewise.
2645         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2646         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2647         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2649 2016-12-19  Torvald Riegel  <triegel@redhat.com>
2651         [BZ #20973]
2652         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2653         wake-up in robust mutexes.
2654         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2656 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2658         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2659         (CFLAGS-bench-fmaxf.c): New rule.
2660         (CFLAGS-bench-fminf.c): Likewise.
2661         * benchtests/fmaxf-inputs: New file.
2662         * benchtests/fminf-inputs: Likewise.
2664         * benchtests/Makefile (bench-math): Add fmin and fmax.
2665         (CFLAGS-bench-fmax.c): New rule.
2666         (CFLAGS-bench-fmin.c): Likewise.
2667         * benchtests/fmax-inputs: New file.
2668         * benchtests/fmin-inputs: Likewise.
2670         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2671         parenthesis.
2672         (CMDLINE_PROCESS): Define using function instead of macro.
2673         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2674         of test-skeleton.
2675         * benchtests/bench-memchr.c: Likewise.
2676         * benchtests/bench-memcmp.c: Likewise.
2677         * benchtests/bench-memcpy-large.c: Likewise.
2678         * benchtests/bench-memcpy.c: Likewise.
2679         * benchtests/bench-memmem.c: Likewise.
2680         * benchtests/bench-memmove-large.c: Likewise.
2681         * benchtests/bench-memmove.c: Likewise.
2682         * benchtests/bench-memset-large.c: Likewise.
2683         * benchtests/bench-memset.c: Likewise.
2684         * benchtests/bench-rawmemchr.c: Likewise.
2685         * benchtests/bench-strcasecmp.c: Likewise.
2686         * benchtests/bench-strcasestr.c: Likewise.
2687         * benchtests/bench-strcat.c: Likewise.
2688         * benchtests/bench-strchr.c: Likewise.
2689         * benchtests/bench-strcmp.c: Likewise.
2690         * benchtests/bench-strcpy.c: Likewise.
2691         * benchtests/bench-strcpy_chk.c: Likewise.
2692         * benchtests/bench-strlen.c: Likewise.
2693         * benchtests/bench-strncasecmp.c: Likewise.
2694         * benchtests/bench-strncmp.c: Likewise.
2695         * benchtests/bench-strncpy.c: Likewise.
2696         * benchtests/bench-strnlen.c: Likewise.
2697         * benchtests/bench-strpbrk.c: Likewise.
2698         * benchtests/bench-strrchr.c: Likewise.
2699         * benchtests/bench-strsep.c: Likewise.
2700         * benchtests/bench-strspn.c: Likewise.
2701         * benchtests/bench-strstr.c: Likewise.
2702         * benchtests/bench-strtok.c: Likewise.
2704 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
2706         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2707         stepping identification.
2708         (init_cpu_features): Add handle of Haswell.
2710 2016-11-25  Jim Meyering  <meyering@fb.com>
2712         [BZ #20386]
2713         Let gcc detect assert(a = 1) errors.
2714         * assert/assert.h (assert): Rewrite, retaining the old definintion
2715         when required, but otherwise putting the expression as-is in an "if"
2716         expression (hence, with no added parentheses) within a statement
2717         expression.
2719 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2721         * benchtests/Makefile (binaries-benchset): Depend on libsupport
2722         DSO.
2724 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
2726         * Rules (python-flags, python-invoke): New.
2727         ($(test-printers-out)): Use $(python-flags).
2729 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2731         * manual/arith.texi (Math Error Reporting): Document that sNaN
2732         arguments are not considered domain errors.
2734 2016-12-16  Zack Weinberg <zackw@panix.com>
2735             Florian Weimer <fweimer@redhat.com>
2736             Nick Mathewson <nickm@torproject.org>
2738         * string/explicit_bzero.c: New routine.
2739         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2740         * string/Makefile (routines, strop-tests, tests): Add them.
2741         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2742         * string/string.h [__USE_MISC]: Declare explicit_bzero.
2744         * debug/explicit_bzero_chk.c: New routine.
2745         * debug/Makefile (routines): Add it.
2746         * debug/tst-chk1.c: Test fortification of explicit_bzero.
2747         * string/bits/string3.h: Fortify explicit_bzero.
2749         * manual/string.texi: Document explicit_bzero.
2750         * NEWS: Mention addition of explicit_bzero.
2752         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2753         data before returning, using explicit_bzero.
2754         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2755         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2756         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2758         * include/string.h: Redirect internal uses of explicit_bzero
2759         to __explicit_bzero_chk[_internal].
2760         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2761         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2762         * sysdeps/arm/nacl/libc.abilist
2763         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2764         * sysdeps/unix/sysv/linux/alpha/libc.abilist
2765         * sysdeps/unix/sysv/linux/arm/libc.abilist
2766         * sysdeps/unix/sysv/linux/hppa/libc.abilist
2767         * sysdeps/unix/sysv/linux/i386/libc.abilist
2768         * sysdeps/unix/sysv/linux/ia64/libc.abilist
2769         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2770         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2771         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2772         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2773         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2774         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2775         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2776         * sysdeps/unix/sysv/linux/nios2/libc.abilist
2777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2781         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2782         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2783         * sysdeps/unix/sysv/linux/sh/libc.abilist
2784         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2785         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2788         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2789         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2790         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2791         Add entries for explicit_bzero and __explicit_bzero_chk.
2793 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2795         * math/fenv.h
2796         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2797         (FE_SNANS_ALWAYS_SIGNAL): New macro.
2798         * math/test-fe-snans-always-signal.c: New file.
2799         * math/Makefile (tests): Add test-fe-snans-always-signal.
2800         (CFLAGS-test-fe-snans-always-signal.c): New variable.
2801         * manual/arith.texi (Infinity and NaN): Document
2802         FE_SNANS_ALWAYS_SIGNAL.
2804 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2806         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2807         bracket.
2809 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
2811         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2812         before calling execv.
2814 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2816         [BZ# 20971]
2817         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2818         overflow in pointer addition.
2819         * string/test-memchr.c (do_test): Add an argument to pass as
2820         the size on memchr.
2821         (test_main): Add check for SIZE_MAX.
2823 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2825         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2826         (libm-calls): Add w_scalblnF.
2827         * math/w_scalbln.c: Remove.
2828         * math/w_scalblnf.c: Likewise.
2829         * math/w_scalblnl.c: Likewise.
2830         * math/w_scalbln_template.c: New file with type-generic
2831         implementation based on math/w_scalbln.c.
2832         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2833         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2835 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2837         [BZ #20947]
2838         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2839         either is a signaling NaN.
2840         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
2841         follow fmaxl more closely.
2842         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2843         when either is a signaling NaN.
2844         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2845         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2846         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2847         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2848         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2849         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2850         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2851         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2852         (fmin_test_data): Likewise.
2854 2016-12-15  Andreas Schwab  <schwab@suse.de>
2856         * support/support_test_main.c (support_test_main): Don't shadow
2857         file-local variable test_pid.
2859 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
2861         [BZ #20947]
2862         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2863         either is a signaling NaN.
2864         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2866 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2868         [BZ #20947]
2869         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2870         when either is a signaling NaN.
2871         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2873         * bits/long-double.h: New file.
2874         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2875         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2876         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2877         * sysdeps/mips/bits/long-double.h: Likewise.
2878         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2879         * math/Makefile (headers): Add bits/long-double.h.
2880         * misc/sys/cdefs.h: Include <bits/long-double.h>.
2881         * stdlib/strtold.c: Include <bits/long-double.h> instead of
2882         <bits/wordsize.h>.
2883         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2884         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2885         * math/math.h: Do not include <bits/mathdef.h>.
2886         * sysdeps/aarch64/bits/mathdef.h: Remove file.
2887         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2888         inclusion.
2889         * sysdeps/ia64/bits/mathdef.h: Remove file.
2890         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2891         * sysdeps/mips/bits/mathdef.h: Likewise.
2892         * sysdeps/powerpc/bits/mathdef.h: Likewise.
2893         * sysdeps/s390/bits/mathdef.h: Likewise.
2894         * sysdeps/sparc/bits/mathdef.h: Likewise.
2895         * sysdeps/x86/bits/mathdef.h: Likewise.
2896         * sysdeps/s390/s390-32/bits/wordsize.h
2897         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2898         conditional code.
2899         * sysdeps/s390/s390-64/bits/wordsize.h
2900         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2901         Likewise.
2902         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2903         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2904         Likewise.
2905         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2906         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2907         Likewise.
2908         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2909         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2910         Likewise.
2912         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2913         <linux/falloc.h>.
2914         (FALLOC_FL_KEEP_SIZE): Remove.
2915         (FALLOC_FL_PUNCH_HOLE): Likewise.
2916         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2917         (FALLOC_FL_ZERO_RANGE): Likewise.
2919 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2921         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2923 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2925         * sysdeps/unix/sysv/linux/renameat.c: New file.
2926         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2928         * sysdeps/unix/sysv/linux/rename.c: New file.
2929         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2931 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2933         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2934         * string/strtok.c (strtok): Change to tailcall __strtok_r.
2935         * string/strtok_r.c (__strtok_r): Optimize for performance.
2936         * string/string-inlines.c (__old_strtok_r_1c): New function.
2937         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2939 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2941         * math/Makefile (gen-libm-calls): Add w_log1pF.
2942         (libm-calls): Remove w_log1pF.
2943         * math/w_log1p.c: Remove.
2944         * math/w_log1pf.c: Likewise.
2945         * math/w_log1pl.c: Likewise.
2946         * math/w_log1p_template.c: New file with type-generic
2947         implementation based on math/w_log1p.c.
2948         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2949         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2951 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
2953         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2955 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
2957         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2958         kernel version to 4.9.
2960 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
2962         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2963         ($(inst_libdir)/libm.a): Fix rule to create the target only.
2965 2016-12-13  Andreas Schwab  <schwab@suse.de>
2967         * sysdeps/powerpc/dl-procinfo.c: Don't define
2968         _dl_powerpc_platforms.
2969         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2970         constants instead of referencing _dl_powerpc_platforms.
2971         (_dl_platform_string): Remove.
2973 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2975         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2977 2016-12-13  Florian Weimer  <fweimer@redhat.com>
2979         * Rules (binaries-shared-tests, binaries-pie-tests)
2980         (binaries-static-tests): Link with $(link-extra-libs-tests).
2981         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2982         Remove $(link-extra-libs-tests).
2984 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2986         * sysdeps/powerpc/powerpc64/multiarch/Makefile
2987         (sysdep_routines): Add strncmp_power9.
2988         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2989         (strncmp): Add __strncmp_power9 to list of strncmp functions.
2990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2991         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2992         (strncmp): Add __strncmp_power9 to ifunc list.
2993         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2995 2016-12-12  Florian Weimer  <fweimer@redhat.com>
2997         [BZ #17252]
2998         Add getentropy, getrandom.
2999         * stdlib/sys/random.h: New file.
3000         (headers): Add it.
3001         * stdlib/Makefile (routines): Add getentropy, getrandom.
3002         (tests): Add tst-getrandom.
3003         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
3004         * stdlib/getentropy.c: New file.
3005         * stdlib/getrandom.c: Likewise.
3006         * stdlib/tst-getrandom.c: Likewise.
3007         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
3008         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
3009         * manual/crypt.texi (Unpredictable Bytes): New section.
3010         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
3011         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
3012         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
3013         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3014         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3015         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3016         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3017         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3018         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3019         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3020         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3021         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3022         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3023         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3024         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3025         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3027         Likewise.
3028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3029         Likewise.
3030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3032         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3033         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3034         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3035         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3036         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3039         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3040         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3041         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3043 2016-12-10  Florian Weimer  <fweimer@redhat.com>
3045         [BZ #20956]
3046         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
3047         as additional compiler barriers.
3048         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
3049         (fn2, do_test): Declare with external linkage.
3050         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
3051         (do_test): Declare with external linkage.
3052         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
3053         (do_test): Declare with external linkage.
3054         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
3055         (do_test): Declare with external linkage.
3057 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
3059         * support/support_test_main.c (support_test_main): Use correct
3060         timeout.
3062 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
3063             Florian Weimer  <fweimer@redhat.com>
3065         [BZ #16421]
3066         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
3067         and __u6_addr32 members.
3068         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
3069         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
3070         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
3071         Use __u6_addr32.
3072         * inet/tst-checks.c: Use <support/test-driver.c>
3073         * inet/tst-checks-posix.c: New file.
3074         * inet/Makefile (tests): Add it.
3075         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
3077 2016-12-09  Florian Weimer  <fweimer@redhat.com>
3079         New subdirectory support for build and test infrastructure.
3080         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
3081         setting install-lib.
3082         * Makeconfig (link-extra-libs-tests): Define.
3083         (+link-pie-tests, +link-static-tests, +link-tests): Use
3084         link-extra-libs-tests.
3085         (rpath-dirs, all-subdirs): Add support.
3086         (built-modules): Add libsupport.
3087         (libsupport): Define.
3088         * support: New directory.
3089         * support/Makefile: New file.
3090         * support/check.c: Likewise.
3091         * support/check.h: Likewise.
3092         * support/delayed_exit.c: Likewise.
3093         * support/ignore_stderr.c: Likewise.
3094         * support/oom_error.c: Likewise.
3095         * support/set_fortify_handler.c: Likewise.
3096         * support/support.h: Likewise.
3097         * support/temp_file-internal.h: Likewise.
3098         * support/temp_file.c: Likewise.
3099         * support/test-driver.c: Likewise.
3100         * support/test-driver.h: Likewise.
3101         * support/test_main.c: Likewise.
3102         * support/write_message.c: Likewise.
3103         * support/xasprintf.c: Likewise.
3104         * support/xcalloc.c: Likewise.
3105         * support/xmalloc.c: Likewise.
3106         * support/xpthread_barrier_destroy.c: Likewise.
3107         * support/xpthread_barrier_init.c: Likewise.
3108         * support/xpthread_barrier_wait.c: Likewise.
3109         * support/xpthread_cancel.c: Likewise.
3110         * support/xpthread_check_return.c: Likewise.
3111         * support/xpthread_cond_wait.c: Likewise.
3112         * support/xpthread_create.c: Likewise.
3113         * support/xpthread_detach.c: Likewise.
3114         * support/xpthread_join.c: Likewise.
3115         * support/xpthread_mutex_lock.c: Likewise.
3116         * support/xpthread_mutex_unlock.c: Likewise.
3117         * support/xpthread_sigmask.c: Likewise.
3118         * support/xpthread_spin_lock.c: Likewise.
3119         * support/xpthread_spin_unlock.c: Likewise.
3120         * support/xrealloc.c: Likewise.
3121         * support/xsignal.h: Likewise.
3122         * support/xthread.h: Likewise.
3123         * support_tempfile.h: Likewise.
3124         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3125         (TEST_DATA_LIMIT): Remove unused macro.
3126         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
3127         <support/check.h>.
3128         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3129         (ignore_stderr, set_fortify_handler): Remove.  Now in
3130         <support/support.h>.
3131         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
3132         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3133         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3134         (xpthread_join): Remove.  Now in <support/xthread.h>.
3135         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3136         Introduce legacy wrappers.
3137         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
3138         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
3139         (write_message): Remove.
3140         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
3141         test-skeleton.c.
3142         * io/test-open-tmpfile: Likewise.
3143         * io/tst-posix_fallocate-common.c: Likewise.
3144         * libio/tst-fseek.c: Likewise.
3145         * malloc/tst-malloc-backtrace.c: Likewise.
3146         * malloc/tst-malloc-fork-deadlock.c: Likewise.
3147         * malloc/tst-malloc-thread-exit.c: Likewise.
3148         * nptl/tst-cancel7.c: Likewise.
3149         * nptl/tst-cleanup0.c: Likewise.
3150         * posix/tst-posix_fadvise-common.c: Likewise.
3151         * rt/tst-shm.c: Likewise.
3152         * time/bug-getdate1.c: Likewise.
3153         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3154         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
3155         * elf/Makefile (tst-piemod1.so): Link against libsupport.
3157 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
3159         * Rules [$(run-built-tests) != no] (tests-expected): Add
3160         $(tests-printers).
3161         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
3163 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
3165         [BZ #20539]
3166         * math/Makefile (install-lib-ldscripts): Add libm.a.
3167         (install_subdir): Remove.
3168         (install-others): Add.
3169         ($(inst_libdir)/libm.a): Add rule for installation as
3170         linker script.
3171         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
3173 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
3175         * INSTALL: Regenerated.
3176         * Makeconfig: Add comments and whitespace to make the control flow
3177         clearer.
3178         (+link-printers-tests, +link-pie-printers-tests,
3179         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
3180         built-rtld-LDFLAGS, link-libc-rpath,
3181         link-libc-tests-after-rpath-link,
3182         link-libc-printers-tests): New.
3183         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
3184         link-libc-tests): Use the new variables as required.
3185         * Makerules ($(py-const)): New rule.
3186         generated: Add $(py-const).
3187         * README.pretty-printers: New file.
3188         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
3189         (others): Depend on $(py-const).
3190         (tests): Depend on $(tests-printers-programs) or
3191         $(tests-printers-out),
3192         as required.  Pass $(tests-printers) to merge-test-results.sh.
3193         * manual/install.texi: Add requirements for testing the pretty
3194         printers.
3195         * nptl/Makefile (gen-py-const-headers, pretty-printers,
3196         tests-printers, CFLAGS-test-mutexattr-printers.c
3197         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
3198         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
3199         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
3200         * nptl/nptl-printers.py: New file.
3201         * nptl/nptl_lock_constants.pysym: Likewise.
3202         * nptl/test-cond-printers.c: Likewise.
3203         * nptl/test-cond-printers.py: Likewise.
3204         * nptl/test-condattr-printers.c: Likewise.
3205         * nptl/test-condattr-printers.py: Likewise.
3206         * nptl/test-mutex-printers.c: Likewise.
3207         * nptl/test-mutex-printers.py: Likewise.
3208         * nptl/test-mutexattr-printers.c: Likewise.
3209         * nptl/test-mutexattr-printers.py: Likewise.
3210         * nptl/test-rwlock-printers.c: Likewise.
3211         * nptl/test-rwlock-printers.py: Likewise.
3212         * nptl/test-rwlockattr-printers.c: Likewise.
3213         * nptl/test-rwlockattr-printers.py: Likewise.
3214         * scripts/gen-py-const.awk: Likewise.
3215         * scripts/test_printers_common.py: Likewise.
3216         * scripts/test_printers_exceptions.py: Likewise.
3218 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
3220         * scripts/build-many-glibcs.py (Context.__init__): Take strip
3221         argument.
3222         (Glibc.build_glibc): Strip installed shared libraries if
3223         requested.
3224         (get_parser): Add --strip option.
3225         (main): Update Context call.
3227 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3228             Dominik Vogt  <vogt@linux.vnet.ibm.com>
3230         [BZ #20847]
3231         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3232         array bounds for else branch.
3233         (__execvpe): Style fixes.
3234         * posix/tst-vfork3.c (run_script): New function.
3235         (create_script): Likewise.
3236         (do_test): Use run_script internal function.
3237         (do_prepare): Use create_script internal function.
3239 2016-12-07  Andreas Schwab  <schwab@suse.de>
3241         * sysdeps/unix/sysv/linux/x86/elision-conf.h
3242         (__elision_available): Don't declare.
3243         * sysdeps/unix/sysv/linux/x86/elision-conf.c
3244         (__elision_available): Don't define.
3245         (elision_init): Don't set __elision_available.
3247 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
3249         [BZ #20940]
3250         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
3251         return Inf for arguments Inf and sNaN.
3252         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
3253         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3254         Likewise.
3255         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3256         Likewise.
3257         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3258         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
3259         for arguments Inf and sNaN.  When returning a NaN, compute it by
3260         arithmetic on the arguments.
3261         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
3262         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
3263         arguments.
3265 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
3267         [BZ #20916]
3268         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
3269         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
3270         to compute result.
3271         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3272         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
3274 2016-12-05  Torvald Riegel  <triegel@redhat.com>
3276         * include/atomic.h (__atomic_check_size_ls): New.
3277         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
3278         atomic_store_release): Use it.
3279         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
3280         (elision_adapt, ELIDE_LOCK): Use atomics.
3281         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
3282         atomics and improve code comments.
3283         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
3284         (__lll_trylock_elision): Likewise.
3286 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3288         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
3289         programs.
3291 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3293         [BZ #20916]
3294         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
3295         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
3296         arguments to compute result.
3297         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
3298         1 for arguments (sNaN, 0) or (1, sNaN).
3299         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3300         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3302         [BZ #20919]
3303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
3304         NaN first argument when raised to power 0.
3305         * math/w_pow.c (__pow): Do not check for NaN or zero results from
3306         raising to power zero.
3307         * math/w_powf.c (__powf): Likewise.
3308         * math/w_powl.c (__powl): Likewise.
3309         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3310         pow (0, 0) or pow (NaN, 0).
3312 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
3314         [BZ #20918]
3315         * configure.ac: Test for static NSS cryptographic libraries and set
3316         libc_cv_static_nss_crypt.
3317         * configure: Regenerate.
3318         * config.make.in (static-nss-crypt): Define.
3319         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3320         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3321         (CFLAGS-tst-linkall-static.c): Define.
3322         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3323         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3324         ($(objpfx)tst-linkall-static): Define.
3325         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3326         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3328 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3330         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3331         (one-hundred, tst-tls-many-dynamic-modules): Define.
3332         (modules-names): Add $(tst-tls-many-dynamic-modules).
3333         (tst-tls-manydynamic%mod.os): Build with special preprocessor
3334         macros.
3335         (tst-tls-manydynamic): Link against libdl, libpthread.
3336         (tst-tls-manydynamic.out): The test needs the test modules at run
3337         time.
3338         * elf/tst-tls-manydynamic.c: New file.
3339         * elf/tst-tls-manydynamic.h: Likewise.
3340         * elf/tst-tls-manydynamicmod.c: Likewise.
3342 2016-12-02  Florian Weimer  <fweimer@redhat.com>
3344         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3345         (TLS_DTV_UNALLOCATED): Add.
3346         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3347         offsets.
3349 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3351         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3353 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
3355         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3356         Add -fno-optimize-sibling-calls.
3358 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
3360         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3361         New declaration.
3362         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3363         macro.
3364         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3365         New macro.
3366         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3367         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3368         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3369         (llogbf): Likewise.
3370         (llogbl): Likewise.
3371         * math/Makefile (gen-libm-calls): Add w_llogbF.
3372         (tests): Add test-fp-llogb-constants.
3373         * math/w_llogb_template.c: New file.  Based on
3374         math/w_ilogb_template.c.
3375         * math/libm-test.inc (llogb_test_data): New array.
3376         (llogb_test): New function.
3377         (main): Call llogb_test.
3378         * math/test-fp-llogb-constants.c: New file.  Based on
3379         math/test-fp-ilogb-constants.c.
3380         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3381         (do_test): Call check_return_llogb.
3382         * math/test-tgmath.c (NCALLS): Increase to 126.
3383         (F(compile_test)): Call llogb.
3384         (F(llogb)): New function.
3385         * manual/math.texi (Exponents and Logarithms): Document llogb,
3386         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3387         * manual/libm-err-tab.pl (@all_functions): Add llogb.
3388         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3389         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3390         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3391         (CFLAGS-nldbl-llogb.c): New variable.
3392         * sysdeps/nacl/libm.abilist: Update.
3393         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3394         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3395         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3396         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3397         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3398         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3399         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3400         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3401         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3402         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3403         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3404         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3406         Likewise.
3407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3408         Likewise.
3409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3410         Likewise.
3411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3412         Likewise.
3413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3414         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3415         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3416         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3417         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3419         Likewise.
3420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3421         Likewise.
3422         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3423         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3424         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3426 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3428         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3429         _Float128 instead of long double.
3430         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3432         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3433         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3434         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3435         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3436         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3437         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3438         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3439         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3440         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3441         Likewise.
3443 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3445         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3446         Remove redirection to __strrchr_ppc.
3448 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3450         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3451         (sysdep_routines): Add strcmp_power9.
3452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3453         (strcmp): Add __strcmp_power9 to list of strcmp functions.
3454         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3455         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3456         (strcmp): Add __strcmp_power9 to ifunc list.
3457         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3459 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
3461         * bits/fp-logb.h: New file.
3462         * sysdeps/ia64/bits/fp-logb.h: Likewise.
3463         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3464         * sysdeps/x86/bits/fp-logb.h: Likewise.
3465         * math/Makefile (headers): Add bits/fp-logb.h.
3466         * math/math.h: Include <bits/fp-logb.h>.
3467         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3468         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3469         * bits/mathdef.h (FP_ILOGB0): Remove.
3470         (FP_ILOGBNAN): Likewise.
3471         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3472         (FP_ILOGBNAN): Likewise.
3473         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3474         (FP_ILOGBNAN): Likewise.
3475         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3476         (FP_ILOGBNAN): Likewise.
3477         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3478         (FP_ILOGBNAN): Likewise.
3479         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3480         (FP_ILOGBNAN): Likewise.
3481         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3482         (FP_ILOGBNAN): Likewise.
3483         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3484         (FP_ILOGBNAN): Likewise.
3485         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3486         (FP_ILOGBNAN): Likewise.
3487         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3488         (FP_ILOGBNAN): Likewise.
3490         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
3491         time module.
3492         (Context.__init__): Initialize self.logsdir_old.
3493         (Context.run_builds): Handle bot action.
3494         (Context.bot_cycle): Copy logs directory before running builds.
3495         (Context.bot_run_self): Take argument for whether to check
3496         subprocess result.  Flush stdout before running subprocess.
3497         (Context.bot): New function.
3498         (get_parser): Allow bot action.
3500 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
3502         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3503         Import email.mime.text, email.utils and smtplib modules.
3504         (Context.__init__): Initialize self.bot_config_json.
3505         (Context.run_builds): Handle bot-cycle action.
3506         (Context.load_bot_config_json): New function.
3507         (Context.part_build_old): Likewise.
3508         (Context.bot_cycle): Likewise.
3509         (Context.bot_build_mail): Likewise.
3510         (Context.bot_run_self): Likewise.
3511         (get_parser): Allow bot-cycle action.
3513 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3515         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3516         Remove redirection to __stpcpy_ppc.
3518 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3520         Remove __libc_memalign from ld.so because it is unused.
3521         * elf/dl-minimal.c: Update comment on the malloc implementation.
3522         (malloc): Renamed from __libc_memalign, replacing the original
3523         malloc implementation.  Replace the align parameter with
3524         MALLOC_ALIGNMENT.
3525         * elf/Versions (ld): Update comment and remove __libc_memalign.
3526         * sysdeps/nacl/ld.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3528         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3529         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3530         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3531         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3532         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3533         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3534         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3535         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3536         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3537         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3538         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3539         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3543         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3544         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3545         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3546         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3547         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3550         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3551         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3552         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3553         * sysdeps/generic/localplt.data (ld.so): Likewise.
3554         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3555         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3556         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3557         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3558         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3559         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3560         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3561         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3562         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3564         (ld.so): Likewise.
3565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3566         (ld.so): Likewise.
3567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3568         Likewise.
3569         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3570         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3571         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3572         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3573         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3575 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3577         [BZ #16628]
3578         Implement _dl_catch_error, _dl_signal_error in libc.so.
3579         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3580         (catch_hook): Define as thread-local or regular variable,
3581         depending on DL_ERROR_BOOTSTRAP.
3582         (CATCH_HOOK): Remove.
3583         (dl_signal_error, _dl_catch_error): Use
3584         catch_hook.  Add hidden definition for libc.
3585         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
3586         for DL_ERROR_BOOTSTRAP only.
3587         * elf/dl-error.c: New file.
3588         * elf/dl-error-minimal.c: Likewise.
3589         * elf/tst-latepthread.c: Likewise.
3590         * elf/tst-latepthreadmod.c: Likewise.
3591         * elf/Makefile (routines): Add dl-error.
3592         (dl-routines): Remove dl-error.
3593         (rtld-routines): Add dl-error-minimal.
3594         [build-shared] (tests): Add tst-latepthread.
3595         (module-names): Add tst-latepthreadmod.
3596         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3597         symbol.
3598         (tst-latepthreadmod.so): Link against libpthread.
3599         (tst-latepthread): Link against libdbl.
3600         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3601         _dl_catch_error.
3602         [ld] (GLIBC_PRIVATE): Likewise.
3603         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3604         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3605         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3606         directly.
3607         * elf/dl-tsd.c: Remove file.
3608         * elf/rtld.c (_rtld_global_ro): Remove initializers for
3609         _dl_catch_error, _dl_signal_error.
3610         (_dl_initial_error_catch_tsd): Remove definition.
3611         (do_preload): Remove initialization of dl_error_catch_tsd.
3612         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3613         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3614         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3615         * dlfcn/dlopen.c (dlopen_doit): Likewise.
3616         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3617         set dl_error_catch_tsd.
3618         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3619         _dl_error_catch_tsd member.
3620         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3621         members.
3622         (_dl_initial_error_catch_tsd): Remove declaration.
3623         (_dl_dprintf): Provide definition for use outside of ld.so.
3624         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3625         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
3626         prototype for libc.
3627         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3628         _dl_catch_error.
3629         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3630         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3631         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3632         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3633         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3634         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3635         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3636         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3637         Likewise.
3638         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3640         (ld.so): Likewise.
3641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3642         (ld.so): Likewise.
3643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3644         Likewise.
3645         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3646         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3647         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3648         Likewise.
3649         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3650         Likewise.
3651         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3653 2016-11-30  Florian Weimer  <fweimer@redhat.com>
3655         [BZ #4099]
3656         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3657         _IO_BUFSIZ (8192).
3659 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
3661         * PROJECTS: Remove file.
3663 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3665         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3667 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
3668             Steve Ellcey  <sellcey@caviumnetworks.com>
3670         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3671         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3672         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3673         fxstatat.
3674         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3675         lxstat.
3676         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3677         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3678         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3679         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3680         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3681         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3682         __xstat.
3684 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3686         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3687         Define.
3688         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3689         definition.
3691 2016-11-29  Florian Weimer  <fweimer@redhat.com>
3693         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3694         version and turn into strong alias.  Remove compat symbol.
3696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3697         (__longjmp): Remove.
3699 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
3701         * bits/fp-fast.h: New file.
3702         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3703         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3704         * math/Makefile (headers): Add bits/fp-fast.h.
3705         * math/math.h: Include <bits/fp-fast.h>.
3706         * bits/mathdef.h (FP_FAST_FMA): Remove.
3707         (FP_FAST_FMAF): Likewise.
3708         (FP_FAST_FMAL): Likewise.
3709         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3710         (FP_FAST_FMAF): Likewise.
3711         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3712         (FP_FAST_FMAF): Likewise.
3713         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3714         (FP_FAST_FMAF): Likewise.
3715         (FP_FAST_FMAL): Likewise.
3716         * sysdeps/arm/bits/mathdef.h: Remove file.
3717         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3718         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3719         * sysdeps/tile/bits/mathdef.h: Likewise.
3721 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3723         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
3724         * math/w_ilogb.c: Remove.
3725         * math/w_ilogbf.c: Likewise.
3726         * math/w_ilogbl.c: Likewise.
3727         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3728         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3729         * math/Makefile (gen-libm-calls): Add w_ilogbF.
3730         (libm-calls): Remove w_ilogbF.
3731         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3732         (LDOUBLE_ilogbl_libm_version): New macro.
3734         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3736         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3737         [!__STRICT_ANSI__ && !__cplusplus].
3739 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3741         [BZ #20750]
3742         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3743         of PIC.
3745 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3746             Yury Norov  <ynorov@caviumnetworks.com>
3747             Steve Ellcey  <sellcey@caviumnetworks.com>
3749         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3750         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3751         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3752         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3753         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3754         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3755         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3756         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3757         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3758         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3759         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3760         to get correct reg name for ILP32.
3761         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3762         (RELA_SIZE): New Macro.
3763         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3764         to support ILP32.
3765         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3766         cast for ILP32 mode.
3767         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3768         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3769         * sysdeps/aarch64/memset.S (__memset): Ditto.
3770         * sysdeps/aarch64/strchr.S (strchr): Ditto.
3771         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3772         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3773         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3774         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3775         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3776         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3777         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3778         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3779         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3780         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3781         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3782         change PTR_MANGLE call to use register numbers instead of names.
3783         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3784         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3785         ILP32 mode, change PTR_MANGLE calls to use register numbers.
3786         * sysdeps/aarch64/start.S (_start): Ditto.
3787         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3788         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3789         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3790         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3791         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3792         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3793         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3794         Make defined values dependent on __ILP32__.
3795         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3796         (sem_t): Change __align type.
3797         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3798         PTR_SIZE): New Macros.
3799         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3800         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3801         Set when in ILP32 mode.
3802         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3803         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3804         Set elf flags for ILP32.
3805         (add_system_dir): Set ILP32 library directories.
3806         * sysdeps/unix/sysv/linux/aarch64/init-first.c
3807         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3808         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3809         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3810         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3811         New Macros.
3812         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3814 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
3816         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3817         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3818         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3820 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
3822         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3823         <asm/cachectl.h>.
3825 2016-11-27  Zack Weinberg  <zackw@panix.com>
3827         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3828         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3830 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3832         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3833         error_t to fix usage in C++ programs.
3835 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
3837         * scripts/build-many-glibcs.py: Import datetime module.
3838         (Context.__init__): Load JSON build state.  Initialize list of
3839         status logs.
3840         (Context.run_builds): Update saved build state.
3841         (Context.add_makefile_cmdlist): Update list of status logs.
3842         (Context.load_build_state_json): New function.
3843         (Context.store_build_state_json): Likewise.
3844         (Context.clear_last_build_state): Likewise.
3845         (Context.update_build_state): Likewise.
3846         (CommandList.status_logs): Likewise.
3848 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
3850         * scripts/build-many-glibcs.py (Context.__init__): Save text of
3851         script being executed.
3852         (Context.get_script_text): New function.
3853         (Context.exec_self): Likewise.
3854         (Context.checkout): Re-exec script if changed by checkout process.
3856 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
3858         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3859         (setpayloadsig): New declaration.
3860         * math/Versions (setpayloadsig): New libm symbol at version
3861         GLIBC_2.25.
3862         (setpayloadsigf): Likewise.
3863         (setpayloadsigl): Likewise.
3864         * math/Makefile (libm-calls): Add s_setpayloadsigF.
3865         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3866         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3867         (setpayloadsig_test_data): New array.
3868         (setpayloadsig_test): New function.
3869         (main): Call setpayloadsig_test.
3870         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3871         setpayloadsigf and setpayloadsigl.
3872         * manual/libm-err-tab.pl: Update comment on interfaces without
3873         ulps tabulated.
3874         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3875         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3876         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3877         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3878         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3879         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3880         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3881         setpayloadsig.
3882         (CFLAGS-nldbl-setpayloadsig.c): New variable.
3883         * sysdeps/nacl/libm.abilist: Update.
3884         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3885         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3886         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3887         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3888         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3889         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3890         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3891         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3892         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3893         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3894         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3895         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3897         Likewise.
3898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3899         Likewise.
3900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3901         Likewise.
3902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3903         Likewise.
3904         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3905         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3906         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3907         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3908         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3910         Likewise.
3911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3912         Likewise.
3913         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3914         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3915         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3917         * scripts/build-many-glibcs.py: Import json module.
3918         (Context.__init__): Take replace_sources argument.  Load
3919         versions.json.
3920         (Context.load_versions_json): New function.
3921         (Context.store_json): Likewise.
3922         (Context.store_versions_json): Likewise.
3923         (Context.set_component_version): Likewise.
3924         (Context.checkout): Update versions.json.  Check for and handle
3925         changes of version.  Prefer previously explicitly specified
3926         version to default version.
3927         (Context.checkout_vcs): Return a revision identifier.
3928         (Context.git_checkout): Likewise.
3929         (Context.gcc_checkout): Likewise.
3930         (get_parser): Add --replace-sources option.
3931         (main): Pass replace_sources argument to Context call.
3933 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3935         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3936         * nptl/allocatestack.c (allocate_stack): Likewise.
3937         (__reclaim_stacks): Likewise.
3938         (setxid_signal_thread): Obtain pid through syscall.
3939         * nptl/nptl-init.c (sigcancel_handler): Likewise.
3940         (sighandle_setxid): Likewise.
3941         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3942         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3943         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3944         Likewise.
3945         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3946         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3947         comment.
3948         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3949         * nptl/descr.h (struct pthread): Change comment about pid value.
3950         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3951         pid assert.
3952         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3953         Do not set pid value.
3954         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3955         pid cache check.
3956         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3957         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3958         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3959         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3960         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3961         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3962         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3963         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3964         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3965         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3966         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3967         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3968         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3969         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3970         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3971         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3972         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3973         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3974         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3975         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3976         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3977         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3978         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3979         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3980         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3983         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3984         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3985         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3986         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3987         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3988         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3989         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3990         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3991         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3992         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3993         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3994         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3995         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3996         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3997         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3998         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
4000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
4001         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4002         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4003         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4004         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4005         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4006         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
4007         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
4008         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
4009         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
4010         struct access.
4011         (clone_test): Remove function.
4012         (do_test): Rewrite to take in consideration pid is not cached anymore.
4014 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
4016         * bits/flt-eval-method.h: New file.
4017         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
4018         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
4019         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
4020         * math/Makefile (headers): Add bits/flt-eval-method.h.
4021         * math/math.h: Include <bits/flt-eval-method.h>.
4022         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
4023         [__USE_ISOC99] (double_t): Likewise.
4024         * bits/mathdef.h (float_t): Remove.
4025         (double_t): Likewise.
4026         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
4027         (double_t): Likewise.
4028         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
4029         (double_t): Likewise.
4030         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
4031         (double_t): Likewise.
4032         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
4033         (double_t): Likewise.
4034         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
4035         (double_t): Likewise.
4036         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
4037         (double_t): Likewise.
4038         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
4039         (double_t): Likewise.
4040         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
4041         (double_t): Likewise.
4042         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
4043         (double_t): Likewise.
4044         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
4045         (double_t): Likewise.
4046         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
4047         (double_t): Likewise.
4048         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
4049         (double_t): Likewise.
4050         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
4051         (double_t): Likewise.
4053 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
4055         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
4056         instead of PIC.
4058 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4060         [BZ #20859]
4061         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
4062         (-0x7fffffff) instead of 0x80000001.
4063         * math/test-fp-ilogb-constants.c: New file.
4064         * math/Makefile (tests): Add test-fp-ilogb-constants.
4066 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
4068         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
4069         (_init): Use it in place of hardcoded R_MIPS_JALR.
4070         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
4071         (_init): Use it in place of hardcoded R_MIPS_JALR.
4072         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
4073         (_init): Use it in place of hardcoded R_MIPS_JALR.
4075 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4077         [BZ #20787]
4078         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4079         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4080         (double_t): Do not define to double if [__x86_64__] when
4081         __FLT_EVAL_METHOD__ is nonzero.
4082         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4083         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4084         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4085         test-flt-eval-method-387 and test-flt-eval-method-sse.
4086         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4087         variable.
4088         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4090 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
4092         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4093         use of -fno-isolate-erroneous-paths options for tilepro.
4095 2016-11-23  Florian Weimer  <fweimer@redhat.com>
4097         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4098         structure initialization is no longer needed.
4100 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
4102         [BZ #20855]
4103         * bits/mathdef.h (float_t): Define to float.
4104         * math/test-flt-eval-method.c: New file.
4105         * math/Makefile (tests): Add test-flt-eval-method.
4106         (CFLAGS-test-flt-eval-method.c): New variable.
4108 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
4110         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4111         and __fstatfs.  Make them aliases of __fstatfs64 if
4112         STATFS_IS_STATFS64 is set to non-zero.
4113         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4114         and __statfs64.
4115         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4116         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4117         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4118         for __statfs and statfs.
4119         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4120         to 0.
4121         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4122         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4123         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4124         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4125         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4126         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4129         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4130         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4131         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4132         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4134 2016-11-22  Andreas Schwab  <schwab@suse.de>
4136         * misc/mkstemp.c: Include <fcntl.h>.
4137         * misc/mkstemps.c: Likewise.
4138         * misc/mkostemp.c: Likewise.
4139         * misc/mkostemps.c: Likewise.
4141 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
4143         [BZ #20847]
4144         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4145         array bounds.
4146         (__execvpe): Likewise.
4148 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
4150         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
4151         -fno-isolate-erroneous-paths options for tilepro.
4153 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
4155         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
4156         to 0 when in 32 bit mode.
4157         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
4158         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4159         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4160         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4162         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4163         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
4164         XSTAT_IS_XSTAT64 test.
4165         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
4166         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
4167         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
4168         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
4169         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
4170         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
4171         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
4172         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
4173         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
4174         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
4175         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
4177 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
4179         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4180         (setpayload): New declaration.
4181         * math/Versions (setpayload): New libm symbol at version
4182         GLIBC_2.25.
4183         (setpayloadf): Likewise.
4184         (setpayloadl): Likewise.
4185         * math/Makefile (libm-calls): Add s_setpayloadF.
4186         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
4187         test_Ff_b1_data.
4188         (RUN_TEST_Ff_b1): New macro.
4189         (RUN_TEST_LOOP_Ff_b1): Likewise.
4190         (canonicalize_test_data): Update type.
4191         (setpayload_test_data): New array.
4192         (setpayload_test): New function.
4193         (main): Call setpayload_test.
4194         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
4195         setpayloadf and setpayloadl.
4196         * manual/libm-err-tab.pl: Update comment on interfaces without
4197         ulps tabulated.
4198         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
4199         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
4200         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
4201         Likewise.
4202         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
4203         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
4204         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
4205         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
4206         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
4207         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
4208         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
4209         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
4210         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
4211         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4212         setpayload.
4213         (CFLAGS-nldbl-setpayload.c): New variable.
4214         * sysdeps/nacl/libm.abilist: Update.
4215         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4216         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4217         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4218         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4219         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4220         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4221         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4222         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4223         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4224         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4225         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4226         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4230         Likewise.
4231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4232         Likewise.
4233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4234         Likewise.
4235         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4236         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4237         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4238         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4239         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4240         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4241         Likewise.
4242         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4243         Likewise.
4244         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4245         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4246         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4248 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4250         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
4251         * include/unistd.h: Extend comment about __access_noerrno return
4252         semantics.
4253         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
4254         (access_common): Correct typo for EACCES.
4256 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
4258         * sysdeps/tile/math-tests.h: New file.
4260         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
4261         (__old_set_dataplane): Rename from set_dataplane and make a
4262         compatibility symbol.
4263         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
4264         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
4265         sys/dataplane.h.
4267 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
4269         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
4270         script quote words in command output to log suitably for input to
4271         the shell.
4273 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
4274             Maciej W. Rozycki  <macro@imgtec.com>
4276         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
4277         `.Lno_weak_fn' label.
4278         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
4279         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
4281 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4282             Yury Norov  <ynorov@caviumnetworks.com>
4284         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
4285         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
4286         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4287         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
4288         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4289         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
4290         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4291         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4292         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4293         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
4294         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4295         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
4296         (sysdep_routines): Remove oldgetrlimit64.
4297         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
4298         (sysdep_routines): Likewise.
4299         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
4300         (sysdep_routines): Likewise.
4301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4302         [$(subdir) = resource] (sysdep_routines): Likewise.
4303         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4304         [$(subdir) = resource] (sysdep_routines): Likewise.
4305         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
4306         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
4307         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4308         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4309         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4310         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4311         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4312         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4313         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4314         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4315         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4316         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4317         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4318         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4319         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4320         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4321         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4322         setrlimit and getrlimit.
4323         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4324         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4325         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4328         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4329         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4330         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4331         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4332         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4333         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4334         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4335         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4336         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4337         (__old_getrlimit64): Add compatibility symbol.
4338         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4340 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
4342         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4343         newly built gmp, mpfr and mpc.
4345         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4347 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4349         * conform/Makefile (linknamespace-libs): Rename to
4350         linknamespace-libs-thr.
4351         (linknamespace-libs-posix): New variable.
4352         (linknamespace-libs-xsi): Likewise.
4353         (linknamespace-libs-XPG3): Include libcrypt.a.
4354         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4355         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4356         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4357         (linknamespace-libs-XOPEN2K): Likewise.
4358         (linknamespace-libs-XOPEN2K8): Likewise.
4359         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4361         [BZ #20829]
4362         * stdio-common/Versions (__snprintf): Add to version
4363         GLIBC_PRIVATE.
4364         * include/stdio.h (__snprintf): Use libc_hidden_proto.
4365         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4366         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4367         of snprintf.
4368         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4370 2016-11-16  Zack Weinberg  <zackw@panix.com>
4372         * string/string.h: Remove obsolete comment stating that
4373         strcoll_l and strxfrm_l have not yet been standardized.
4375 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4377         * hurd/hurd.h (__hurd_fail_noerrno): New function.
4378         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4379         __access_noerrno.
4380         * io/access.c (__access_noerrno): New function.
4381         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4382         (hurd_fail_seterrno): Likewise.
4383         (access_common): Likewise.
4384         (__access_noerrno): Likewise.
4385         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4386         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4387         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4388         macro.
4390 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
4392         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4393         Only declare fpregs if [__SH_FPU_ANY__].
4395 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
4397         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4398         Make code unconditional.
4399         [!(__SH4__ || __SH4A__)]: Remove conditional code.
4401 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
4403         * manual/sysinfo.texi (S_APPEND): Delete.
4404         (S_IMMUTABLE): Likewise.
4406 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
4407             Magnus Granberg  <zorry@gentoo.org>
4408             Mike Frysinger  <vapier@gentoo.org>
4410         [BZ #20662]
4411         * configure.ac (libc_cv_predef_stack_protector): Also check for
4412         __stack_chk_fail_local symbols.
4413         * configure: Regenerated.
4415 2016-11-15  Florian Weimer  <fweimer@redhat.com>
4417         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4418         (libc_hidden_def): Remove redefinition.
4419         (__sigsetjmp): Add hidden definition.
4420         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4421         (libc_hidden_def): Remove redefinition.
4422         (__sigsetjmp): Add hidden definition.
4424 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
4426         * scripts/build-many-glibcs.py (os.path): Do not import.
4427         (Context): Inherit explicitly from object.  Remove blank line
4428         between class and docstring.
4429         (Config): Likewise.
4430         (Glibc): Likewise.
4431         (Command): Likewise.
4432         (CommandList): Likewise.
4433         (Context.write_files): Store chmod mode in a variable.
4435         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4436         LIBC_SLIBDIR_RTLDDIR for tilegx32.
4437         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4439 2016-11-14  Zack Weinberg  <zackw@panix.com>
4441         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4442         creating or re-creating it.
4444         * string/bits/string2.h: Fix typo in comment.
4446 2016-11-14  Zack Weinberg  <zackw@panix.com>
4448         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4449         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4450         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4451         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4452         of redirected function names.
4454         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4455         as well.  Document that MESSAGE must be a single string literal.
4457 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
4459         * scripts/build-many-glibcs.py: New file.
4461         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4462         (do_test): Disable -Wmaybe-uninitialized around uses of
4463         except_mask.
4465         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4467 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
4469         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4470         (atomic_store_release): Provide tilepro-specific implementations.
4472 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
4474         * math/math.h (__MATH_TG): New macro.
4475         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4476         [__USE_ISOC99] (signbit): Likewise.
4477         [__USE_ISOC99] (isfinite): Likewise.
4478         [__USE_ISOC99] (isnan): Likewise.
4479         [__USE_ISOC99] (isinf): Likewise.
4480         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4481         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4482         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4483         __MATH_TG and __MATH_EVAL_FMT2.
4484         * sysdeps/generic/math_private.h (fabs_tg): Define using
4485         __MATH_TG.
4486         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4487         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4488         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4489         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4490         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4491         macro.
4492         (__iscanonical): Likewise.
4493         (iscanonical): Define using __MATH_TG.
4495 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4497         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4498         guards.
4500         * sysdeps/unix/sysv/linux/access.c: New file.
4501         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4503 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
4505         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4506         and __WORDSIZE32_PTRDIFF_LONG.
4508 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4510         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4512 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4514         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4515         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4516         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4517         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4518         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4520         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4521         * sysdeps/unix/sysv/linux/truncate.c: New file.
4522         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4523         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4524         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4525         Remove.
4526         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4527         Likewise.
4529         * posix/tst-truncate-common.c: New file.
4530         * posix/tst-truncate.c: Use tst-truncate-common.c.
4531         * posix/tst-truncate64.c: Likewise and add LFS tests.
4532         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4533         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4534         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4535         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4536         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4538         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4539         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4540         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4541         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4542         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4543         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4544         Remove.
4545         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4546         Likewise.
4548 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
4550         [BZ #20790]
4551         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4552         to MAXLINESIZE.
4553         * sunrpc/bug20790.x: New file.
4554         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4555         variable.
4556         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4557         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4559         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4561         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4563         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4564         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
4565         calloc, realloc, free, memalign and __libc_memalign rather than
4566         making them optional.
4568         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4569         for libc.so.
4571 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4573         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4574         ptw-lseek64.
4575         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4576         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
4577         Likewise.
4578         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4579         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4580         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4581         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4582         * sysdeps/unix/sysv/linux/lseek.c: New file.
4583         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4584         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4585         __libc_lseek64 from auto-generation.
4586         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4587         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4589 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4591         * nptl/tst-basic1.c (tf, do_test): Use write_message.
4592         * nptl/tst-cleanup1.c (do_test): Likewise.
4593         * nptl/tst-cleanup3.c (do_test): Likewise.
4594         * nptl/tst-key1.c (do_test): Likewise.
4595         * nptl/tst-key2.c (tf, do_test): Likewise.
4596         * nptl/tst-key3.c (tf, do_test): Likewise.
4597         * nptl/tst-stdio1.c (do_test): Likewise.
4598         * nptl/tst-stdio2.c (do_test): Likewise.
4600         * nptl/tst-kill3.c (handler): Use write_message in place of write.
4601         * nptl/tst-kill6.c (handler): Likewise.
4602         * nptl/tst-tls2.c (CB): Likewise.
4603         * nptl/tst-tls3.c (CB): Likewise.
4605 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
4607         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4609 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
4610             Steve Ellcey  <sellcey@caviumnetworks.com>
4612         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4613           __ASSUME_ST_INO_64_BIT as 0
4614         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4615         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4616           over the code where __ASSUME_ST_INO_64_BIT is used.
4617         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4618         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4619         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4621 2016-11-07  Florian Weimer  <fweimer@redhat.com>
4623         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4624         Document ABI exposure of the __kind offset.
4625         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4626         Mention reason for the __kind offset exposure in the ABI.
4627         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4628         Likewise.
4629         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4630         Likewise.
4631         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4632         Likewise.
4633         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4634         (struct __pthread_mutex_s): Likewise.
4635         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4636         Likewise.
4637         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4638         Likewise.
4639         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4640         Likewise.
4641         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4642         Likewise.
4643         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4644         Likewise.
4645         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4646         Likewise.
4647         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4648         (struct __pthread_mutex_s): Likewise.
4649         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4650         (struct __pthread_mutex_s): Likewise.
4651         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4652         Likewise.
4654 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
4656         * test-skeleton.c: Document do_test usage.
4658 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
4660         * iconv/gconv.h (__gconv_info): Define __data element using a
4661         zero-length array.
4663 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
4665         * math/test-tgmath2.c: Split up test function.
4667 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4669         * Rules (tests-expected): New variable, depending on
4670         $(run-built-tests).
4671         (tests): Pass $(tests-expected) to merge-test-results.sh, not
4672         $(tests).
4674         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4675         $(tests-unsupported).
4677 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4679         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4680         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
4682 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4684         [BZ #20768]
4685         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4686         __fegetenv instead of fegetenv.
4688         [BZ #14139]
4689         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4690         (find_files): Obtain platform name from libm-test-ulps-name and
4691         store in %pplatforms.
4692         (canonicalize_platform): Remove.
4693         (print_platforms): Use $pplatforms directly.
4694         (by_platforms): Do not allow for platforms missing from
4695         %pplatforms.
4696         * sysdeps/aarch64/libm-test-ulps-name: New file.
4697         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4698         * sysdeps/arm/libm-test-ulps-name: Likewise.
4699         * sysdeps/generic/libm-test-ulps-name: Likewise.
4700         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4701         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4702         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4703         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4704         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4705         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4706         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4707         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4708         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4709         * sysdeps/nios2/libm-test-ulps-name: Likewise.
4710         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4711         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4712         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4713         * sysdeps/sh/libm-test-ulps-name: Likewise.
4714         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4715         * sysdeps/tile/libm-test-ulps-name: Likewise.
4716         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4718         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4720         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4721         (test-xfail-check-execstack): New variable.
4723         * sysdeps/mips/localplt.data: New file.
4725 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
4726             Steve Ellcey  <sellcey@caviumnetworks.com>
4728         * bits/wordsize.h: Add documentation.
4729         * sysdeps/aarch64/bits/wordsize.h : New file
4730         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4731         definitions.
4732         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4733         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4734         with #if instead of #ifdef.
4735         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4736         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4737         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4738         Add or change defines.
4739         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4740         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4741         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4742         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4743         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4744         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4745         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4746         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4747         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4748         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4749         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4750         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4751         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4752         * sysdeps/x86/bits/wordsize.h: Likewise.
4754 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
4755             Kevin Petit  <kevin.petit@arm.com>
4757         * sysdeps/aarch64/memchr.S (__memchr): New file.
4759 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
4761         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4763 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
4765         [BZ #19398]
4766         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4767         $(linknamespace-symlists-tests).
4769 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
4771         * time/tst-strptime2.c: Ignore -Wformat-length warning.
4773 2016-11-02  Florian Weimer  <fweimer@redhat.com>
4774             Carlos O'Donell  <carlos@redhat.com>
4776         [Bug #20729]
4777         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4778         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
4779         for -Os related change.
4781 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
4783         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4785 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
4787         [BZ #19673]
4788         * manual/math.texi (Exponents and Logarithms): Correct description
4789         of clog10.
4791 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
4793         [Bz #20729]
4794         * locale/weight.h: Include libc-internal.h.
4795         * locale/weightwc.h: Likewise.
4796         * nptl/nptl_dbP.h: Likewise.
4798 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
4800         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4801         when it is MACH_PORT_NULL.
4803 2016-10-31  Andreas Schwab  <schwab@suse.de>
4805         [BZ #20707]
4806         * posix/glob.c (glob): Initialize pglob before checking for
4807         GLOB_BRACE.  Don't call glob recursively if pattern contains no
4808         valid brace expression despite GLOB_BRACE.
4809         * posix/globtest.sh: Test it.
4811 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4813         [BZ #20729]
4814         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4815         Define.
4816         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4817         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4818         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4819         for seq2.back_us and seq1.back_us only for -Os compiles.
4820         * locale/weightwc.h (findix): Likewise.
4821         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4822         DB_GET_FIELD_ADDRESS only for -Os compiles.
4823         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4824         for slen only for -Os compiles.
4825         * string/strcoll_l.c (get_next_seq): Ignore
4826         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4827         for -Os compiles.
4829         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4830         * include/crypt.h: New file.
4832 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4834         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4835         from test-skeleton.c.
4836         (statclass): Replace calls to write with calls to write_message.
4838 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4840         * math/math.h
4841         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4842         New macro.
4843         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4844         Likewise.
4845         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4846         Likewise.
4847         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4848         SNANL.
4849         * math/test-double.h (snan_value_MACRO): New macro.
4850         * math/test-float.h (snan_value_MACRO): Likewise.
4851         * math/test-ldouble.h (snan_value_MACRO): Likewise.
4852         * math/libm-test.inc (issignaling_test_data): Add tests of
4853         snan_value_MACRO.
4855 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4857         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4858         behavior when eliding a lock not held by the current thread.
4859         * sysdeps/powerpc/nptl/elide.h: Likewise.
4861 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4863         [BZ #20728]
4864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4865         branch to _exit() by a function call.
4867 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4869         * malloc/malloc.c: Update chunk layout comments.
4870         (chunk_main_arena): Update comment.
4872 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4874         * crypt/sha256.c, crypt/sha256-block.c,
4875         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4876         sha256_process_block to __sha256_process_block.
4877         * crypt/sha512.c, crypt/sha512-block.c,
4878         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4879         sha512_process_block to __sha512_process_block.
4881 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
4883         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4885         * math/test-nan-overflow.c: Include stdlib.h for malloc.
4887 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
4889         [BZ #20019]
4890         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4891         definition in unrelocated shared library.
4892         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4894 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4896         [BZ #20729]
4897         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4898         * sysdeps/unix/sysv/linux/i386/Makefile
4899         (uses-6-syscall-arguments): Define.
4900         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4901         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4902         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4903         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4904         Likewise.
4905         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4906         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4907         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4908         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4909         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4910         (CFLAGS-fallocate64.os): Likewise.
4911         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4912         (CFLAGS-pthread_rwlock_timedrdlock.os)
4913         (CFLAGS-pthread_rwlock_timedwrlock.o)
4914         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4915         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4916         (CFLAGS-sem_timedwait.os): Likewise.
4918 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4920         * elf/tst-linkall-static.c: New file.
4921         * elf/Makefile (tests-static): Add tst-linkall-static.
4922         (tst-linkall-static): Link against static libraries.
4924 2016-10-27  Florian Weimer  <fweimer@redhat.com>
4926         * malloc/malloc.c (sysmalloc): Initialize previous size field of
4927         mmaped chunks.
4929 2016-10-28  Florian Weimer  <fweimer@redhat.com>
4931         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4932         members to mchunk_prev_size, mchunk_size.
4933         (chunk_main_arena): Reverse sense and rename from
4934         chunk_non_main_arena.
4935         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4936         mchunk_size instead of size.
4937         (set_non_main_arena): Define.
4938         (chunksize): Use chunksize_nomask instead of direct member access.
4939         (chunksize_nomask): Define.
4940         (next_chunk): Use chunksize instead of direct member access.
4941         (prev_size, set_prev_size): Define.
4942         (prev_chunk): Use prev_size instead of direct member access.
4943         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4944         (inuse_bit_at_offset, set_inuse_bit_at_offset)
4945         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4946         (mchunk_prev_size, mchunk_size): Poison tokens.
4947         (unlink): Use chunksize_nomask, prev_size accessors.
4948         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4949         (do_check_free_chunk): Use prev_size accessor.
4950         (sysmalloc): Use set_prev_size, set_head accessors.
4951         (munmap_chunk, mremap_chunk): Use prev_size accessor.
4952         (__libc_free): Use chunksize_nomask accessor.
4953         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4954         chunk_main_arena accessors.
4955         (_int_free): Use chunksize_nomask, prev_size accessors.
4956         (malloc_consolidate): Use chunksize, prev_size accessors.
4957         (_int_realloc): Use chunksize_nomask accessor.
4958         (_int_memalign): Use set_prev_size accessor.
4959         (__malloc_info): Use chunksize_nomask accessor.
4960         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4961         accessors.
4962         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4963         (heap_trim): Use chunksize_nomask, prev_size accessors.
4965 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
4967         [BZ #19380]
4968         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4969         for inexact results.
4970         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4971         of inexact result where mpfr_subnormalize is the only inexact
4972         step.
4973         * stdlib/tst-strtod-round-data.h: Regenerated.
4974         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4975         Define to 0.
4976         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4978 2016-10-27  David S. Miller  <davem@davemloft.net>
4980         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4982 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4984         * malloc/malloc.c (do_set_mallopt_check): New function.
4985         (do_set_mmap_threshold): Likewise.
4986         (do_set_mmaps_max): Likewise.
4987         (do_set_top_pad): Likewise.
4988         (do_set_perturb_byte): Likewise.
4989         (do_set_trim_threshold): Likewise.
4990         (do_set_arena_max): Likewise.
4991         (do_set_arena_test): Likewise.
4992         (__libc_mallopt): Use them.
4994 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
4996         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4997         (canonicalize): New declaration.
4998         * math/Versions (canonicalize): New libm symbol at version
4999         GLIBC_2.25.
5000         (canonicalizef): Likewise.
5001         (canonicalizel): Likewise.
5002         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
5003         * math/s_canonicalize_template.c: New file.
5004         * math/libm-test.inc: Update comment on functions tested and
5005         testing of NaN payloads.
5006         (TEST_NAN_PAYLOAD): New macro.
5007         (NO_TEST_INLINE): Update value.
5008         (XFAIL_TEST): Likewise.
5009         (ERRNO_UNCHANGED): Likewise.
5010         (ERRNO_EDOM): Likewise.
5011         (ERRNO_ERANGE): Likewise.
5012         (IGNORE_RESULT): Likewise.
5013         (NON_FINITE): Likewise.
5014         (TEST_SNAN): Likewise.
5015         (NO_TEST_MATHVEC): Likewise.
5016         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
5017         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
5018         (struct test_Ffp_b1_data): New type.
5019         (RUN_TEST_Ffp_b1): New macro.
5020         (RUN_TEST_LOOP_Ffp_b1): Likewise.
5021         (canonicalize_test_data): New array.
5022         (canonicalize_test): New function.
5023         (main): Call canonicalize_test.
5024         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
5025         canonicalizef and canonicalizel.
5026         * manual/libm-err-tab.pl: Update comment on interfaces without
5027         ulps tabulated.
5028         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
5029         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
5030         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5031         canonicalize.
5032         (CFLAGS-nldbl-canonicalize.c): New variable.
5033         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
5034         to ...
5035         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
5036         ... here.
5037         (do_test): Also test canonicalizel.
5038         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
5039         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
5040         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
5041         file.
5042         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
5043         Use libm_hidden_def.
5044         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
5045         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
5046         (do_test): Also test canonicalizel.
5047         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
5048         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
5049         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
5050         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
5051         libm_hidden_def.
5052         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
5053         macro.
5054         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
5055         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
5056         * sysdeps/nacl/libm.abilist: Update.
5057         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5058         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5059         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5060         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5061         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5062         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5063         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5064         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5065         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5066         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5067         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5068         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5070         Likewise.
5071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5072         Likewise.
5073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5076         Likewise.
5077         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5078         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5079         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5080         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5081         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5082         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5083         Likewise.
5084         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5085         Likewise.
5086         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5087         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5088         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5090         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5091         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5092         getpayload.
5093         (CFLAGS-nldbl-getpayload.c): New variable.
5095 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5097         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5098         integer from the format string.
5100 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5102         [BZ #19473]
5103         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5104         declarations.
5105         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5106         weak aliases.
5107         * malloc/hooks.c (__malloc_get_state): Remove definition.
5108         (malloc_get_state): New stub implementation as
5109         compatibility symbol.
5110         (malloc_set_state): Rename from __malloc_set_state.  Turn into
5111         compat symbol.
5112         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5113         malloc_set_state.
5114         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5116 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5118         * iconvdata/iso646.c (enum variant): Drop illegal_var.
5119         (names): Turn into concatenation of strings.
5120         (gconv_init): Adapt iteration over names.
5122 2016-10-26  Florian Weimer  <fweimer@redhat.com>
5124         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5125         make const.
5126         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5127         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5128         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5129         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5130         character in sbconv.
5131         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5132         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5133         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5135 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
5137         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
5139         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
5140         (M_TRIM_THRESHOLD): Likewise.
5142         * manual/memory.texi (M_ARENA_TEST): Add documentation.
5143         (M_ARENA_MAX): Likewise.
5144         * malloc/malloc.c: Remove obsolete comment.
5146         * manual/memory.texi: Add environment variable alternatives to
5147         setting mallopt parameters.
5149 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
5151         * include/atomic.h
5152         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5153         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
5155 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5157         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
5158         * stdlib/tst-strfrom.h: New file.
5159         * stdlib/tst-strfrom.c: New file.
5160         * stdlib/tst-strfrom-locale.c: New file.
5162         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
5163         * stdlib/bug-strtod2.c: Likewise.
5164         * stdlib/tst-strtod-round-skeleton.c: Likewise.
5165         * stdlib/tst-strtod6.c: Likewise.
5166         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
5168 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5170         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
5171         * manual/arith.texi: Document strfromd, strfromf, strfroml.
5172         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
5173         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
5174         * stdlib/stdlib.h (strfromd): New declaration.
5175         (strfromf): Likewise.
5176         (strfroml): Likewise.
5177         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
5178         strfrom.
5179         * stdlib/strfromd.c: New file.
5180         * stdlib/strfromf.c: Likewise.
5181         * stdlib/strfroml.c: Likewise.
5182         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
5183         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
5184         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
5185         * sysdeps/arm/nacl/libc.abilist: Update.
5186         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5187         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5188         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5189         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5190         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5191         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5192         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5193         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5194         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5195         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5197         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5198         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5199         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5204         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5205         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5206         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5207         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5208         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5209         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5211         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5212         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5213         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5215 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
5217         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
5218         instead of cmpli.
5219         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
5220         instead of cmpli.
5222 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
5224         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
5225         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5226         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5227         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5228         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5229         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5231 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5233         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
5234         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5235         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
5236         SYSCALL_LL64_PRW.
5237         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5238         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
5239         __ASSUME_PRW_DUMMY_ARG.
5240         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
5241         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5242         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5243         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5244         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
5245         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
5247 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
5249         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
5251 2016-10-22  Florian Weimer  <fweimer@redhat.com>
5253         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
5254         "C++", to override a potential extern "C" directive around the
5255         header file inclusion.
5257 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
5259         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
5261 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5263         * sysdeps/powerpc/fpu/fenv_private.h:
5264         (_FPU_MASK_ALL): Rename to...
5265         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
5266         XE FPSCR bits.
5268         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
5270         (_FPU_MASK_ROUNDING): Rename to...
5271         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
5272         NI bits.
5274         (_FPU_MASK_EXCEPT_ROUND): Rename to...
5275         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
5276         bits and rounding bits.
5278         (__libc_feholdbits_ppc): New inline function to mask, set,
5279         and pontentially clear FSPCR bits, and change MSR[FE] bits.
5280         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
5281         (libc_feholdexcept_setround_ppc): Likewise.
5283         (__libc_femergeenv_ppc): New function to dynamically mask both
5284         old and new FP environments and merge.
5285         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
5286         (libc_feresetround_ppc): Likewise.
5287         (libc_feupdateenv_test_ppc): Likewise.
5288         (libc_feupdateenv_ppc): Likewise.
5290         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
5291         of ISA RN bits, and update macro names.
5292         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
5293         effectively the same as the previously mentioned function.
5295         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
5296         usage with fe_resetround_ppc.
5298         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
5299         to be used.
5300         (libc_feholdexcept_setround_ctxf): Likewise.
5301         (libc_feholdexcept_setround_ctxl): Likewise.
5303 2016-10-21  Florian Weimer  <fweimer@redhat.com>
5305         [BZ #20715]
5306         * math/math.h [__cplusplus] (iszero): Define as function template.
5307         * math/Makefile [CXX] (tests): Add test-math-iszero.
5308         (CFLAGS-test-math-iszero.cc): Set.
5309         * math/test-math-iszero.cc: New file.
5311 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
5313         [BZ #20660]
5314         * sysdeps/arm/e_sqrt.c: New file.
5315         * sysdeps/arm/e_sqrtf.c: Likewise.
5317 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
5319         [BZ #20718]
5320         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5321         not use floating-point comparisons to test sign.
5322         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5323         Likewise.
5325         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5326         (getpayload): New declaration.
5327         * math/Versions (getpayload): New libm symbol at version
5328         GLIBC_2.25.
5329         (getpayloadf): Likewise.
5330         (getpayloadl): Likewise.
5331         * math/Makefile (libm-calls): Add s_getpayloadF.
5332         * math/libm-test.inc: Include <nan-high-order-bit.h>.
5333         (struct test_f_f_data): Add comment.
5334         (RUN_TEST_fp_f): New macro.
5335         (RUN_TEST_LOOP_fp_f): Likewise.
5336         (getpayload_test_data): New array.
5337         (getpayload_test): New function.
5338         (main): Call getpayload_test.
5339         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5340         descriptor.
5341         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5342         getpayloadf and getpayloadl.
5343         * manual/libm-err-tab.pl: Update comment on interfaces without
5344         ulps tabulated.
5345         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5346         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5347         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5348         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5349         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5350         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5351         * sysdeps/nacl/libm.abilist: Update.
5352         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5353         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5354         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5355         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5356         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5357         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5358         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5359         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5360         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5361         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5362         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5363         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5365         Likewise.
5366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5367         Likewise.
5368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5369         Likewise.
5370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5373         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5374         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5375         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5376         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5378         Likewise.
5379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5380         Likewise.
5381         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5382         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5383         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5385 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5387         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5388         tst-fallocate{64}.
5389         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5390         on syscall return.
5392 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
5394         [BZ #20689]
5395         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5396         usable.
5398 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
5400         * sysdeps/generic/nan-high-order-bit.h: New file.
5401         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5402         * sysdeps/mips/nan-high-order-bit.h: Likewise.
5403         * sysdeps/hppa/math_private.h: Remove file.
5404         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5405         not define here.
5406         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5407         <nan-high-order-bit.h>.
5408         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5409         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5410         <nan-high-order-bit.h>.
5411         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5412         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5413         <nan-high-order-bit.h>.
5414         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5415         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5416         <nan-high-order-bit.h>.
5417         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5418         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5419         <nan-high-order-bit.h>.
5420         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5421         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5422         <nan-high-order-bit.h>.
5423         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5424         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5425         <nan-high-order-bit.h>.
5426         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5427         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5428         <nan-high-order-bit.h>.
5429         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5430         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5431         <nan-high-order-bit.h>.
5432         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5433         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5434         <nan-high-order-bit.h>.
5435         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5436         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5437         <nan-high-order-bit.h>.
5438         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5439         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5440         <nan-high-order-bit.h>.
5441         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5442         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5443         <nan-high-order-bit.h>.
5444         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5445         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5446         <nan-high-order-bit.h>.
5447         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5448         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5449         <nan-high-order-bit.h>.
5450         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5451         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5452         <nan-high-order-bit.h>.
5453         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5454         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5455         <nan-high-order-bit.h>.
5456         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5457         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5458         <nan-high-order-bit.h>.
5459         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5461 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
5463         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5465 2016-09-22  John David Anglin  <dave.anglin@bell.net>
5467         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5468         abort-instr.h.
5469         (EFAULT): Remove conditional define.
5470         (ENOSYS): Likewise.
5471         (atomic_compare_and_exchange_val_acq): Use instruction nullification
5472         instead of conditional branch instructions.
5474 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
5476         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5477         (totalordermag): New declaration.
5478         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5479         New macro.
5480         * math/Versions (totalordermag): New libm symbol at version
5481         GLIBC_2.25.
5482         (totalordermagf): Likewise.
5483         (totalordermagl): Likewise.
5484         * math/Makefile (libm-calls): Add s_totalordermagF.
5485         * math/libm-test.inc (totalordermag_test_data): New array.
5486         (totalordermag_test): New function.
5487         (main): Call totalordermag_test.
5488         * math/test-tgmath.c (NCALLS): Increase to 125.
5489         (F(compile_test)): Call totalordermag.
5490         (F(totalordermag)): New function.
5491         * manual/arith.texi (FP Comparison Functions): Document
5492         totalordermag, totalordermagf and totalordermagl.
5493         * manual/libm-err-tab.pl: Update comment on interfaces without
5494         ulps tabulated.
5495         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5496         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5497         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5498         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5499         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5500         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5501         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5502         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5503         totalordermag.
5504         (CFLAGS-nldbl-totalordermag.c): New variable.
5505         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5506         (do_test): Also test totalordermagl.
5507         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5508         Likewise.
5509         * sysdeps/nacl/libm.abilist: Update.
5510         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5511         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5512         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5513         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5514         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5515         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5516         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5517         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5518         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5519         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5520         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5521         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5523         Likewise.
5524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5525         Likewise.
5526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5527         Likewise.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5529         Likewise.
5530         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5531         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5532         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5533         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5534         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5536         Likewise.
5537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5538         Likewise.
5539         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5540         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5541         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5543 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
5545         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5546         boolean.
5548 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
5550         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5551         raising FE_INVALID with feraisexcept in case where part of
5552         argument is infinite, subtract that part of argument from itself.
5553         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5554         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5555         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5557 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5559         * math/libm-test.inc (totalorder_test_data): Add more tests.
5561 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5563         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5564         Undefine weak_alias and add a comment why mips64 require
5565         versioning.
5567 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
5569         [BZ #20647]
5570         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5571         maximum CPUID level is less than 2.
5573 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
5575         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5576         (totalorder): New declaration.
5577         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5578         New macro.
5579         * math/Versions (totalorder): New libm symbol at version
5580         GLIBC_2.25.
5581         (totalorderf): Likewise.
5582         (totalorderl): Likewise.
5583         * math/Makefile (libm-calls): Add s_totalorderF.
5584         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5585         string.
5586         * math/libm-test.inc (PAYLOAD_DIG): New macro.
5587         (qnan_value_pl): Likewise.
5588         (snan_value_pl): Likewise.
5589         (qnan_value): Define using qnan_value_pl.
5590         (snan_value): Define using snan_value_pl.
5591         (struct test_ff_i_data): Add comment about which tests use this
5592         structure.
5593         (RUN_TEST_ff_b): New macro.
5594         (RUN_TEST_LOOP_ff_b): Likewise.
5595         (totalorder_test_data): New array.
5596         (totalorder_test): New function.
5597         (main): Call totalorder_test.
5598         * math/test-tgmath.c (NCALLS): Increase to 122.
5599         (F(compile_test)): Call totalorder.
5600         (F(totalorder)): New function.
5601         * manual/arith.texi (FP Comparison Functions): Document
5602         totalorder, totalorderf and totalorderl.
5603         * manual/libm-err-tab.pl: Update comment on interfaces without
5604         ulps tabulated.
5605         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5606         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5607         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5608         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5609         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5610         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5611         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5612         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5613         totalorder.
5614         (CFLAGS-nldbl-totalorder.c): New variable.
5615         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5616         file.
5617         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5618         Add test-totalorderl-ldbl-128ibm.
5619         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5620         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5621         test-totalorderl-ldbl-96.
5622         * sysdeps/nacl/libm.abilist: Update.
5623         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5624         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5625         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5626         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5627         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5628         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5629         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5630         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5631         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5632         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5633         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5634         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5636         Likewise.
5637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5638         Likewise.
5639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5640         Likewise.
5641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5642         Likewise.
5643         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5644         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5645         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5646         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5647         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5649         Likewise.
5650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5651         Likewise.
5652         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5653         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5654         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5656 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5658         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5659         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5660         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5661         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5662         remove ENOSYS implementation.
5663         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5664         Consolidate all Linux implementations.
5666 2016-10-11  Florian Weimer  <fweimer@redhat.com>
5668         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5669         * resolv/herror.c (herror): Cast away const-ness.
5670         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5671         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5673 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
5675         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5676         instead of M_NAN + M_NAN.
5677         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5679 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5681         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5682         unused variable 'p'.
5684 2016-10-09  Alan Modra  <amodra@gmail.com>
5685             Andreas Schwab  <schwab@linux-m68k.org>
5687         [BZ #20554]
5688         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5689         [PIC && !SHARED]: Set up PIC register for PLT call.
5691 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
5693         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5694         conditional on value of [__FLT_EVAL_METHOD__].
5695         * math/test-iseqsig-excess-precision.c: New file.
5696         * math/Makefile (tests): Add test-iseqsig-excess-precision.
5698 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5700         * math/s_iseqsig_template.c: Include math-private.h.
5702         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5703         * posix/tst-posix_fadvise.c: New file.
5704         * posix/tst-posix_fadvise64.c: Likewise.
5705         * posix/tst-posix_fadvise-common.c: Likewise.
5706         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5707         (__ASSUME_FADVISE64_64_6ARG): Define.
5708         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5709         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5710         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5711         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5712         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5713         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5714         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5715         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5716         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5717         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5718         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5719         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5722         Likewise.
5723         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5724         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5725         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5726         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5727         Alias to __posix_fadvise64_l32.
5728         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5729         Add compat definition to posix_fadvise64.
5730         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5731         Add versioned definition to posix_fadvise64.
5732         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5733         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5734         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5735         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5736         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5738         * io/Makefile (tests): Add tst-posix_fallocate and
5739         tst-posix_fallocate64.
5740         * io/tst-posix_fallocate-common.c: New file.
5741         * io/tst-posix_fallocate.c: Likewise.
5742         * io/tst-posix_fallocate64.c: Likewise.
5743         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5744         file.
5745         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5746         Likewise.
5747         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5748         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5749         Likewise.
5750         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5751         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5752         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5753         SYSCALL_LL to pass both offset and len arguments.
5754         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5755         Likewise.
5756         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5757         __libc_pwrite64 alias used by posix_fallocate64.
5759         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5760         tst-fallocate64.
5761         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5762         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5763         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5764         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5765         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5766         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5767         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5768         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5769         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5770         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5771         macro on offset argument.
5772         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5773         SYSCALL_LL64 on offset argument.
5775         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5776         tst-fallocate64.
5777         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5778         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5779         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5780         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5781         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5782         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5783         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5784         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5785         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5786         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5787         macro on offset argument.
5788         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5789         SYSCALL_LL64 on offset argument.
5790         * test-skeleton.c (FAIL_RET): Add macro.
5791         (FAIL_EXIT): Likewise.
5792         (FAIL_EXIT1): Likewise.
5793         (_FAIL): Likewise.
5795 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5797         [BZ #20629]
5798         resolv: Remove RES_USEBSTRING and its implementation.
5799         * resolv/resolv.h (RES_USEBSTRING): Remove.
5800         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5801         (digitvalue, encode_bitstring, decode_bitstring): Remove.
5802         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5803         (labellen): Remove extended label types support.
5804         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5805         * resolv/res_init.c (res_setoptions): Likewise.
5806         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5808 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5810         resolv: Remove RES_NOIP6DOTINT and its implementation.
5811         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5812         (RES_NOIP6DOTINT): Remove.
5813         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5814         handling.
5815         * resolv/res_debug.c (p_option): Likewise.
5816         * resolv/res_init.c (res_setoptions): Likewise.
5817         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5819 2016-10-07  Florian Weimer  <fweimer@redhat.com>
5821         resolv: Deprecate unimplemented flags.
5822         * misc/sys/cdefs.h (__glibc_macro_warning1)
5823         (__glibc_macro_warning): Define.
5824         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5825         (RES_KEEPTSIG): Mark as deprecated.
5826         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5827         RES_NOCHECKNAME, RES_KEEPTSIG.
5828         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5830 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5832         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5833         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5834         Use strong_alias to create symbols for glibc verison 2.19.
5836 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5838         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5840 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5842         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5844 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5846         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5848 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5850         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5851         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5852         in header for using it as type for ifunc function because __GI_* symbols
5853         for ppc32 do not target the ifunc symbols.
5854         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5856 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5858         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5859         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5860         libc_ifunc_hidden_def.
5861         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5862         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5863         Redirect ifunced function in header for using it as type of ifunc'ed
5864         function. Redefine libc_hidden_def to use fallback non ifunc'ed
5865         function for __GI_* symbol.
5866         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5867         * include/libc-symbols.h
5868         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5870 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5872         [BZ #20478]
5873         * sysdeps/s390/multiarch/ifunc-resolve.h
5874         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5875         to create ifunc symbols.
5876         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5877         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5878         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5879         for using it as type for ifunc function.
5880         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5881         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5882         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5883         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5884         * sysdeps/s390/multiarch/strcat.c: Likewise.
5885         * sysdeps/s390/multiarch/strchr.c: Likewise.
5886         * sysdeps/s390/multiarch/strcmp.c: Likewise.
5887         * sysdeps/s390/multiarch/strcpy.c: Likewise.
5888         * sysdeps/s390/multiarch/strcspn.c: Likewise.
5889         * sysdeps/s390/multiarch/strlen.c: Likewise.
5890         * sysdeps/s390/multiarch/strncmp.c: Likewise.
5891         * sysdeps/s390/multiarch/strncpy.c: Likewise.
5892         * sysdeps/s390/multiarch/strnlen.c: Likewise.
5893         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5894         * sysdeps/s390/multiarch/strrchr.c: Likewise.
5895         * sysdeps/s390/multiarch/strspn.c: Likewise.
5896         * sysdeps/s390/multiarch/wcschr.c: Likewise.
5897         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5898         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5899         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5900         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5901         * sysdeps/s390/multiarch/wmemset.c: Likewise.
5902         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5903         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5904         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5905         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5906         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5907         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5909 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5911         * include/libc-symbols.h (__ifunc_resolver):
5912         New macro is used by __ifunc* macros.
5913         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5914         depending on HAVE_GCC_IFUNC.
5915         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5916         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5918         Redirect ifunced function in header for using as type for ifunc function.
5919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5923         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5924         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5925         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5926         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5927         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5928         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5929         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5930         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5932         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5934         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5936         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5938         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5939         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5940         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5941         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5942         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5943         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5944         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5945         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5946         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5947         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5948         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5949         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5950         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5951         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5953         Add libc_hidden_def() and use libc_ifunc_hidden() macro
5954         instead of libc_ifunc() macro.
5955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5956         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5958 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
5960         * config.h.in (HAVE_GCC_IFUNC): New undef.
5961         * configure.ac: Add check if gcc supports attribute ifunc feature.
5962         * configure: Regenerated.
5963         * manual/install.texi: Add recommendation for gcc with
5964         indirect-function support.
5965         * INSTALL: Regenerated.
5967 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
5969         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5970         macro.
5971         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5972         (__iseqsig): New declaration.
5973         * math/s_iseqsig_template.c: New file.
5974         * math/Versions (__iseqsigf): New libm symbol at version
5975         GLIBC_2.25.
5976         (__iseqsig): Likewise.
5977         (__iseqsigl): Likewise.
5978         * math/libm-test.inc (iseqsig_test_data): New array.
5979         (iseqsig_test): New function.
5980         (main): Call iseqsig_test.
5981         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5982         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5983         * manual/libm-err-tab.pl: Update comment on interfaces without
5984         ulps tabulated.
5985         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5986         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5987         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5988         * sysdeps/nacl/libm.abilist: Update.
5989         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5990         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5991         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5992         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5993         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5994         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5995         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5996         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5997         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5998         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5999         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
6000         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
6001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6002         Likewise.
6003         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6004         Likewise.
6005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6006         Likewise.
6007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6008         Likewise.
6009         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
6010         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
6011         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
6012         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
6013         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
6014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
6015         Likewise.
6016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
6017         Likewise.
6018         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
6019         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6020         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6022 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6024         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
6025         do_sincos_2, sloww, sloww1): Update comments.
6027         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
6028         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
6030         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
6031         K boolean and rename it.
6032         (__sin): Adjust.
6033         (__cos): Adjust.
6035 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6036             Siddhesh Poyarekar  <siddhesh@sourceware.org>
6038         * manual/nss.texi: Fix typos in the manual.
6040 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
6042         * manual/contrib.texi: Fix typos in the manual.
6044         * manual/maint.texi: Fix typos in the manual.
6046         * manual/install.texi: Fix typos in the manual.
6047         * INSTALL: Regenerated.
6049         * manual/lang.texi: Fix typos in the manual.
6051         * manual/probes.texi: Fix typos in the manual.
6053         * manual/threads.texi: Fix typos in the manual.
6055         * manual/debug.texi: Fix typos in the manual.
6057         * manual/crypt.texi: Fix typos in the manual.
6059         * manual/conf.texi: Fix typos in the manual.
6061         * manual/sysinfo.texi: Fix typos in the manual.
6063         * manual/users.texi: Fix typos in the manual.
6065         * manual/job.texi: Fix typos in the manual.
6067         * manual/process.texi: Fix typos in the manual.
6069         * manual/argp.texi: Fix typos in the manual.
6070         * manual/getopt.texi: Likewise.
6071         * manual/startup.texi: Likewise.
6073         * manual/signal.texi: Fix typos in the manual.
6075         * manual/setjmp.texi: Fix typos in the manual.
6077         * manual/resource.texi: Fix typos in the manual.
6079         * manual/time.texi: Fix typos in the manual.
6081         * manual/arith.texi: Fix typos in the manual.
6083         * manual/math.texi: Fix typos in the manual.
6085         * manual/syslog.texi: Fix typos in the manual.
6087         * manual/terminal.texi: Fix typos in the manual.
6089         * manual/socket.texi: Fix typos in the manual.
6091         * manual/filesys.texi: Fix typos in the manual.
6093         * manual/llio.texi: Fix typos in the manual.
6095         * manual/stdio.text: Fix typos in the manual.
6097 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6099         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6100         instead of K1.
6102         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6103         SHIFT_QUADRANT and make it bool.
6104         (do_sincos_2): Likewise.
6105         (sloww): Likewise.
6106         (sloww1): Likewise.
6107         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6108         (__cos): Likewise.
6110 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6112         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6114 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
6116         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6117         Define to __WORDSIZE, not conditional on [LONG_MAX ==
6118         0x7fffffffL].
6119         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6121 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6123         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6124         inline by __inline__.
6125         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6126         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6127         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6128         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6129         sigset_t from signal.h.
6130         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6131         which is already required.
6133 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6135         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6137 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
6139         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
6140         (struct tcp_repair_window): New type.
6142 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6144         * libio/tst-memstream3.c: Include string.h.
6146 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6148         [BZ #18241]
6149         [BZ #20181]
6150         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
6151         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
6152         write position is at the end the buffer.
6153         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
6154         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
6155         (_IO_str_seekoff): Set correct offset from negative displacement and
6156         set EINVAL for invalid ones.
6157         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
6158         buffer length.
6159         (_IO_wstr_switch_to_get_mode): New function.
6160         (_IO_wstr_seekoff): Set correct offset from negative displacement and
6161         set EINVAL for invalid ones.
6162         * libio/tst-memstream3.c: New file.
6163         * libio/tst-wmemstream3.c: Likewise.
6164         * manual/examples/memstrm.c: Remove warning when priting size_t.
6166 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
6168         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
6169         macro to use __builtin_fma.
6170         * sysdeps/x86_64/fpu/dla.h: Remove file.
6172         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6173         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
6174         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
6176 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
6178         [BZ #20292]
6179         * elf/Makefile (routines): Add dl-addr-obj.
6180         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
6181         tst-_dl_addr_inside_object.
6182         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
6183         [ifeq (yesyes,$(have-fpie)$(build-shared))]
6184         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
6185         [ifeq (yesyes,$(have-fpie)$(build-shared))]
6186         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
6187         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
6188         * elf/dl-open.c: Likewise.
6189         * elf/dl-addr-obj.c: New file.
6190         * elf/tst-_dl_addr_inside_object.c: New file.
6192 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
6194         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
6195         <bits/iscanonical.h>.
6196         * bits/iscanonical.h: New file.
6197         * math/s_iscanonicall.c: Likewise.
6198         * math/Versions (__iscanonicall): New libm symbol at version
6199         GLIBC_2.25.
6200         * math/libm-test.inc (iscanonical_test_data): New array.
6201         (iscanonical_test): New function.
6202         (main): Call iscanonical_test.
6203         * math/Makefile (headers): Add bits/iscanonical.h.
6204         (type-ldouble-routines): Add s_iscanonicall.
6205         * manual/arith.texi (Floating Point Classes): Document
6206         iscanonical.
6207         * manual/libm-err-tab.pl: Update comment on interfaces without
6208         ulps tabulated.
6209         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
6210         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
6211         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
6212         Likewise.
6213         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6214         test-iscanonical-ldbl-128ibm.
6215         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
6216         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
6217         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
6218         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
6219         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6220         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6221         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6223         Likewise.
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6225         Likewise.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6227         Likewise.
6228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6229         Likewise.
6230         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6231         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6233 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6235         * string/bits/string3.h: Remove C++ style comments.
6237 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6239         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
6240         instead of ternary condition.
6241         (do_sincos_2): Likewise.
6242         (__sin): Likewise.
6243         (__cos): Likewise.
6244         (slow): Likewise.
6245         (sloww): Likewise.
6246         (sloww1): Likewise.
6247         (bsloww): Likewise.
6248         (bsloww1): Likewise.
6250         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
6251         instead of ternary condition.
6252         (do_sin_slow): Likewise.
6253         (do_sincos_1): Likewise.
6254         (do_sincos_2): Likewise.
6255         (__cos): Likewise.
6256         (sloww): Likewise.
6257         (sloww1): Likewise.
6258         (sloww2): Likewise.
6259         (bsloww): Likewise.
6260         (bsloww1): Likewise.
6261         (bsloww2): Likewise.
6263         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
6264         check from here...
6265         (slow2): ... and here...
6266         (__sin): ... to here.
6268 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
6270         * math/math.h
6271         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
6272         Cast argument to its own type.
6273         * math/test-iszero-excess-precision.c: New file.
6274         * math/Makefile (tests): Add test-iszero-excess-precision.
6275         (CFLAGS-test-iszero-excess-precision.c): New variable.
6277 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
6279         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
6280         field, add err field.
6281         (__spawni_child): Report error through err member instead of pipe.
6282         (__spawnix): Likewise.
6284 2016-09-28  Zack Weinberg  <zackw@panix.com>
6286         * scripts/check-installed-headers.sh: Generalize treatment of
6287         sys/elf.h to all target architectures.
6289         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
6290         deleted typedef ucontext_t.
6292 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6294         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
6295         (__INTERNAL_SYSCALL1): Likewise.
6296         (__INTERNAL_SYSCALL2): Likewise.
6297         (__INTERNAL_SYSCALL3): Likewise.
6298         (__INTERNAL_SYSCALL4): Likewise.
6299         (__INTERNAL_SYSCALL5): Likewise.
6300         (__INTERNAL_SYSCALL6): Likewise.
6301         (__INTERNAL_SYSCALL7): Likewise.
6302         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
6303         (__INTERNAL_SYSCALL_NARGS): Likewise.
6304         (__INTERNAL_SYSCALL_DISP): Likewise.
6305         (INTERNAL_SYSCALL_CALL): Likewise.
6306         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
6307         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6308         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6309         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6310         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6311         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6312         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6313         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6314         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6315         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6316         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6317         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6318         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6320 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
6322         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6323         macro.
6324         * math/libm-test.inc (iszero_test_data): New array.
6325         (iszero_test): New function.
6326         (main): Call iszero_test.
6327         * manual/arith.texi (Floating Point Classes): Document iszero.
6328         * manual/libm-err-tab.pl: Update comment on interfaces without
6329         ulps tabulated.
6331 2016-09-23  Zack Weinberg  <zackw@panix.com>
6333         * scripts/check-installed-headers.sh: New script.
6334         * Rules: In each directory that defines header files to be installed,
6335         run check-installed-headers.sh on them as a special test.
6336         * Makefile: Likewise for the headers installed at top level.
6338         * include/aliases.h, include/alloca.h, include/argz.h
6339         * include/arpa/nameser.h, include/arpa/nameser_compat.h
6340         * include/elf.h, include/envz.h, include/err.h
6341         * include/execinfo.h, include/fpu_control.h, include/getopt.h
6342         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6343         * include/link.h, include/malloc.h, include/mcheck.h
6344         * include/mntent.h, include/netinet/ether.h
6345         * include/nss.h, include/obstack.h, include/printf.h
6346         * include/pty.h, include/resolv.h, include/rpc/auth.h
6347         * include/rpc/auth_des.h, include/rpc/auth_unix.h
6348         * include/rpc/clnt.h, include/rpc/des_crypt.h
6349         * include/rpc/key_prot.h, include/rpc/netdb.h
6350         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6351         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6352         * include/rpc/rpc_msg.h, include/rpc/svc.h
6353         * include/rpc/svc_auth.h, include/rpc/xdr.h
6354         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6355         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6356         * include/rpcsvc/ypupd.h, include/shadow.h
6357         * include/stdio_ext.h, include/sys/epoll.h
6358         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6359         * include/sys/prctl.h, include/sys/profil.h
6360         * include/sys/statfs.h, include/sys/sysctl.h
6361         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6362         * sysdeps/arm/nacl/include/bits/setjmp.h
6363         * sysdeps/mips/include/sys/asm.h
6364         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6365         * sysdeps/unix/sysv/linux/include/sys/timex.h
6366         * sysdeps/x86/fpu/include/bits/fenv.h:
6367         Add #ifndef _ISOMAC guard around internal declarations.
6368         Add multiple-inclusion guard if not already present.
6370 2016-09-23  Zack Weinberg  <zackw@panix.com>
6372         * sysdeps/generic/sys/ucontext.h
6373         * sysdeps/arm/sys/ucontext.h
6374         * sysdeps/i386/sys/ucontext.h
6375         * sysdeps/m68k/sys/ucontext.h
6376         * sysdeps/mips/sys/ucontext.h
6377         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6378         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6379         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6380         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6381         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6382         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6383         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6384         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6385         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6386         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6387         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6388         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6389         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6390         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6391         Include both bits/sigcontext.h and bits/sigstack.h.
6392         Fix grammar error in comment, if present.
6394         * bits/sigstack.h
6395         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6396         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6397         * sysdeps/unix/sysv/linux/bits/sigstack.h
6398         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6399         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6400         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6401         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6402         * bits/sigcontext.h
6403         * sysdeps/mach/hurd/i386/bits/sigcontext.h
6404         * sysdeps/unix/sysv/linux/bits/sigcontext.h
6405         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6406         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6407         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
6408         as well as signal.h, if this was not already allowed.  Request
6409         definition of size_t if necessary.  Minimize semantically-null
6410         differences across files.
6412 2016-09-23  Zack Weinberg  <zackw@panix.com>
6414         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6415         Remove all logic conditional on __need macros.  Move all the
6416         conditionally defined types to their own headers...
6417         * time/bits/types/clock_t.h: Define clock_t here.
6418         * time/bits/types/clockid_t.h: Define clockid_t here.
6419         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6420         * time/bits/types/struct_timespec.h: Define struct timespec here.
6421         * time/bits/types/struct_timeval.h: Define struct timeval here.
6422         * time/bits/types/struct_tm.h: Define struct tm here.
6423         * time/bits/types/time_t.h: Define time_t here.
6424         * time/bits/types/timer_t.h: Define timer_t here.
6425         * time/Makefile: Install the new headers.
6427         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6428         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6429         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6430         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6431         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6432         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6433         * sysdeps/unix/sysv/linux/bits/resource.h
6434         * sysdeps/unix/sysv/linux/bits/timex.h
6435         * sysdeps/unix/sysv/linux/mips/bits/resource.h
6436         * sysdeps/unix/sysv/linux/net/ppp_defs.h
6437         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6438         * sysdeps/unix/sysv/linux/sys/acct.h
6439         * sysdeps/unix/sysv/linux/sys/timerfd.h
6440         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6441         * time/sys/time.h, time/sys/timeb.h
6442         Use the new bits/types headers.
6444         * include/time.h: Remove __need logic.
6445         * include/bits/time.h
6446         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6447         * include/bits/types/time_t.h, include/bits/types/timer_t.h
6448         * include/bits/types/struct_itimerspec.h
6449         * include/bits/types/struct_timespec.h
6450         * include/bits/types/struct_timeval.h
6451         * include/bits/types/struct_tm.h:
6452         New wrapper headers.
6454 2016-09-23  Zack Weinberg  <zackw@panix.com>
6456         * sysdeps/mach/hurd/net/if_ppp.h
6457         * sysdeps/unix/sysv/linux/net/if_ppp.h:
6458         Only define struct ifpppstatsreq and struct ifpppcstatsreq
6459         if __USE_MISC is defined, to ensure struct ifreq is declared.
6461         * inet/netinet/ether.h: Condition all function prototypes
6462         on __USE_MISC, to ensure struct ether_addr is declared.
6464         * socket/bits/types/struct_osockaddr.h: New header.
6465         * include/bits/types/struct_osockaddr.h: New wrapper.
6466         * socket/Makefile: Install the new header.
6467         * socket/sys/socket.h, inet/protocols/talkd.h:
6468         Refer to bits/types/struct_osockaddr.h for the definition of
6469         struct osockaddr.
6471 2016-09-23  Zack Weinberg  <zackw@panix.com>
6473         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6474         * inet/protocols/routed.h, inet/protocols/talkd.h
6475         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6476         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6477         * sysdeps/generic/netinet/if_ether.h
6478         * sysdeps/generic/netinet/in_systm.h
6479         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6480         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6481         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6482         * sysdeps/mach/hurd/net/if_arp.h
6483         * sysdeps/mach/hurd/net/if_ppp.h
6484         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6485         * sysdeps/unix/sysv/linux/bits/in.h
6486         * sysdeps/unix/sysv/linux/net/ethernet.h
6487         * sysdeps/unix/sysv/linux/net/if_arp.h
6488         * sysdeps/unix/sysv/linux/net/if_ppp.h
6489         * sysdeps/unix/sysv/linux/net/if_shaper.h
6490         * sysdeps/unix/sysv/linux/net/route.h
6491         * sysdeps/unix/sysv/linux/netinet/if_ether.h
6492         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6493         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6494         * sysdeps/unix/sysv/linux/netipx/ipx.h
6495         * sysdeps/unix/sysv/linux/sys/acct.h
6496         * include/arpa/nameser.h, include/resolv.h:
6497         Change all uses of u_char to unsigned char,
6498         u_short and ushort to unsigned short, u_int and uint to unsigned int,
6499         u_long and ulong to unsigned long, u_int8_t to uint8_t,
6500         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6501         and u_int64_t and u_quad_t to uint64_t.
6503         * mach/sys/reboot.h: Remove two casts of integer literals
6504         to the types they already have.
6506         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6507         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6508         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6509         from referring to 'unsigned char' to 'uint8_t' for consistency with
6510         the macro definition below.
6512         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6513         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6514         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6515         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6516         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6517         * sysdeps/unix/sysv/linux/sys/acct.h
6518         * include/arpa/nameser.h, include/resolv.h:
6519         Fix indentation disrupted by mechanical edits.
6521         * inet/protocols/talkd.h, resolv/arpa/nameser.h
6522         * sysdeps/generic/netinet/in_systm.h
6523         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6524         * sysdeps/gnu/netinet/udp.h
6525         * sysdeps/unix/sysv/linux/net/ethernet.h
6526         * sysdeps/unix/sysv/linux/net/if_arp.h
6527         * sysdeps/unix/sysv/linux/net/if_ppp.h
6528         * sysdeps/unix/sysv/linux/net/if_shaper.h
6529         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6530         * sysdeps/unix/sysv/linux/netinet/if_tr.h
6531         * sysdeps/unix/sysv/linux/netipx/ipx.h
6532         * sysdeps/unix/sysv/linux/sys/acct.h
6533         Include stdint.h for uintNN_t definitions.
6534         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6536 2016-09-23  Zack Weinberg  <zackw@panix.com>
6538         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6539         * sysdeps/unix/sysv/linux/netrose/rose.h:
6540         Include sys/socket.h and netax25/ax25.h.
6542         * inet/netinet/icmp6.h, inet/netinet/ip6.h
6543         * resolv/arpa/nameser_compat.h:
6544         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6546         * sysdeps/unix/sysv/linux/sys/quota.h:
6547         Use __caddr_t instead of caddr_t.
6548         * sysdeps/unix/sysv/linux/sys/timerfd.h:
6549         Use __clockid_t instead of clockid_t.
6551         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6553         * argp/argp.h: Check whether _LIBC is defined before expanding it.
6554         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6555         expanding it.
6557         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6558         Define __glibc_c99_flexarr_available to 1 when the compiler
6559         supports C99-compatible flexible array members, 0 otherwise.
6560         * sysdeps/unix/sysv/linux/bits/socket.h
6561         * sysdeps/mach/hurd/bits/socket.h
6562         * bits/socket.h: Use __glibc_c99_flexarr_available in
6563         definitions of struct cmsghdr and CMSG_DATA.
6565 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6567         * manual/nss.texi (NSS Modules Interface): Adjust function return
6568         type to enum nss_status.  Document errnop argument.  Clarify
6569         h_errnop semantics.  Fix cross-reference formatting.
6570         (NSS Module Function Internals): Mention that *errnop needs to be
6571         set on failure, but not to zero.
6573 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6575         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6576         (get_random_name): New functions.
6577         (check_wrapper_flags_mode): Use linkat to give the new file a name
6578         determined by get_random_name.
6579         (do_test): Add calls to test open64 and openat64.
6581 2016-09-23  Florian Weimer  <fweimer@redhat.com>
6583         * test-skeleton.c: Remove #include <stdarg.h>.
6585 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
6587         [BZ #19826]
6588         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6589         initialization of static TLS entries.
6590         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6591         * nptl/allocatestack.c (init_one_static_tls): Likewise.
6593 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6595         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6596         _hurd_malloc_fork_prepare.
6597         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6598         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6599         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6600         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6601         (_hurd_fork_child_hook): Drop malloc_fork_child.
6602         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6603         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6604         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6605         after locking locks (notably hurd_dtable_lock). Call
6606         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6607         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6608         __malloc_fork_unlock_child.
6609         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6611 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
6613         * soft-fp/extendhftf2.c: New.
6614         * soft-fp/fixhfti.c: Likewise.
6615         * soft-fp/fixunshfti.c: Likewise.
6616         * soft-fp/floattihf.c: Likewise.
6617         * soft-fp/floatuntihf.c: Likewise.
6618         * soft-fp/half.h: Likewise.
6619         * soft-fp/trunctfhf2.c: Likewise.
6621 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
6623         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6624         macro.
6625         * math/libm-test.inc (issubnormal_test_data): New array.
6626         (issubnormal_test): New function.
6627         * manual/arith.texi (Floating Point Classes): Document
6628         issubnormal.
6629         * manual/libm-err-tab.pl: Update comment on interfaces without
6630         ulps tabulated.
6632         * sysdeps/generic/stdint.h: Define
6633         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6634         <bits/libc-header-start.h> instead of including <features.h>.
6635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6636         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6637         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6639         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6641         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6642         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6644         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6645         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6647         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6648         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6650         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6651         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6653         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6654         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6656         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6657         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6658         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6659         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6660         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6661         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6662         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6664         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6665         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6666         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6667         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6668         * manual/arith.texi (Integers): Document these macros for types
6669         specified by width properties.
6670         * manual/lang.texi (Width of Type): Document these macros for
6671         other standard typedefs.
6672         * stdlib/tst-width-stdint.c: New file.
6673         * stdlib/Makefile (tests): Add tst-width-stdint.
6675 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6677         [BZ #20016]
6678         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6679         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6680         Move ...
6681         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6682         ... here, as compatibility symbols in a new file.
6683         * resolv/Makefile (libresolv-routines): Add compat-hooks.
6684         * resolv/res_init.c (__res_vinit): Adjust member names.
6685         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6686         * resolv/resolv.h (res_sendhookact, res_send_qhook)
6687         (res_send_rhook): Remove.
6688         (struct __res_state): Rename qhook, rhook members.
6690 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6692         malloc: Use __libc_lock wrappers.
6693         * malloc/arena.c (list_lock, free_list_lock): Define using
6694         __libc_lock_define_initialized.
6695         (arena_lock): Adjust formatting.
6696         * malloc/malloc.c (struct malloc_state): Define mutex using
6697         __libc_lock_define.
6698         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6699         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6700         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6701         (mutex_unlock, mutex_trylock): Remove.
6702         (__pthread_initialize): Remove unused macro.
6703         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6704         (mutex_unlock, mutex_trylock): Remove.
6706 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6708         [BZ #20592]
6709         Remove RR type classification macros.
6710         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6711         (ns_t_udp_p, ns_t_xfr_p): Remove.
6713 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6715         Remove misleading version information.
6716         * resolv/arpa/nameser.h (__NAMESER): Remove.
6717         * resolv/arpa/nameser_compat.h (__BIND): Remove.
6719 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6721         Remove the always-defined BIND_4_COMPAT macro.
6722         * resolv/arpa/nameser.h: Unconditionally include
6723         <arpa/nameser_compat.h>.
6724         (BIND_4_COMPAT): Remove.
6725         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6727 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6729         [BZ #20591]
6730         Remove obsolete DNSSEC support.
6731         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6732         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6733         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6734         (ns_verify_tcp, ns_verify_tcp_init): Remove.
6735         (ns_cert_types): Add comment.
6736         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6737         separately.
6738         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6739         (dst_s_dns_key_id): Remove.
6740         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6741         variables.
6743 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6745         [BZ #20524]
6746         * manual/string.texi (String/Array Comparison): Clarify the
6747         strverscmp behavior.
6749 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6751         * test-skeleton.c (xasprintf): Add function.
6752         * io/tst-open-tmpfile.c: New test.
6753         * io/Makefile (tests): Add it.
6755 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6757         Avoid running $(CXX) during build to obtain header file paths.
6758         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6759         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6760         * Makerules (cstdlib, cmath): Remove variables.  Use
6761         $(c++-cstdlib-header), $(c++-cmath-header) instead.
6762         * configure: Regenerate.
6764 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6766         * Makeconfig (all-object-suffixes): Include .op only if
6767         $(build-profile).
6769 2016-09-21  Florian Weimer  <fweimer@redhat.com>
6771         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6772         conditionals.  Do not define PATH_MAX.
6774 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6776         * posix/Makefile (tests): Add tst-spawn3.
6777         * posix/tst-spawn3.c: New file.
6778         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6779         if it is already opened for open action.
6781         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6782         all signals when executing the clone vfork child.
6783         (SIGALL_SET): Remove macro.
6785         * nptl/Makefile (tests): Add tst-exec5.
6786         * nptl/tst-exec5.c: New file.
6787         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6788         asynchronous cancellation.
6790 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6792         * hurd/exc2signal.c: #include <hurd/signal.h>
6793         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6794         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
6795         accordingly.
6796         * mach/mach_error.c (mach_error): Fix old-style function definition.
6797         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6799 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6801         * math/Makefile (libm-calls): Remove s_nanF.
6802         (gen-libm-calls): Add s_nanF.
6804         * math/s_nan.c: Refactor into ...
6805         * math/s_nan_template.c: New file.
6807         * math/s_nanf.c: Removed.
6808         * math/s_nanl.c: Removed.
6809         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6810         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6812         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6813         (LDOUBLE_nanl_libm_version): New macro.
6815         * sysdeps/generic/math-type-macros-double.h:
6816         (M_STRTO_NAN): New macro.
6817         * sysdeps/generic/math-type-macros-float.h: Likewise.
6818         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6820         * sysdeps/generic/math-type-macros.h: Document
6821         M_STRTO_NAN.
6823 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6825         * math/s_nanf.c: Remove __nanf undef.
6826         * math/s_nan.c: Remove __nan undef.
6827         * math/s_nanl.c: Remove __nanl undef.
6829         * sysdeps/generic/math_private.h (__nan): Remove macro
6830         override.
6831         (__nanf): Likewise.
6832         (__nanl): Likewise.
6834 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6836         * math/Makefile (gen-all-calls): New variable.
6837         (generated): Replace gen-libm-calls with gen-all-calls.
6838         (gen-libm-templates.stmp): Likewise.  Also, ensure
6839         the output directory exists or is created and add
6840         dependency on the Makefile.
6841         (calls): Move s_ldexpF into gen-calls.
6842         (gen-calls): New variable.
6844         * math/s_ldexpf.c: Removed.
6845         * math/s_ldexpl.c: Removed.
6846         * math/s_ldexp.c: Refactored into ...
6847         * math/s_ldexp_template.c: New file.
6849         * sysdeps/generic/math-type-macros-double.h: Remove
6850         redundant fall-through definition of declare_mgen_alias.
6851         (declare_mgen_alias_2): New macro.
6853         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6854         New macro for function aliased to two exported symbols.
6856         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6857         new template file.
6858         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6860 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6862         * Makeconfig (all-object-suffixes): Remove .og.
6863         * Makerules (elide-routines.og): Remove.
6864         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6865         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6866         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6868 2016-09-20  Florian Weimer  <fweimer@redhat.com>
6870         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6871         .os objects.
6873 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6875         [BZ #20615]
6876         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6877         fpu directory by non-fpu.
6878         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6879         on non-fpu directory from a fpu directory.
6881 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
6883         * include/limits.h: Define
6884         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6885         <bits/libc-header-start.h> instead of including <features.h>.
6886         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6887         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6888         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6889         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6890         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6891         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6892         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6893         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6894         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6895         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6896         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6897         * manual/lang.texi (Width of Type): Document these macros.
6898         * stdlib/tst-width.c: New file.
6899         * stdlib/Makefile (tests): Add tst-width.
6901 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6903         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6904         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6906 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6908         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6909         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6910         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6912 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6914         [BZ #18243]
6915         * rt/Makefile (test): Add tst-shm-cancel.
6916         * rt/tst-shm-cancel.c: New file.
6917         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6919         [BZ #18243]
6920         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6921         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6922         definition.
6923         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6924         uncontended case.
6925         * nptl/sem_wait.c (__new_sem_wait): Likewise.
6926         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6927         (tf): Fix check for uncontended case.
6928         (do_test): Likewise.
6929         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6930         (tf): Fix check for uncontended case.
6931         (do_test): Likewise.
6932         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6933         (tf): Fix check for uncontended case.
6934         (do_test): Likewise.
6935         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6936         (tf): Fix check for uncontended case.
6937         (do_test): Likewise.
6939         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6940         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6942         [BZ #15765]
6943         * nptl/Makefile (tests): Add tst-sem16.
6944         * nptl/tst-sem16.c: New file.
6945         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6947         * nptl/sem_open.c (sem_open): Init pad value to 0.
6948         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6949         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6951 2016-09-15  Florian Weimer  <fweimer@redhat.com>
6953         [BZ #20611]
6954         * inet/Makefile (routines): Add inet6_scopeid_pton.
6955         (tests): Add tst-inet6_scopeid_pton.
6956         * inet/inet6_scopeid_pton.c: New file.
6957         * inet/net-internal.h: Likewise.
6958         * inet/tst-inet6_scopeid_pton.c: New test.
6959         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6960         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6963 2016-09-14  Florian Weimer  <fweimer@redhat.com>
6965         Remove support for compiling wrappers with PTW.
6966         * sysdeps/nptl/Makeconfig: Drop ptw- support.
6967         * nptl/Makefile (pthread-compat-wrappers): Define.
6968         (libpthread-routines): Use pthread-compat-wrappers.
6969         * sysdeps/unix/sysv/linux/alpha/Makefile
6970         (libpthread-routines, libpthread-shared-only-routines): Remove
6971         ptw- prefix.
6972         * sysdeps/s390/nptl/Makefile
6973         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6974         * sysdeps/ia64/nptl/Makefile
6975         (libpthread-routines, libpthread-shared-only-routines): Likewise.
6976         * sysdeps/nacl/Makefile (libpthread-routines): Use
6977         pthread-compat-wrappers to filter the routines list instead of the
6978         ptw- prefix.
6980 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6982         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6983         with L() and remove explicit suffix, convert real literals
6984         which can be equivalentally substituted with integers, and
6985         transform -L(x) to L(-x).
6987         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6988         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6989         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6990         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6991         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6992         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6993         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6994         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6995         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6996         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6997         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6998         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6999         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7000         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7001         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7002         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7003         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7004         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7005         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7006         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7007         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7008         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7009         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7010         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7011         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7012         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7013         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7014         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7015         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7016         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7017         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7018         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7019         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7020         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7021         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7022         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7023         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7024         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7025         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7026         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7027         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7028         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7029         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7030         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7031         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7032         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7033         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7034         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7035         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7036         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7038 2016-09-13  Florian Weimer  <fweimer@redhat.com>
7040         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
7042 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7044         * malloc/Makefile (tests): Remove individual static test names
7045         and just add all of tests-static.
7047         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
7049 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
7051         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
7052         file.
7054         * sysdeps/sparc/fpu/fegetmode.c: New file.
7055         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
7057         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
7058         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
7060         * sysdeps/s390/fpu/fegetmode.c: New file.
7061         * sysdeps/s390/fpu/fesetmode.c: Likewise.
7063         * sysdeps/powerpc/fpu/fegetmode.c: New file.
7064         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
7065         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
7066         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
7067         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
7068         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
7070         * sysdeps/mips/fpu/fegetmode.c: New file.
7071         * sysdeps/mips/fpu/fesetmode.c: Likewise.
7073         * sysdeps/m68k/fpu/fegetmode.c: New file.
7074         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
7076         * sysdeps/ia64/fpu/fegetmode.c: New file.
7077         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7079         * sysdeps/hppa/fpu/fegetmode.c: New file.
7080         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7082         * sysdeps/arm/fegetmode.c: New file.
7083         * sysdeps/arm/fesetmode.c: Likewise.
7085         * sysdeps/alpha/fpu/fegetmode.c: New file.
7086         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7088         * sysdeps/aarch64/fpu/fegetmode.c: New file.
7089         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7091         * math/fegetmode.c: New file.
7092         * math/fesetmode.c: Likewise.
7093         * sysdeps/i386/fpu/fegetmode.c: Likewise.
7094         * sysdeps/i386/fpu/fesetmode.c: Likewise.
7095         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7096         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7097         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7098         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7099         declaration.
7100         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7101         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7102         typedef.
7103         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7104         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7105         (femode_t): New typedef.
7106         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7107         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7108         (femode_t): New typedef.
7109         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7110         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7111         (femode_t): New typedef.
7112         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7113         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7114         (femode_t): New typedef.
7115         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7116         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7117         (femode_t): New typedef.
7118         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7119         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7120         (femode_t): New typedef.
7121         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7122         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7123         (femode_t): New typedef.
7124         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7125         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7126         (femode_t): New typedef.
7127         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7128         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7129         (femode_t): New typedef.
7130         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7131         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7132         (femode_t): New typedef.
7133         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
7134         declaration.
7135         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7136         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7137         (femode_t): New typedef.
7138         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7139         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7140         (femode_t): New typedef.
7141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7142         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7143         (femode_t): New typedef.
7144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7145         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7146         (femode_t): New typedef.
7147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7148         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7149         (femode_t): New typedef.
7150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7151         * manual/arith.texi (FE_DFL_MODE): Document macro.
7152         (fegetmode): Document function.
7153         (fesetmode): Likewise.
7154         * math/Versions (fegetmode): New libm symbol at version
7155         GLIBC_2.25.
7156         (fesetmode): Likewise.
7157         * math/Makefile (libm-support): Add fegetmode and fesetmode.
7158         (tests): Add test-femode and test-femode-traps.
7159         * math/test-femode-traps.c: New file.
7160         * math/test-femode.c: Likewise.
7161         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
7162         alias for __fe_dfl_env.
7163         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
7164         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
7165         (__fe_dfl_mode): Likewise.
7166         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
7167         version GLIBC_2.25.
7168         * sysdeps/nacl/libm.abilist: Update.
7169         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7170         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7171         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7172         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7173         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7174         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7175         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7176         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7177         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7178         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7179         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7180         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7182         Likewise.
7183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7184         Likewise.
7185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7186         Likewise.
7187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7188         Likewise.
7189         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7190         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7191         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7192         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7193         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7195         Likewise.
7196         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7197         Likewise.
7198         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7199         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7200         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7202 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
7204         [BZ #20495]
7205         [BZ #20508]
7206         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
7207         processors, set Use_dl_runtime_resolve_slow and set
7208         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
7209         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7210         New.
7211         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7212         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
7213         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7214         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
7215         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
7216         if Use_dl_runtime_resolve_opt is set.  Use
7217         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
7218         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
7219         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
7220         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
7221         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
7222         New.
7223         (_dl_runtime_resolve_opt): Likewise.
7224         (_dl_runtime_profile): Define only if _dl_runtime_profile is
7225         defined.
7227 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7229         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
7230         __libc_memalign with "+ RELA R_390_GLOB_DAT".
7232 2016-09-06  Florian Weimer  <fweimer@redhat.com>
7234         Convert malloc to __libc_lock.  Automated part, using this Perl
7235         s/// command:
7236           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
7237             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
7238         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
7239         conversion.
7241 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
7243         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
7244         (linknamespace-symlists-tests): Likewise.
7245         (linknamespace-header-tests): Likewise.
7247 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
7249         [BZ #19810]
7250         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
7251         * elf/tst-noload.c: New test case.
7252         * elf/Makefile (tests): Add tst-noload.
7254 2016-09-02  Roland McGrath  <roland@hack.frob.com>
7256         * sysdeps/nacl/dup.c: Add libc_hidden_def.
7258         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
7259         not any more.
7261         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
7263 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7265         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
7266         (do_cos_slow): Likewise.
7267         (do_sin): Likewise.
7268         (do_sin_slow): Likewise.
7269         (slow): Likewise.
7270         (slow1): Likewise.
7271         (slow2): Likewise.
7272         (sloww): Likewise.
7273         (sloww1): Likewise.
7274         (sloww2): Likewise.
7275         (bsloww): Likewise.
7276         (bsloww1): Likewise.
7277         (bsloww2): Likewise.
7278         (cslow2): Likewise.
7280         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
7282         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
7283         arguments.  Consolidate input partitioning from callers here.
7284         (do_cos_slow): Likewise.
7285         (do_sin): Likewise.
7286         (do_sin_slow): Likewise.
7287         (do_sincos_1): Remove the no longer necessary input partitioning.
7288         (do_sincos_2): Likewise.
7289         (__sin): Likewise.
7290         (__cos): Likewise.
7291         (slow1): Likewise.
7292         (slow2): Likewise.
7293         (sloww1): Likewise.
7294         (sloww2): Likewise.
7295         (bsloww1): Likewise.
7296         (bsloww2): Likewise.
7297         (cslow2): Likewise.
7299 2016-09-02  Florian Weimer  <fweimer@redhat.com>
7301         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
7302         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
7303         outside of allocated array.
7305 2016-09-02  Florian Weimer  <fweimer@redhat.com>
7307         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7308         instead of MB_CUR_MAX to avoid variable-length array.
7310 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7312         * math/Makefile (libm-calls): Remove k_rem_pio2F.
7313         (type-double-routines): Add k_rem_pio2.
7314         (type-float-routines): Add k_rem_pio2f.
7316         * sysdeps/generic/math_private.h:
7317         (__kernel_rem_pio2l): Removed.
7319         * math/k_rem_pio2l.c: Removed.
7320         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7321         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7322         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7323         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7325 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7327         * math/Makefile (gen-libm-calls): Add s_fmin
7328         (libm-calls): Remove above.
7330         * math/s_fmin.c: Refactor into ...
7331         * math/s_fmin_template.c: New file.
7333         * math/s_fminf.c: Removed.
7334         * math/s_fminl.c: Removed.
7335         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7336         (LDOUBLE_fmin_libm_version): New macro.
7338         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7339         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7341 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7343         * math/Makefile: (gen-libm-calls): Add s_fmax.
7344         (libm-calls): Remove above.
7346         * math/s_fmax.c: Refactor into ...
7347         * math/s_fmax_template.c: New file.
7348         * math/s_fmaxf.c: Removed.
7349         * math/s_fmaxl.c: Removed.
7351         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7352         (LDOUBLE_fmaxl_libm_version): New macro.
7354         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7355         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7357         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7358         s_fmin.c to pick the aarch64 version of the file.
7359         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7360         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7362 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7364         * math/Makefile: (gen-libm-calls): Add s_nextdown.
7365         (libm-calls): Remove above.
7367         * math/s_nextdown.c: Refactor into ...
7368         * math/s_nextdown_template.c: New file.
7369         * math/s_nextdownf.c: Removed.
7370         * math/s_nextdownl.c: Removed.
7372         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7374 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7376         * math/Makefile (gen-libm-calls): Add s_fdim.
7377         (libm-calls): Move to above.
7379         * math/s_fdim.c: Renamed and refactored into to ...
7380         * math/s_fdim_template.c: New file.
7381         * math/s_fdiml.c: Removed.
7382         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7383         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7385         * sysdeps/generic/math-type-macros-double.h:
7386         (declare_mgen_alias): Don't declare if already declared.
7387         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7388         Likewise.
7390         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7391         (declare_mgen_alias): Don't declare if already declared.
7392         (M_LIBM_NEED_COMPAT): Likewise.
7393         (declare_mgen_libm_compat): Likewise.
7394         (LDOUBLE_fdiml_libm_version): New macro.
7396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7397         Include math/s_fdim.c now that ldbl-opt version is not needed.
7398         (declare_mgen_alias): New macro to disable aliasing.
7400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7401         (declare_mgen_alias): Likewise.
7402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7403         (declare_mgen_alias): Likewise.
7404         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7405         (declare_mgen_alias): Likewise.
7406         (M_LIBM_NEED_COMPAT): Likewise.
7408 2016-09-01  Florian Weimer  <fweimer@redhat.com>
7410         [BZ #20525]
7411         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7412         Include <linux/quota.h>.
7413         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7414         and btodb.
7415         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7416         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7417         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7418         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7419         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7420         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7421         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7422         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7423         types.
7424         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7425         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7427 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7429         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7430         (gammal_positive): Fix spacing.
7431         (__ieee754_gammal_r): Likewise.
7433 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7435         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7436         (_Float128): Define as long double, always.
7437         (L): Apply long double type suffix, always.
7439         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7440         _Float128, excepting comments.
7442         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7443         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7444         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7445         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7446         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7447         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7448         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7449         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7450         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7451         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7452         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7453         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7454         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7455         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7456         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7457         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7458         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7459         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7460         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7461         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7462         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7463         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7464         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7465         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7466         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7467         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7468         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7469         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7470         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7471         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7472         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7473         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7474         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7475         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7476         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7477         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7478         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7479         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7480         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7481         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7482         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7483         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7484         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7485         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7486         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7487         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7488         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7489         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7490         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7491         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7492         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7493         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7494         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7495         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7496         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7497         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7498         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7499         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7500         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7501         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7502         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7503         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7504         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7505         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7506         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7507         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7508         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7509         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7511         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7512         _Float128, and include math_private.h.
7513         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7515         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7516         long double semantics.
7517         (_Float128): Likewise.
7518         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7519         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7520         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7521         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7523 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7525         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7526         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7527         * sysdeps/s390/configure: Regenerated.
7528         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7529         instruction for raising over-/underflow if z196 zarch is supported
7530         by default.
7531         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7533 2016-08-30  Svante Signell  <svante.signell@gmail.com>
7535         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7536         it point to a dumb buffer for RPC to fill it.
7538 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7540         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7541         instead of if/else.
7542         (do_sin_slow): Likewise.
7543         (do_sincos_1): Use fabs instead of if/else.
7544         (do_sincos_2): Likewise.
7545         (__sin): Likewise.
7546         (__cos): Likewise.
7547         (slow2): Likewise.
7548         (sloww): Likewise.
7549         (sloww1): Likewise.  Drop argument M.
7550         (sloww2): Use fabs instead of if/else.
7551         (bsloww): Likewise.
7552         (bsloww1): Likewise.
7553         (bsloww2): Likewise.
7555         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7556         fall through comment.
7557         (do_sincos_1): Likewise.
7559         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7560         Consolidate switch cases 0 and 2.
7562 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7564         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7565         (libm-calls): Remove the above.
7567         * math/s_cexp_template.c: Update using type-generic macros.
7568         * math/s_clog10_template.c: Likewise.
7569         * math/s_cpow_template.c: Likewise.
7570         * math/s_clog_template.c: Likewise.
7571         * math/s_cproj_template.c: Likewise.
7572         * math/s_csqrt_template.c: Likewise.
7574         * math/s_cexp.c: Removed.
7575         * math/s_cexpf.c: Removed.
7576         * math/s_cexpl.c: Removed.
7577         * math/s_clog10.c: Removed.
7578         * math/s_clog10f.c: Removed.
7579         * math/s_clog10l.c: Removed.
7580         * math/s_cpow.c: Removed.
7581         * math/s_cpowf.c: Removed.
7582         * math/s_cpowl.c: Removed.
7583         * math/s_clog.c: Removed.
7584         * math/s_clogf.c: Removed.
7585         * math/s_clogl.c: Removed.
7586         * math/s_cproj.c: Removed.
7587         * math/s_cprojf.c: Removed.
7588         * math/s_cprojl.c: Removed.
7589         * math/s_csqrt.c: Removed.
7590         * math/s_csqrtf.c: Removed.
7591         * math/s_csqrtl.c: Removed.
7593         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7594         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7595         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7596         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7597         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7598         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7600         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7601         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7602         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7603         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7604         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7605         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7606         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7607         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7608         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7609         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7610         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7612         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7613         version.
7615         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7616         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7617         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7618         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7620 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7622         * s_cexp_template.c: Copy of s_cexp.c.
7623         * s_clog_template.c: Copy of s_clog.c.
7624         * s_clog10_template.c: Copy of s_clog10.c.
7625         * s_cpow_template.c: Copy of s_cpow.c.
7626         * s_cproj_template.c: Copy of s_cproj.c.
7627         * s_csqrt_template.c: Copy of s_csqrt.c.
7629 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7631         [BZ #20517]
7632         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7633         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7634         exported.
7636 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
7638         * math/fetestexceptflag.c: New file.
7639         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
7640         Stefan Liebler.
7641         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7642         (fetestexceptflag): New function declaration.
7643         * manual/arith.texi (fetestexceptflag): Document function.
7644         * math/Versions (fetestexceptflag): New libm symbol at version
7645         GLIBC_2.25.
7646         * math/Makefile (libm-support): Add fetestexceptflag.
7647         (tests): Add test-fetestexceptflag.
7648         * math/test-fetestexceptflag.c: New file.
7649         * sysdeps/nacl/libm.abilist: Update.
7650         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7651         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7652         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7653         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7654         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7655         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7656         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7657         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7658         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7659         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7660         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7661         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7663         Likewise.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7665         Likewise.
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7667         Likewise.
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7669         Likewise.
7670         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7671         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7672         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7673         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7674         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7676         Likewise.
7677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7678         Likewise.
7679         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7680         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7681         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7683 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7685         [BZ #20432]
7686         Avoid strong references to malloc-internal symbols when linking
7687         statically, to support statically interposed mallocs.
7688         * include/libc-symbols.h (call_function_static_weak): New macro.
7689         * malloc/Makefile (tests): Add tst-interpose-nothread,
7690         tst-interpose-thread, tst-interpose-static-nothread,
7691         tst-interpose-static-thread.
7692         (tests-static): Add tst-interpose-static-nothread,
7693         tst-interpose-static-thread.
7694         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7695         tst-interpose-aux-thread.o.
7696         (test-extras): Add tst-interpose-aux-nothread,
7697         tst-interpose-aux-thread.
7698         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7699         tst-interpose-aux-nothread.o.
7700         (tst-interpose-thread, tst-interpose-static-thread): Link with
7701         tst-interpose-aux-thread.o and libthread.
7702         * malloc/tst-interpose-aux-nothread.c: New file.
7703         * malloc/tst-interpose-aux-thread.c: Likewise.
7704         * malloc/tst-interpose-aux.c: Likewise.
7705         * malloc/tst-interpose-aux.h: Likewise.
7706         * malloc/tst-interpose-nothread.c: Likewise.
7707         * malloc/tst-interpose-skeleton.c: Likewise.
7708         * malloc/tst-interpose-static-nothread.c: Likewise.
7709         * malloc/tst-interpose-static-thread.c: Likewise.
7710         * malloc/tst-interpose-thread.c: Likewise.
7711         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7712         * sysdeps/mach/hurd/fork.c (__fork): Only call
7713         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7714         __malloc_fork_unlock_child if defined.
7715         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7717 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7719         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7720         timespec C99 designated initialization.
7722 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7724         [BZ #19946]
7725         Avoid expected SIGALRM signals.
7726         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7727         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7728         (xpthread_create, xpthread_detach, xpthread_join)
7729         (delayed_exit_thread, delayed_exit): New functions.
7730         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7731         (tf): Use xpthread_cond_wait.
7732         (do_test): Likewise.  Replace alarm with delayed_exit.
7733         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7734         (do_test): Call delayed_exit.  Report failure.
7735         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7736         (do_test): Call delayed_exit.
7737         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7738         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
7739         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7740         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
7741         error.
7742         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7743         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
7744         error.
7745         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7746         (do_test): Call delayed_exit.
7747         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7748         (do_test): Call delayed_exit.
7749         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7750         (do_test): Call delayed_exit instead of alarm.  Use
7751         xpthread_mutex_lock.
7752         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7753         (do_test): Call delayed_exit instead of alarm.  Use
7754         xpthread_mutex_lock.
7755         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7756         (do_test): Call delayed_exit instead of alarm.
7757         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7758         (do_test): Call delayed_exit instead of alarm.  Use
7759         xpthread_spin_lock.
7760         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7761         (do_test): Call delayed_exit instead of alarm.  Use
7762         xpthread_join.
7764 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
7766         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7767         adjust CFA when allocating register save area on re-aligned
7768         stack.
7770 2016-08-26  Florian Weimer  <fweimer@redhat.com>
7772         * string/tst-cmp.c: New test.
7773         * string/Makefile (tests): Add it.
7775 2016-08-25  Mark Wielaard  <mark@klomp.org>
7777         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7778         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
7779         (check_tree_recurse): Use newly defined accessors.
7780         (check_tree): Likewise.
7781         (maybe_split_for_insert): Likewise.
7782         (__tfind): Likewise.
7783         (__tdelete): Likewise.
7784         (trecurse): Likewise.
7785         (tdestroy_recurse): Likewise.
7786         (__tsearch): Likewise. And add asserts for malloc alignment.
7787         (__twalk): Cast root to node in case CHECK_TREE is defined.
7789 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7791         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7793 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7795         * math/Makefile (libm-gen-calls): Add
7796         catan, catanh, ctan, ctanh.
7797         (libm-calls): Remove the above.
7799         * math/s_catan_template.c: Update using type-generic macros.
7800         * math/s_catanh_template.c: Likewise.
7801         * math/s_ctan_template.c: Likewise.
7802         * math/s_ctanh_template.c: Likewise.
7804         * math/s_catanf.c: Removed.
7805         * math/s_catan.c: Removed.
7806         * math/s_catanl.c: Removed.
7807         * math/s_catanhf.c: Removed.
7808         * math/s_catanh.c: Removed.
7809         * math/s_catanhl.c: Removed.
7810         * math/s_ctanf.c: Removed.
7811         * math/s_ctan.c: Removed.
7812         * math/s_ctanl.c: Removed.
7813         * math/s_ctanhf.c: Removed.
7814         * math/s_ctanh.c: Removed.
7815         * math/s_ctanhl.c: Removed.
7817         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7818         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7819         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7820         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7821         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7822         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7824         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7825         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7826         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7827         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7829 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7831         * s_catan_template.c: Copy of s_catan.c.
7832         * s_catanh_template.c: Copy of s_catanh.c.
7833         * s_ctan_template.c: Copy of s_ctan.c.
7834         * s_ctanh_template.c: Copy of s_ctanh.c.
7836 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7838         * math/Makefile (gen-libm-calls): Move
7839         casin, casinh, csin, csinh here.
7840         (libm-calls): Remove the above.
7842         * math/s_casin_template.c: Update using type-generic macros.
7843         * math/s_casinh_template.c: Likewise.
7844         * math/s_csin_template.c: Likewise.
7845         * math/s_csinh_template.c: Likewise.
7846         * math/k_casinh_template.c: Likewise.
7848         * math/s_casinf.c: Removed.
7849         * math/s_casin.c: Removed.
7850         * math/s_casinl.c: Removed.
7851         * math/s_casinh.c: Removed.
7852         * math/s_casinhf.c: Removed.
7853         * math/s_casinhl.c: Removed.
7854         * math/s_csin.c: Removed.
7855         * math/s_csinf.c: Removed.
7856         * math/s_csinl.c: Removed.
7857         * math/s_csinh.c: Removed.
7858         * math/s_csinhf.c: Removed.
7859         * math/s_csinhl.c: Removed.
7860         * math/k_casinh.c: Removed.
7861         * math/k_casinhf.c: Removed.
7862         * math/k_casinhl.c: Removed.
7864         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7865         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7866         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7867         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7869         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7870         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7871         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7872         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7873         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7874         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7875         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7876         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7878         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7879         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7880         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7881         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7883         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7884         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7885         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7886         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7888 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7890         * s_casin_template.c: Copy of s_casin.c.
7891         * s_casinh_template.c: Copy of s_casinh.c.
7892         * s_csin_template.c: Copy of s_csin.c.
7893         * s_csinh_template.c: Copy of s_csinh.c.
7894         * k_casinh_template.c: Copy of k_casinh.c.
7896 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
7898         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7900 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7902         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7903         (mul_split) Remove, rename as mul_splitl, remove
7904         redundant float.h include, and include via mul_splitl.h
7906         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7907         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7908         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7909         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7910         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7912         * math/mul_splitl.h: New file.
7914         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7915         Move into mul_split.h, and remove redundant float.h include.
7917         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7918         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7919         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7920         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7922         * math/mul_split.h: New file.
7924 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7926         * math/Makefile (libm-gen-calls): Move
7927         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7928         (libm-calls): Remove above.
7930         * math/s_cacos_template.c: Update using type-generic macros.
7931         * math/s_cacosh_template.c: Likewise.
7932         * math/s_ccos_template.c: Likewise.
7933         * math/s_ccosh_template.c: Likewise.
7935         * math/s_cacosf.c: Removed.
7936         * math/s_cacos.c: Removed.
7937         * math/s_cacosl.c: Removed.
7938         * math/s_cacoshf.c: Removed.
7939         * math/s_cacosh.c: Removed.
7940         * math/s_cacoshl.c: Removed.
7941         * math/s_ccosf.c: Removed.
7942         * math/s_ccos.c: Removed.
7943         * math/s_ccosl.c: Removed.
7944         * math/s_ccoshf.c: Removed.
7945         * math/s_ccosh.c: Removed.
7946         * math/s_ccoshl.c: Removed.
7948         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7949         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7950         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7951         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7952         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7953         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7955         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7956         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7957         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7958         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7960         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7961         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7962         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7963         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7965 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7967         * s_cacos_template.c: Copy of s_cacos.c.
7968         * s_cacosh_template.c: Copy of s_cacosh.c.
7969         * s_ccos_template.c: Copy of s_ccos.c.
7970         * s_ccosh_template.c: Copy of s_ccosh.c.
7972 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7974         * stdlib/tst-strtod-round-skeleton.c:
7975         Refactored from tst-strtod-round.c.
7977         (L_): New macro to apply literal modifier.
7978         (FNPFX): New macro to select str or wcs prefix.
7979         (CHAR): New macro to choose wchar_t or char.
7980         (STRM): New macro to choose printf for tested character type.
7982         (STRTO): New macro to choose appropriate string -> real function.
7983         (FNPFXS): Stringitized version of FNPFX.
7984         (STR): Support for above macro.
7985         (STRX): Likewise.
7987         (TEST): Update with above macros.
7988         (test): Likewise.
7989         (GEN_ONE_TEST): Likewise.
7990         (test_in_one_mode): Likewise.
7992         * stdlib/tst-strtod-round.c: New file.
7993         * wcsmbs/tst-wcstod-round.c: New file.
7995         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7996         (tst-wcstod-round): Add libm depencency for fesetround.
7998 2016-08-19  Zack Weinberg  <zackw@panix.com>
8000         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
8002 2016-08-18  Torvald Riegel  <triegel@redhat.com>
8004         [BZ #20477]
8005         * resolv/res_hconf.c (do_init): Use atomic access.
8006         * resolv/res_hconf.h: Add comments.
8007         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
8008         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
8009         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
8011 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
8013         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
8014         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
8015         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8016         Likewise.
8018 2016-08-18  Florian Weimer  <fweimer@redhat.com>
8020         [BZ #16907]
8021         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
8022         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
8023         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
8024         (__attribute__): Remove definition.
8026 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8028         * sysdeps/ieee754/ldbl-128/e_asinl.c:
8029         Remove unused sqrtl declaration.
8031 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8033         * math/Makefile: (gen-libm-templates.stmp): New rule.
8034         (libm-calls): Move carg conj cimag and cabs into ...
8035         (gen-libm-calls): New variable.
8036         (generated): Inform Make objects from gen-libm-calls
8037         may be generated.
8039         * sysdeps/generic/math-type-macros.h: New file.
8040         * sysdeps/generic/math-type-macros-float.h: Likewise.
8041         * sysdeps/generic/math-type-macros-double.h: Likewise.
8042         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8043         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
8044         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
8046         * math/cabs.c: Refactor into
8047         * math/cabs_template.c: new file.
8048         * math/cabsf.c: Removed.
8049         * math/cabsl.c: Removed.
8050         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
8051         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
8053         * math/carg.c: Refactor into
8054         * math/carg_template.c: new file.
8055         * math/cargf.c: Removed.
8056         * math/cargl.c: Removed.
8057         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
8058         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
8060         * math/conj.c: Refactor into
8061         * math/conj_template.c: new file.
8062         * math/conjf.c: Removed.
8063         * math/conjl.c: Removed.
8064         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
8065         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
8067         * math/cimag.c: Refactor into
8068         * math/cimag_template.c: new file.
8069         * math/cimagf.c: Removed.
8070         * math/cimagl.c: Removed.
8071         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8072         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8074         * math/cimag.c: Refactor into
8075         * math/cimag_template.c: new file.
8076         * math/cimagf.c: Removed.
8077         * math/cimagl.c: Removed.
8078         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8079         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8081 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8083         Reduce time to expected nptl/tst-once5 failure.
8084         * nptl/tst-once5.cc (TIMEOUT): Define.
8086 2016-08-17  Florian Weimer  <fweimer@redhat.com>
8088         [BZ #20452]
8089         Avoid additional copies of objects in libc.a in static libraries.
8090         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8091         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8092         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8093         rt-sysdep.
8094         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8095         Add nptl-sysdep.
8096         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8097         Add ptw-sysdep.
8098         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8099         rt-sysdep.
8100         * sysdeps/unix/sysv/linux/alpha/Makefile
8101         (libpthread-shared-only-routines): Add ptw-sysdep,
8102         ptw-sigprocmask, ptw-rt_sigaction.
8103         * sysdeps/unix/sysv/linux/ia64/Makefile
8104         (librt-shared-only-routines): Add rt-sysdep.
8105         * sysdeps/unix/sysv/linux/i386/Makefile
8106         (libpthread-shared-only-routines): Add libc-do-syscall.
8107         * sysdeps/unix/sysv/linux/microblaze/Makefile
8108         (libpthread-shared-only-routines): Add sysdep.
8109         * sysdeps/unix/sysv/linux/powerpc/Makefile
8110         (librt-shared-only-routines): Add rt-sysdep.
8111         (libpthread-shared-only-routines): Add sysdep.
8112         * sysdeps/unix/sysv/linux/s390/Makefile
8113         (librt-shared-only-routines): Add rt-sysdep.
8114         * sysdeps/unix/sysv/linux/sparc/Makefile
8115         (librt-shared-only-routines): Add rt-sysdep.
8116         (libpthread-shared-only-routines): Add sysdep.
8117         * sysdeps/unix/sysv/linux/tile/Makefile
8118         (libpthread-shared-only-routines): Likewise.
8120 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
8122         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8123         Mask implicit bit out of unpacked value.
8124         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8125         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8126         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8128         * sysdeps/sparc/fpu/fesetexcept.c: New file.
8130         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8132         * sysdeps/s390/fpu/fesetexcept.c: New file.
8134         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8135         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8136         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
8138         * sysdeps/mips/fpu/fesetexcept.c: New file.
8140         * sysdeps/m68k/fpu/fesetexcept.c: New file.
8142         * sysdeps/ia64/fpu/fesetexcept.c: New file.
8144         * sysdeps/hppa/fpu/fesetexcept.c: New file.
8146         * sysdeps/arm/fesetexcept.c: New file.
8148         * sysdeps/alpha/fpu/fesetexcept.c: New file.
8150         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
8152         * math/fesetexcept.c: New file.
8153         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
8154         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
8155         * math/fenv.h: Define
8156         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8157         <bits/libc-header-start.h> instead of including <features.h>.
8158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
8159         declaration.
8160         * manual/arith.texi (fesetexcept): Document function.
8161         * math/Versions (fesetexcept): New libm symbol at version
8162         GLIBC_2.25.
8163         * math/Makefile (libm-support): Add fesetexcept.
8164         (tests): Add test-fesetexcept and test-fesetexcept-traps.
8165         * math/test-fesetexcept.c: New file.
8166         * math/test-fesetexcept-traps.c: Likewise.
8167         * sysdeps/nacl/libm.abilist: Update.
8168         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8169         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8170         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8171         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8172         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8173         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8174         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8175         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8176         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8177         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8178         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8179         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8181         Likewise.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8183         Likewise.
8184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8185         Likewise.
8186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8187         Likewise.
8188         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8189         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8190         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8191         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8192         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8194         Likewise.
8195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8196         Likewise.
8197         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8198         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8199         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8201 2016-08-16  Florian Weimer  <fweimer@redhat.com>
8203         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
8204         New.
8205         (do_test): Apply default_stack_size_in_mb if not set.
8206         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
8208 2016-08-15  Andreas Schwab  <schwab@suse.de>
8210         [BZ #20435]
8211         CVE-2016-6323
8212         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
8213         as .cantunwind.
8215 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
8217         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
8218         comment from fraiseexcpt.c.
8220         * math/test-fexcept.c (feraiseexcept_exact): New function.
8221         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
8222         (test_except): Likewise.
8224 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
8226         [BZ #20455]
8227         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
8228         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
8229         to be restored.
8231         * math/test-fexcept-traps.c: New file.
8232         * math/test-fexcept.c: Likewise.
8233         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
8234         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
8235         macro.
8236         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
8237         (EXCEPTION_SET_FORCES_TRAP): Likewise.
8239 2016-08-09  Torvald Riegel  <triegel@redhat.com>
8241         * include/atomic.h (atomic_fetch_and_relaxed,
8242         atomic_fetch_and_release, atomic_fetch_or_release,
8243         atomic_fetch_xor_release): New.
8245 2016-08-06  Christian Seiler  <christian@iwakd.de>
8247         [BZ #20444]
8248         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
8249         MACH_PORT_NULL.
8251 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
8253         * math/s_fdim.c: Avoid alias renamed.
8254         * math/s_fdimf.c: Likewise.
8255         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8256         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8257         Add s_fdimf-vis3, s_fdim-vis3.
8258         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8259         (CFLAGS-s_fdim-vis3.c): Likewise.
8260         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
8261         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
8263 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
8265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8266         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8267         Remove s_fdimf-vis3, s_fdim-vis3.
8268         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
8269         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
8270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
8271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
8272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
8273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
8274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
8275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
8276         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
8277         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
8279 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
8281         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
8282         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
8283         -Wa,-Av9a -mvis.
8285 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8287         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
8288         LIT() to individual constants in simple expressions
8289         after splitting on spaces.
8290         (_apply_lit): Rename replaced version, and use it to
8291         apply to what appears to be a token.
8293         * math/libm-test.inc: Fix many, many issues with
8294         spacing.
8296 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
8298         * math/math.h: Move comment about <bits/mathdef.h> definitions
8299         above inclusion of <bits/mathdef.h>.  Do not mention
8300         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
8302 2016-08-05  Torvald Riegel  <triegel@redhat.com>
8304         * include/atomic.h (atomic_exchange_relaxed): New.
8306 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
8308         * math/e_scalb.c: Do not include <fenv.h>.
8309         (invalid_fn): Do calculation resulting in NaN instead of raising
8310         FE_INVALID and returning a NaN explicitly.
8311         * math/e_scalbf.c: Do not include <fenv.h>.
8312         (invalid_fn): Do calculation resulting in NaN instead of raising
8313         FE_INVALID and returning a NaN explicitly.
8314         * math/e_scalbl.c: Do not include <fenv.h>.
8315         (invalid_fn): Do calculation resulting in NaN instead of raising
8316         FE_INVALID and returning a NaN explicitly.
8318 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
8320         * po/de.po: Updated from Translation Project.
8321         * po/fi.po: Likewise.
8322         * po/sv.po: Likewise.
8324 2016-08-04  Florian Weimer  <fweimer@redhat.com>
8326         [BZ #20452]
8327         Use sysdep.o from libc.a in static libraries.
8328         * sysdeps/unix/sysv/linux/i386/Makefile
8329         (libpthread-shared-only-routines): Add sysdep.
8330         (librt-shared-only-routines): Likewise.
8332 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8334         * math/tgmath.h (nextdown): Define if
8335         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8336         (nextup): Likewise.
8338         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8339         macro.
8340         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8341         Document.
8342         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8343         Document macro.
8344         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8345         (exp10f): Likewise.
8346         (exp10l): Likewise.
8347         * math/bits/mathcalls.h (exp10): Declare if
8348         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8350         * manual/arith.texi (nextup): Fix typo in last change.
8352 2016-08-03  Zack Weinberg  <zackw@panix.com>
8354         [BZ #19239]
8355         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8356         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8357         define major, minor, and makedev to issue deprecation warnings on use.
8358         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8359         previously-activated deprecation warnings for these macros and prevent
8360         subsequent inclusions of this header from having any effect.
8361         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8362         including <sys/sysmacros.h>, and undefine it again afterward.
8364 2016-08-03  Zack Weinberg  <zackw@panix.com>
8366         * sysdeps/generic/sys/sysmacros.h: Delete file.
8367         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8368         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8369         * bits/sysmacros.h: ... here; this encoding is now the generic
8370         encoding.  Now defines only the following macros:
8371         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8372         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8373         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8375         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8376         bits/sysmacros.h and the above new macros to generate the
8377         public implementations of major, minor, and makedev.
8378         * misc/tst-makedev.c: New test.
8379         * include/sys/sysmacros.h: New wrapper.
8381         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8382         (routines): Add makedev.
8383         (tests): Add tst-makedev.
8384         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8385         gnu_dev_makedev.
8386         * posix/Makefile (headers): Remove sys/sysmacros.h.
8387         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8389         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8390         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8391         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8392         * sysdeps/unix/sysv/linux/alpha/libc.abilist
8393         * sysdeps/unix/sysv/linux/arm/libc.abilist
8394         * sysdeps/unix/sysv/linux/hppa/libc.abilist
8395         * sysdeps/unix/sysv/linux/i386/libc.abilist
8396         * sysdeps/unix/sysv/linux/ia64/libc.abilist
8397         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8398         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8399         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8400         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8401         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8402         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8403         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8404         * sysdeps/unix/sysv/linux/nios2/libc.abilist
8405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8409         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8410         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8411         * sysdeps/unix/sysv/linux/sh/libc.abilist
8412         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8413         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8416         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8417         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8418         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8419         Add GLIBC_2.25.
8421         * include/features.h (__glibc_clang_prereq): New macro.
8422         * misc/sys/cdefs.h (__glibc_clang_has_extension)
8423         (__attribute_deprecated_msg__): New macros.
8425 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8427         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8428         macro.
8429         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8430         * manual/arith.texi (issignaling): Document as ISO from TS
8431         18661-1:2014.
8432         (nextup): Likewise.
8433         (nextupf): Likewise.
8434         (nextupl): Likewise.
8435         (nextdown): Likewise.
8436         (nextdownf): Likewise.
8437         (nextdownl): Likewise.
8438         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8439         macro.
8440         * math/math.h: Define
8441         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8442         <bits/libc-header-start.h> instead of including <features.h>.
8443         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8444         [__USE_GNU].
8445         * math/bits/mathcalls.h (nextdown): Declare if
8446         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8447         (nextup): Likewise.
8448         (__issignaling): Likewise.
8450 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8452         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8453         check, and remove __glibc_likely hint
8454         from FP_INFINITE check.
8455         * s_csinhf.c (__csinhf): Likewise.
8457         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8458         hint from FP_INFINITE check.
8459         * s_csinhl.c (__csinhl): Likewise.
8461 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8463         * math/Makefile (libm-calls): Insert F placeholder into
8464         object names.  Move w_lgamma_compat* routines into
8465         (libm-compat-calls): New variable.
8466         (libm-compat-calls-ldouble-yes): New variable.
8467         (calls): Insert F placeholder.
8468         (generated): Redefine using new type-foreach macro call.
8469         (routines): Likewise.
8471         (types): New variable to hold a list of symbolic names
8472         for each type supported by the target machine.
8473         (libm-routines): Redefine using new types variable.
8474         (type-foreach): macro to replace fooF with the
8475         appropriately suffixed foo for each types.
8477         (type-ldouble-suffix): New variable.
8478         (type-ldouble-routines): Likewise.
8479         (type-ldouble-yes): Likewise.
8480         (type-double-suffix): Likewise.
8481         (type-double-routines): Likewise.
8482         (type-float-suffix): Likewise.
8483         (type-float-routines): Likewise.
8485         (dbl-only-routines): Remove.
8486         (long-c-yes): Likewise.
8487         (long-m-routines): Likewise.
8488         (long-m-support): Likewise.
8489         (long-m-yes): Likewise.
8490         (test-longdouble-yes): Likewise.
8492         (test-float.o): Simplify by increasing the scope of the
8493         recipe which adds libm-test.stmp to the vector types.
8494         (test-ifloat.o): Likewise.
8495         (test-float-finite.o): Likewise.
8496         (test-double.o): Likewise
8497         (test-idouble.o): Likewise.
8498         (test-double-finite.o): Likewise.
8499         (test-ldouble.o): Likewise
8500         (test-ildoubl.o): Likewise.
8501         (test-ldouble-finite.o): Likewise.
8503         (libm-tests): Redefine type tests using foreach and the
8504         list of types in types.
8506         (CPPFLAGS-test-ildoubl.c): Rename to
8507         (CPPFLAGS-test-ildouble.c): New variable
8509         * math/test-ildoubl.c: Rename to
8510         * math/test-ildouble.c: New file.
8512 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8514         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8515         Use fabsl instead of fabs.
8516         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8517         Likewise.
8518         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8519         Add long double suffix to constant to ensure proper
8520         promotion to long double.
8522 2016-08-03  Tom Tromey  <tom@tromey.com>
8524         [BZ #20311]
8525         * nptl_db/Makefile (headers): Add proc_service.h.
8526         * nptl_db/proc_service.h: Add include guard.  Use
8527         __BEGIN/__END_DECLS.
8528         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8529         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8530         arguments.
8533 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8535         [BZ #17730]
8536         Avoid using memalign for TCB allocations.
8537         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8538         (_dl_allocate_tls_storage): Use malloc and manual alignment.
8539         Avoid alignment gap in the TLS_DTV_AT_TP case.
8540         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8541         determine the pointer to free.
8542         * nptl/tst-tls3-malloc.c: New test.
8543         * nptl/Makefile (tests): Add it.
8544         (tst-tls3-malloc): Link with libdl, libpthread.
8545         (LDFLAGS-tst-tls3-malloc): Set.
8546         (tst-tls3-malloc.out): Depend on DSO used in test.
8548 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8550         [BZ #17730]
8551         Avoid using memalign for TLS allocations.
8552         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
8553         is_static member with to_free member.
8554         (union dtv): Use struct dtv_pointer.
8555         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8556         dtv_pointer instead of is_static.
8557         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8558         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8559         instead of val.
8560         (allocate_dtv_entry): New function.
8561         (allocate_and_init): Return struct dtv_pointer.  Call
8562         allocate_dtv_entry instead of __libc_memalign.
8563         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8564         instead of val.
8565         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8566         instead of is_static.  Adjust call to allocate_and_init.
8567         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8568         struct dtv_pointer instead of val.
8570 2016-08-03  Florian Weimer  <fweimer@redhat.com>
8572         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8573         (MALLOC_ALIGN_MASK): Move ...
8574         * malloc/malloc-internal.h: ... to here.
8575         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8577 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
8579         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8580         (UDP_ENCAP_GTP1U): Likewise.
8582         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8583         (PF_MAX): Update value.
8584         (AF_QIPCRTR): New macro.
8586 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8588         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8589         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8590         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8591         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8592         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8593         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8594         s_truncf-vis3, s_trunc-vis3.
8595         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8596         (CFLAGS-s_ceil-vis3.c): Likewise.
8597         (CFLAGS-s_floorf-vis3.c): Likewise.
8598         (CFLAGS-s_floor-vis3.c): Likewise.
8599         (CFLAGS-s_truncf-vis3.c): Likewise.
8600         (CFLAGS-s_trunc-vis3.c): Likewise.
8601         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8602         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8605         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8606         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8609         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8610         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8611         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8612         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8614 2016-08-02  David S. Miller  <davem@davemloft.net>
8616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8617         (__nearbyint_vis3): Don't check for sNaN before float register is
8618         loaded with the incoming argument.
8619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8620         (__nearbyintf_vis3): Likewise.
8621         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8622         Likewise.
8623         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8624         Likewise.
8626         * string/test-strncmp.c (do_test_limit): Make sure the test data
8627         stream is aligned as required for the type "CHAR".
8628         (do_test): Likewise.
8630 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
8632         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8633         by beq instructions jumping to the end of the function.
8634         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8635         clobber list. Use "i" constraint instead of "X".
8636         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8637         of "X".
8639 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
8641         * bits/libc-header-start.h: New file.
8642         * Makefile (headers): Add bits/libc-header-start.h.
8643         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8644         (__GLIBC_USE): New macro.
8645         * libio/stdio.h: Define
8646         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8647         <bits/libc-header-start.h> instead of including <features.h>.
8648         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8649         (open_memstream): Likewise.
8650         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8651         (__asprintf): Likewise.
8652         (asprintf): Likewise.
8653         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8654         (getdelim): Likewise.
8655         (getline): Likewise.
8656         * string/string.h: Define
8657         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8658         <bits/libc-header-start.h> instead of including <features.h>.
8659         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8660         (strndup): Likewise.
8661         * wcsmbs/wchar.h: Define
8662         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8663         <bits/libc-header-start.h> instead of including <features.h>.
8664         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8665         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8667 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8669         Support linking against compatibility symbols, for use in tests.
8670         * include/libc-symbols.h (symbol_version_reference): New macro.
8671         (symbol_version): Use it.
8672         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8673         (compat_symbol): Use compat_symbol_reference.
8674         (compat_symbol_1, compat_symbol_2): Remove.
8675         (compat_symbol_reference, compat_symbol_reference_1)
8676         (compat_symbol_reference_2): New macro.  Use
8677         symbol_version_reference.
8679 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8681         [BZ #19469]
8682         * malloc/Makefile (CPPFLAGS): Compile tests with
8683         -DTEST_NO_MALLOPT.
8684         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8686 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
8688         [BZ #20033]
8689         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8690         finite version.
8691         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8692         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8693         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8694         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8695         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8696         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8697         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8698         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8699         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8700         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8701         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8702         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8703         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8704         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8705         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8706         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8707         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8708         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8709         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8710         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8711         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8712         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8713         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8714         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8715         in zero power.
8717 2016-08-02  Florian Weimer  <fweimer@redhat.com>
8719         [BZ #20370]
8720         * malloc/arena.c (get_free_list): Update comment.  Assert that
8721         arenas on the free list have no attached threads.
8722         (remove_from_free_list): New function.
8723         (reused_arena): Call it.
8725 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
8727         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8728         when it is a NaN.
8729         [_IEEE_FP_INEXACT] Remove.
8730         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8731         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8732         when it is a NaN.
8733         [_IEEE_FP_INEXACT] Remove.
8734         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8735         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8736         when it is a NaN.
8737         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8738         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8739         when its absolute value is greater than 0x1.0p52.
8740         [_IEEE_FP_INEXACT] Remove.
8741         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8742         when its absolute value is greater than 0x1.0p23.
8743         [_IEEE_FP_INEXACT] Remove.
8745 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
8747         * version.h (RELEASE): Set to "development"
8748         (VERSION): Set to 2.24.90.
8749         * NEWS: Add 2.25 section.
8751         * version.h (RELEASE): Set to "stable"
8752         (VERSION): Set to 2.24.
8753         * include/features.h (__GLIBC_MINOR__): Set to 24.
8755         * NEWS: Add 2.24 fixed bugs.
8756         * po/libc.pot: Regenerate.
8758 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
8760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8761         [$(subdir) = math] (libm-sysdep_routines): Remove.
8762         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8763         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8764         s_truncf-vis3, s_trunc-vis3.
8765         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8767         file.
8768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8783         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8784         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8785         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8793         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8794         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8795         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8796         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8801         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8802         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8803         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8804         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8805         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8806         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8807         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8808         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8809         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8810         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8812 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
8814         [BZ #20384]
8815         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8816         test-double-libmvec-sincos-avx-main.o,
8817         test-double-libmvec-sincos-avx2-main.o,
8818         test-double-libmvec-sincos-main.o,
8819         test-float-libmvec-sincosf-avx-main.o,
8820         test-float-libmvec-sincosf-avx2-main.o and
8821         test-float-libmvec-sincosf-main.o.
8822         test-float-libmvec-sincosf-avx512-main.o.
8823         ($(objpfx)test-double-libmvec-sincos): Also link with
8824         $(objpfx)test-double-libmvec-sincos-main.o.
8825         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8826         $(objpfx)test-double-libmvec-sincos-avx-main.o.
8827         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8828         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8829         ($(objpfx)test-float-libmvec-sincosf): Also link with
8830         $(objpfx)test-float-libmvec-sincosf-main.o.
8831         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8832         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8833         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8834         test-double-libmvec-sincos-avx512-main.o and
8835         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8836         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8837         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8838         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8839         (CFLAGS-test-double-libmvec-sincos.c): Removed.
8840         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8841         (CFLAGS-test-double-libmvec-sincos-main.c): New.
8842         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8843         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8844         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8845         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8846         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8847         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8848         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8849         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8850         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8851         -DREQUIRE_AVX2.
8852         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8853         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8854         -DREQUIRE_AVX512F.
8855         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8856         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8857         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8858         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8859         file.
8860         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8861         Likewise.
8862         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8863         Likewise.
8864         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8865         Likewise.
8866         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8867         Likewise.
8868         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8869         Likewise.
8870         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8871         Likewise.
8872         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8873         Likewise.
8875 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
8877         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8879 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
8881         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8882         and typo in a comment about AT_HWCAP entry.
8884 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8886         * sysdeps/aarch64/libm-test-ulps: Updated.
8888 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8890         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8891         of r13 as it is not restored in mvcle case.
8893 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
8895         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8896         Rename "ret" to "__ret".
8897         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8898         inline_syscall5, inline_syscall6): Likewise.
8900 2016-07-19   Will Newton  <will.newton@gmail.com>
8902         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8903         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8904         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8905         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8906         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8908 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
8910         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8911         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8912         -mfpmath=387 with $(rtld-CFLAGS).
8913         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8914         $(rtld-CFLAGS).
8916 2016-07-18   Ross Burton  <ross.burton@intel.com>
8917              Khem Raj  <raj.khem@gmail.com>
8919         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8920         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8921         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8922         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8923         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8924         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8925         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8926         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8927         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8928         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8929         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8930         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8931         R_METAG_TLS_DTPOFF): New.
8933 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8934             Matt Clay  <mclay@lycos.com>
8936         [BZ #20357]
8937         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8938         to call __mpsin/__mpcos and to negate values.
8939         * math/auto-libm-test-in: Add test.
8940         * math/auto-libm-test-out: Regenerate.
8942 2016-07-18  Zack Weinberg  <zackw@panix.com>
8944         * grp/Makefile: Don't install the internal header grp-merge.h.
8946 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8948         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8950 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8952         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8954 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8956         [BZ #15368]
8957         * sysdeps/unix/sysv/linux/nptl-signals.h
8958         (__nptl_clear_internal_signals): New function.
8959         (__libc_signal_block_all): Likewise.
8960         (__libc_signal_block_app): Likewise.
8961         (__libc_signal_restore_set): Likewise.
8962         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8963         implementation.
8964         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8965         the cached pid/tid value in pthread structure.
8967 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
8969         [BZ #20347]
8970         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8972 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8974         [BZ #20348]
8975         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8976         preadv64, pwrite64 and pwritev64.
8978 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
8980         [BZ #20350]
8981         * posix/tst-preadwrite.c: Renamed to ...
8982         * posix/tst-preadwrite-common.c: This.
8983         (PREAD): Removed.
8984         (PWRITE): Likewise.
8985         (STRINGIFY): Likewise.
8986         (STRINGIFY2): Likewise.
8987         (do_prepare): Make it static and remove function arguments.
8988         (do_test): Likewise.
8989         (PREPARE): Updated.
8990         (TEST_FUNCTION): New.
8991         (name): Make it static.
8992         (fd): Likewise.
8993         (do_prepare): Use create_temp_file.
8994         (do_test): Renamed to ...
8995         (do_test_with_offset): This.  Make it static and accept offset.
8996         Properly check return value of PWRITE and PREAD.  Return bytes
8997         read.  Don't close fd nor unlink name.
8998         * posix/tst-preadwrite.c: Rewrite.
8999         * posix/tst-preadwrite64.c: Likewise.
9001 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
9003         [BZ #20309]
9004         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
9005         -mtls-dialect=gnu2 works.
9006         * configure: Regenerated.
9007         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
9008         (tests): Add tst-gnu2-tls1.
9009         (modules-names): Add tst-gnu2-tls1mod.
9010         ($(objpfx)tst-gnu2-tls1): New.
9011         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
9012         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
9013         * elf/tst-gnu2-tls1.c: New file.
9014         * elf/tst-gnu2-tls1mod.c: Likewise.
9015         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
9016         bytes for push in the PLT entry to align the stack.
9018 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
9020         [BZ #20349]
9021         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
9023 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9025         [BZ #18707]
9026         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
9027         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
9029 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9031         * sysdeps/unix/sysv/linux/sysdep.h
9032         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
9033         guards.
9034         * misc/tst-preadvwritev-common.c: New file.
9035         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
9036         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
9037         a check for files larger than 2GB.
9039         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9040         (__ASSUME_OFF_DIFF_OFF64): Remove define.
9041         * sysdeps/unix/sysv/linux/pread.c
9042         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
9043         __OFF_T_MATCHES_OFF64_T.
9044         * sysdeps/unix/sysv/linux/pread64.c
9045         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
9046         * sysdeps/unix/sysv/linux/preadv.c
9047         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
9048         * sysdeps/unix/sysv/linux/preadv64.c
9049         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
9050         * sysdeps/unix/sysv/linux/pwrite.c
9051         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
9052         * sysdeps/unix/sysv/linux/pwrite64.c
9053         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
9054         * sysdeps/unix/sysv/linux/pwritev.c
9055         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
9056         * sysdeps/unix/sysv/linux/pwritev64.c
9057         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
9059 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
9061         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9062         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
9064 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9066         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
9068 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
9070         [BZ #20240]
9071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9072         (CFLAGS-s_modf-ppc32.c): New variable.
9073         (CFLAGS-s_modff-ppc32.c): Likewise.
9074         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9075         (CFLAGS-s_modf-ppc64.c): Likewise.
9076         (CFLAGS-s_modff-ppc64.c): Likewise.
9078 2016-07-07  Andreas Schwab  <schwab@suse.de>
9080         [BZ #20263]
9081         * nptl/tst-robust10.c: New test.
9082         * nptl/Makefile (tests): Add tst-robust10.
9084 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
9086         [BZ #20263]
9087         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9089 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9091         * sysdeps/s390/linkmap.h (struct link_map_machine):
9092         Remove member gotplt and add member jmprel.
9093         * sysdeps/s390/s390-32/dl-machine.h
9094         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9095         instead of gotplt with &got[3].
9096         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9097         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9099 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
9101         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9103 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9105         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9106         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9107         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9108         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9109         * libio/vtables.c (_IO_vtable_check)
9110         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9111         * libio/libioP.h (IO_set_accept_foreign_vtables)
9112         [!PTR_MANGLE]: Do not call PTR_MANGLE.
9114 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
9116         [BZ #20314]
9117         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9118         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9119         $(common-objpfx)cmath.
9120         ($(common-objpfx)cstdlib): New target.
9121         ($(common-objpfx)cmath): Likewise.
9123 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
9125         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9127 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9129         [BZ #20327]
9130         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9131         are not part of the string.
9133 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9135         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9136         * nptl/tst-cancel4-common.h (fifoname): New variable.
9137         (fifofd): Likewise.
9138         (cl_fifo): New function.
9139         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
9140         SIGINT.
9141         (tf_open): Add early cancel test.
9143 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
9145         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
9147 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
9149         * sysdeps/generic/ldsodefs.h
9150         (dl_symbol_visibility_binds_local_p): New inline function.
9151         * elf/dl-addr.c (determine_info): Treat hidden and internal
9152         symbols as local.
9153         * elf/dl-lookup.c (do_lookup_x): Likewise.
9154         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
9156 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
9158         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
9159         invalid exception for a sNaN input.
9160         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9161         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9162         (__nearbyint_vis3): Likewise
9163         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9164         (__nearbyintf_vis3): Likewise
9165         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
9166         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9167         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
9168         Likewise.
9169         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
9170         Likewise.
9172 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
9174         [BZ #20139]
9175         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
9176         (HAVE_AVX512DQ_ASM_SUPPORT): This.
9177         * sysdeps/x86_64/configure.ac: Require assembler from binutils
9178         2.24 or above.
9179         (HAVE_AVX512_ASM_SUPPORT): Removed.
9180         (HAVE_AVX512DQ_ASM_SUPPORT): New.
9181         * sysdeps/x86_64/configure: Regenerated.
9182         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
9183         check unconditional.
9184         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9185         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9186         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9187         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
9188         Likewise.
9189         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9190         Likewise.
9191         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9192         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9193         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9194         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9195         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9196         Likewise.
9197         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9198         Likewise.
9199         * sysdeps/x86_64/multiarch/memset.S: Likewise.
9200         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9201         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
9202         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
9203         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
9204         Likewise.
9205         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
9206         Likewise.
9207         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
9208         Likewise.
9209         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
9210         Likewise.
9211         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
9212         Likewise.
9213         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
9214         Likewise.
9215         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
9216         Likewise.
9217         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
9218         Likewise.
9219         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
9220         Likewise.
9221         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
9222         Likewise.
9223         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
9224         Likewise.
9226 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
9228         [BZ #20024]
9229         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
9230         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
9231         of this implementation of vector function.
9232         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9233         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9234         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9235         Likewise.
9236         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9237         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9238         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
9239         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
9240         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
9241         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
9242         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
9243         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
9244         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
9245         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
9246         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
9247         for testing vector sincos with fixed ABI.
9248         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9249         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9250         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9251         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9252         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9253         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9254         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9255         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
9256         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
9257         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
9258         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
9259         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
9260         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
9261         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
9262         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9263         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9265 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9267         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
9269 2016-06-30  Anton Blanchard  <anton@samba.org>
9271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9272         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
9273         s_sinf-ppc64.
9274         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
9275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9277         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9279 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9282         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9283         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
9284         e_expf-ppc64.
9285         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
9286         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
9287         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
9288         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
9290 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
9292         [BZ #20277]
9293         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
9294         when SHARED is defined.
9296 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
9298         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
9299         (index_arch_Prefer_ERMS): Likewise.
9300         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
9301         __memcpy_erms for Prefer_ERMS.
9302         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9303         (__memmove_erms): Enabled for libc.a.
9304         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
9305         __memmove_erms or Prefer_ERMS.
9306         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
9307         __mempcpy_erms for Prefer_ERMS.
9308         * sysdeps/x86_64/multiarch/memset.S (memset): Return
9309         __memset_erms for Prefer_ERMS.
9311 2016-06-30  Andreas Schwab  <schwab@suse.de>
9313         [BZ #20262]
9314         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9315         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
9316         of memory.
9318 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
9320         [BZ #18645]
9321         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9322         (test-extras): Add tst-cleanupx4aux.
9323         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
9324         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9325         tst-cleanupx4aux.o.
9326         * nptl/tst-cleanupx4aux.c: New file.
9328 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
9330         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9332 2016-06-29  Andreas Schwab  <schwab@suse.de>
9334         [BZ #20260]
9335         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9336         address before the beginning of the string as an integer to avoid
9337         array-bounds warning.
9339 2016-06-28  Richard Henderson  <rth@redhat.com>
9341         * elf/elf.h (EM_BPF): New.
9342         (EM_NUM): Update.
9343         (R_BPF_NONE, R_BPF_MAP_FD): New.
9345         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9346         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9347         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9348         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9349         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9350         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9351         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9352         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9353         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9354         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9355         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9356         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9357         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9358         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9359         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9360         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9361         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9362         (EM_NUM): Update.
9364 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
9366         [BZ #18960]
9367         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9368         Set _nl_current_LC_CATEGORY_used to two instead of one.
9370 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
9372         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9373         (do_test): ... this.
9374         (TEST_FUNCTION): New macro.
9375          Include test-skeleton.c.
9376         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9377         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9379 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
9381         [BZ #15479]
9382         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9383         floating-point environment rather than just control word.
9384         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9385         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9386         floating-point environment, with "invalid" exceptions merged in,
9387         rather than just control word.
9388         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9389         * math/libm-test.inc (trunc_test_data): Do not allow spurious
9390         "inexact" exceptions.
9392         [BZ #15479]
9393         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9394         floating-point environment rather than just control word.
9395         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9396         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9397         floating-point environment, with "invalid" exceptions merged in,
9398         rather than just control word.
9399         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9400         * math/libm-test.inc (floor_test_data): Do not allow spurious
9401         "inexact" exceptions.
9403         [BZ #15479]
9404         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9405         floating-point environment rather than just control word.
9406         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9407         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9408         floating-point environment, with "invalid" exceptions merged in,
9409         rather than just control word.
9410         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9411         * math/libm-test.inc (ceil_test_data): Do not allow spurious
9412         "inexact" exceptions.
9414 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
9416         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9417         __libc_vfork.
9418         (__vfork) [IS_IN (libc)]: Remove alias.
9419         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9420         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9421         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9423 2016-06-24  Torvald Riegel  <triegel@redhat.com>
9425         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9426         of atomic_compare_and_exchange_bool_rel.
9427         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9428         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9429         catomic_compare_and_exchange_bool_rel): Remove.
9430         * sysdeps/aarch64/atomic-machine.h
9431         (atomic_compare_and_exchange_bool_rel): Likewise.
9432         * sysdeps/alpha/atomic-machine.h
9433         (atomic_compare_and_exchange_bool_rel): Likewise.
9434         * sysdeps/arm/atomic-machine.h
9435         (atomic_compare_and_exchange_bool_rel): Likewise.
9436         * sysdeps/mips/atomic-machine.h
9437         (atomic_compare_and_exchange_bool_rel): Likewise.
9438         * sysdeps/microblaze/atomic-machine.h
9439         ( __arch_compare_and_exchange_bool_8_rel,
9440         __arch_compare_and_exchange_bool_16_rel): Likewise.
9441         * sysdeps/powerpc/atomic-machine.h
9442         ( __arch_compare_and_exchange_bool_8_rel,
9443         __arch_compare_and_exchange_bool_16_rel): Likewise.
9444         * sysdeps/powerpc/powerpc32/atomic-machine.h
9445         ( __arch_compare_and_exchange_bool_32_rel,
9446         __arch_compare_and_exchange_bool_64_rel): Likewise.
9447         * sysdeps/powerpc/powerpc64/atomic-machine.h
9448         ( __arch_compare_and_exchange_bool_32_rel,
9449         __arch_compare_and_exchange_bool_64_rel): Likewise.
9450         * sysdeps/tile/atomic-machine.h
9451         (atomic_compare_and_exchange_bool_rel): Likewise.
9453 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
9455         [BZ #20296]
9456         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9457         when either argument is a NaN.
9458         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9459         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9461         * math/libm-test.inc (snan_value_ld): New macro.
9462         (isgreater_test_data): Add sNaN tests.
9463         (isgreaterequal_test_data): Likewise.
9464         (isless_test_data): Likewise.
9465         (islessequal_test_data): Likewise.
9466         (islessgreater_test_data): Likewise.
9467         (isunordered_test_data): Likewise.
9468         (nextafter_test_data): Likewise.
9469         (nexttoward_test_data): Likewise.
9470         (remainder_test_data): Likewise.
9471         (remquo_test_data): Likewise.
9472         (significand_test_data): Likewise.
9473         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9475 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9477         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9478         environment macros are defined.
9479         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9481 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9483         [BZ #20191]
9484         Implement vtable verification in libio.
9485         * Makerules (shlib.lds): Place __libc_IO_vtables section.
9486         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9487         * debug/vdprintf_chk.c (__vdprintf_chk): Call
9488         _IO_new_file_init_internal instead of _IO_file_init.
9489         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9490         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9491         * libio/Makefile (routines): Add vtables.
9492         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9493         (_IO_init): Remove, not for internal use.
9494         (_IO_init_internal): Declare, internal replacement for _IO_init.
9495         (_IO_file_init): Remove, not for internal use.
9496         (_IO_new_file_init): Remove, not for internal use.
9497         (_IO_new_file_init_internal): Declare, internal replacement for
9498         _IO_new_file_init.
9499         (_IO_old_file_init): Remove, not for internal use.
9500         (_IO_old_file_init_internal): Declare, internal replacement for
9501         _IO_old_file_init.
9502         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9503         internal use.
9504         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9505         Declare.
9506         (libio_vtable): New macro.
9507         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9508         functions.
9509         * libio/fileops.c (_IO_new_file_init_internal): Rename from
9510         _IO_new_file_init.
9511         (_IO_new_file_init): New externally visible wrapper which disables
9512         vtable verification.
9513         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9514         Define as vtables.
9515         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9516         (_IO_init): New externally visible wrapper which disables
9517         vtable verification.
9518         * libio/iofdopen.c (_IO_new_fdopen): Call
9519         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
9520         comment.
9521         * libio/iofopen.c (__fopen_internal): Call
9522         _IO_new_file_init_internal instead of _IO_file_init.
9523         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9524         Define as vtables.
9525         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9526         _IO_new_file_init_internal instead of _IO_file_init.
9527         * libio/iopopen.c (_IO_new_popen): Likewise.
9528         (_IO_proc_jumps): Define as vtable.
9529         * libio/iovdprintf.c (_IO_vdprintf): Call
9530         _IO_new_file_init_internal instead of _IO_file_init.
9531         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9532         (__open_memstream): Call _IO_init_internal instead of _IO_init.
9533         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9534         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9535         _IO_old_file_init.
9536         (_IO_old_file_init): New externally visible wrapper which disables
9537         vtable verification.
9538         (_IO_old_file_jumps): Define as vtable.
9539         * libio/oldiofdopen.c (_IO_old_fdopen): Call
9540         _IO_old_file_init_internal instead of _IO_old_file_init.
9541         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9542         * libio/oldiopopen.c (_IO_old_popen): Likewise.
9543         (_IO_old_proc_jumps): Define as vtable.
9544         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9545         Define as vtables.
9546         * libio/vtables.c: New file.
9547         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9548         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9549         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9550         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9551         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9552         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9553         instead of _IO_init.
9555 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9557         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9559 2016-06-23  Florian Weimer  <fweimer@redhat.com>
9561         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9562         potentially unused.
9564 2016-06-22  Florian Weimer  <fweimer@redhat.com>
9566         * test-skeleton.c (write_message): New function.
9567         * malloc/tst-mallocfork2.c (write_message): Remove.
9568         * debug/tst-longjmp_chk2.c (write_indented): New function.
9569         (write_message): Remove.
9570         (stackoverflow_handler): Call write_indented.
9572 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
9574         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9575         "inexact" exceptions after fnstenv.
9576         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9577         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9578         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9580 2015-06-22  Zack Weinberg  <zackw@panix.com>
9582         * sysdeps/generic/bits/hwcap.h: Moved to ...
9583         * bits/hwcap.h: Here.
9585 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
9587         * sysdeps/aarch64/memcpy.S (memcpy):
9588         Further tuning for performance.
9590 2016-06-21  Florian Weimer  <fweimer@redhat.com>
9592         [BZ #20284]
9593         * malloc/arena.c (reused_arena): Do not return NULL if we start
9594         out with a non-corrupted arena.
9596 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9598         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9599         * misc/tst-preadvwritev.c: New file.
9600         * misc/tst-preadvwritev64.c: Likewise.
9601         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9602         usage.
9603         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9604         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9605         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9606         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9608 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
9610         [BZ #19654]
9611         * sysdeps/x86_64/fpu/Makefile: Added new tests.
9612         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9613         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9614         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9615         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9616         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9617         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9618         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9619         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9620         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9621         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9622         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9623         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9624         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9625         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9626         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9627         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9628         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9629         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9630         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9631         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9632         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9633         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9634         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9635         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9636         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9638 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9640         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9641         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9643 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
9645         * sysdeps/aarch64/memcpy.S (memcpy):
9646         Rewrite of optimized memcpy and memmove.
9647         * sysdeps/aarch64/memmove.S (memmove): Remove
9648         memmove code (merged into memcpy.S).
9650 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9652         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9653         * sysdeps/generic/dl-dtv.h: New file.
9654         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9655         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9656         (dtv_t): Remove.
9657         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9658         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9659         (dtv_t): Remove.
9660         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9661         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9662         (dtv_t): Remove.
9663         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9664         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9665         (dtv_t): Remove.
9666         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9667         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9668         (dtv_t): Remove.
9669         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9670         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9671         (dtv_t): Remove.
9672         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9673         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9674         (dtv_t): Remove.
9675         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9676         (dtv_t): Remove.
9677         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9678         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9679         (dtv_t): Remove.
9680         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9681         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9682         (dtv_t): Remove.
9683         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9684         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9685         (dtv_t): Remove.
9686         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9687         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9688         (dtv_t): Remove.
9689         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9690         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9691         (dtv_t): Remove.
9692         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9693         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9694         (dtv_t): Remove.
9695         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9696         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9697         (dtv_t): Remove.
9698         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9699         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9700         (dtv_t): Remove.
9702 2016-06-20  Florian Weimer  <fweimer@redhat.com>
9704         Revert symbol poisoning of  __malloc_initialize_hook.
9705         * include/stdc-predef.h (__malloc_initialize_hook): Remove
9706         poisoning.
9707         * malloc/Makefile: Remove un-poisoning.
9708         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9709         instead of old__malloc_initialize_hook.
9710         * malloc/malloc-hooks.h: Likewise.
9711         * malloc/malloc.c: Likewise.
9712         * malloc/mcheck-init.c: Likewise.
9714 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
9716         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9718 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
9720         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9721         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9722         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9723         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9725 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9727         * NEWS: Mention addition of nextup and nextdown.
9728         * manual/arith.texi: Document nextup and nextdown.
9729         * manual/libm-err-tab.pl: Add nextup and nextdown.
9730         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9731         * math/Versions (libm): Add GLIBC_2.24.
9732         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9733         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9734         Add new test.
9735         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9736         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9737         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9738         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9739         (nextup_test_data): Likewise.
9740         (nextdown_test_data): Likewise.
9741         * math/s_nextdown.c: New file.
9742         * math/s_nextdownf.c: Likewise.
9743         * math/s_nextdownl.c: Likewise.
9744         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9745         F(nextup): New function.
9746         F(nextdown): Likewise.
9747         * math/tgmath.h: Add nextup and nextdown.
9748         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9749         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9750         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9751         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9752         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9753         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9754         Add nextup and nextdown.
9755         (CFLAGS-nldbl-nextup.c): New variable.
9756         (CFLAGS-nldbl-nextdown.c): Likewise.
9757         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9758         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9759         * sysdeps/nacl/libm.abilist: Update.
9760         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9761         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9762         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9763         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9764         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9765         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9766         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9767         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9768         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9769         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9770         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9771         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9772         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9774         Likewise.
9775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9777         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9778         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9789 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9791         * manual/pattern.texi: Fix typos & grammar errors.
9793 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9795         * manual/search.texi: Fix typos & grammar errors.
9797 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9799         * manual/message.texi: Fix typos & grammar errors.
9801 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
9803         * manual/contrib.texi: Fix spelling typos.
9804         * manual/crypt.texi: Likewise.
9805         * manual/filesys.texi: Likewise.
9806         * manual/locale.texi: Likewise.
9807         * manual/message.texi: Likewise.
9808         * manual/nss.texi: Likewise.
9809         * manual/string.texi: Likewise.
9811 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9813         * manual/locale.texi: Fix typos & grammar errors.
9815 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9817         * manual/charset.texi: Fix typos & grammar errors.
9819 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9821         * manual/string.texi: Fix typos.
9823 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9825         * manual/ctype.texi: Fix typos.
9827 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
9829         * manual/memory.texi: Fix various typos & grammar errors.
9831 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
9833         [BZ #20255]
9834         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
9835         * math/libm-test.inc (fdim_test_data): Add another test.
9837         [BZ #6796]
9838         [BZ #20255]
9839         [BZ #20256]
9840         * math/s_fdim.c: Include <math_private.h>.
9841         (__fdim): Use math_narrow_eval on result.
9842         * math/s_fdimf.c: Include <math_private.h>.
9843         (__fdimf): Use math_narrow_eval on result.
9844         * sysdeps/i386/fpu/s_fdim.S: Remove file.
9845         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9846         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9847         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9848         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9849         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9850         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9851         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9852         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9853         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9854         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9855         * math/libm-test.inc (fdim_test_data): Expect errno setting on
9856         overflow.  Add sNaN tests.
9858         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9859         fpclassify.
9860         * math/s_fdimf.c (__fdimf): Likewise.
9861         * math/s_fdiml.c (__fdiml): Likewise.
9863 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9865         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9866         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9868         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9869         ifunc'ed strcasecmp/strncasecmp.
9870         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9871         [EALIGN]: Removed.
9872         [END]: Likewise.
9873         [__strcasecmp]: Define instead of the above to control symbol name.
9874         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9875         for __strcasecmp_power8.
9876         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9877         for __strncasecmp_power8.
9878         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9879         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9880         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9881         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9882         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9883         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9885 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
9887         [BZ #20252]
9888         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9889         arguments when second argument is a NaN.
9890         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9891         qNaN tests.
9893         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9894         (conj_test_data): Likewise.
9895         (copysign_test_data): Likewise.
9896         (creal_test_data): Likewise.
9897         (fma_test_data): Likewise.
9898         (fmod_test_data): Likewise.
9900         [BZ #20250]
9901         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9902         itself.
9903         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9904         zero input to itself.
9905         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9906         Likewise.
9907         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9908         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9909         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9910         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9911         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9913 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9915         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9916         * nptl/tst-cancel4-common.c: New file.
9917         * nptl/tst-cancel4-common.h: Likewise.
9918         * nptl/tst-cancel4.c: Move common definitions to
9919         tst-cancel4-common.{c,h} file.
9920         * nptl/tst-cancel4_1.c: New test.
9921         * nptl/tst-cancel4_2.c: New test.
9923 2016-06-13  Florian Weimer  <fweimer@redhat.com>
9925         [BZ #20248]
9926         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9927         (write_message): New function.
9928         (stackoverflow_handler): Call it instead of printf, to avoid
9929         excessive stack usage by printf.
9930         (do_test): Restore SIGSEGV, SIGBUS default handlers.
9932 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9934         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9935         (prio_inherit_missing): Remove define.
9936         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9937         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9938         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9939         Likewise.
9940         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9941         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9942         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9943         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9944         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9945         (__ASSUME_FUTEX_LOCK_PI): Likewise.
9947 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
9949         [BZ #19670]
9950         [BZ #19672]
9952         * io/test-lfs.c (do_prepare): Use xmalloc.
9953         * io/tst-fcntl.c (do_prepare): Likewise.
9954         * libio/tst-fopenloc.c (do_bz17916): Likewise.
9955         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9956         * login/tst-utmp.c (do_prepare): Likewise.
9957         * posix/tst-exec.c (do_prepare): Likewise.
9958         * posix/tst-pathconf.c (prepare): Likewise.
9959         * posix/tst-spawn.c (do_prepare): Likewise.
9960         * posix/tst-truncate.c (do_prepare): Likewise.
9961         * rt/tst-aio.c (do_prepare): Likewise.
9962         * rt/tst-aio64.c (do_prepare): Likewise.
9964 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9966         [BZ #20237]
9967         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9968         (get*ent): Set entidx to NULL during initialization.  If entidx is
9969         NULL, start iteration from the beginning.
9971 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9973         * malloc/malloc.c (musable): Return correct size for dumped fake
9974         mmapped chunk.
9976 2016-06-11  Florian Weimer  <fweimer@redhat.com>
9978         [BZ #20222]
9979         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9980         (_IO_cookie_write): Likewise.
9981         (_IO_cookie_seek): Likewise.
9982         (_IO_cookie_close): Likewise.
9983         (_IO_old_cookie_seek): Likewise.
9984         (set_callbacks): New function.
9985         (_IO_cookie_init): Call set_callbacks to copy callbacks.
9987 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
9989         * locale/programs/localedef.c (oldstyle_tables): Remove.
9990         * locale/programs/localedef.h (oldstyle_tables): Likewise.
9992 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
9994         [BZ #20240]
9995         * math/Makefile (CFLAGS-s_modf.c): New variable.
9996         (CFLAGS-s_modff.c): Likewise.
9997         (CFLAGS-s_modfl.c): Likewise.
9998         * math/libm-test.inc (modf_test_data): Add sNaN tests.
10000 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
10002         [BZ #20215]
10003         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
10004         [!__GNUC_PREREQ (3,2)]: Likewise.
10006 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
10008         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
10009         (msghdr.msg_controllen): Likewise.
10010         (cmsghdr.cmsg_len): Likewise.
10011         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
10012         ptw-oldsendmsg.
10013         (CFLAGS-oldrecvmsg.c): Remove rule.
10014         (CFLAGS-oldsendmsg.c): Likewise.
10015         (CFLAGS-recvmsg.c): Add rule.
10016         (CFLAGS-sendmsg.c): Likewise.
10017         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
10018         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
10019         (CFLAGS-recvmsg.c): Remove rule.
10020         (CFLAGS-sendmsg.c): Likewise.
10021         (CFLAGS-oldrecvmsg.c): Likewise.
10022         (CFLAGS-oldsendmsg.c): Likewise.
10023         (CFLAGS-recvmmsg.c): Likewise.
10024         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
10025         to kernel defined interfaces.
10026         (msghdr.msg_controllen): Likewise.
10027         (cmsghdr.cmsg_len): Likewise.
10028         (msghdr.__glibc_reserved1): Remove member.
10029         (msghdr.__glibc_reserved2): Likewise.
10030         (cmsghdr.__glibc_reserved1): Likewise.
10031         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
10032         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
10033         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10034         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10035         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
10036         version.
10037         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
10038         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
10039         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
10040         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
10041         Remove recvmsg and sendmsg.
10042         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
10043         Likewise.
10044         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10045         Likewise.
10046         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10047         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10048         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10049         Likewise.
10050         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10051         Likewise.
10052         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
10053         [libc] (GLIBC_2.24): Likewise.
10054         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10055         Likewise.
10056         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10057         Likewise.
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
10059         [libc] (GLIBC_2.24): Likewise.
10060         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10061         Likewise.
10062         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10063         Likewise.
10064         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10065         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10066         Likewise.
10067         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10068         Likewise.
10069         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10070         Likewise.
10071         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
10072         Likewise.
10073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
10074         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
10075         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
10076         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10077         version for {recv,send,recm,sendm}msg.
10078         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10079         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10080         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10081         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10082         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10083         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10084         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10085         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10086         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10091         Likewise.
10092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10093         Likewise.
10094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10096         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10097         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10098         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10099         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10100         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10101         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10104         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10105         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10108 2016-06-10  Florian Weimer  <fweimer@redhat.com>
10110         [BZ #19564]
10111         Remove __malloc_initialize_hook from the API.
10112         * malloc/malloc.h (__malloc_initialize_hook): Remove.
10113         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10114         #pragma GCC poison.
10115         * malloc/malloc-hooks.h: New file.
10116         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10117         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10118         (old__malloc_initialize_hook): Rename from
10119         __malloc_initialize_hook to evade poisoning.  Turn into compat
10120         symbol.
10121         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10122         __malloc_initialize_hook.
10123         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10124         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10125         * manual/memory.texi (Hooks for Malloc): Remove
10126         __malloc_initialize_hook.  Adjust hook example.
10128 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
10130         [BZ #20235]
10131         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10132         itself.
10133         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10134         * math/libm-test.inc (log2_test_data): Add sNaN tests.
10136         [BZ #20234]
10137         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
10138         infinity or NaN input to itself.
10140         [BZ #20233]
10141         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
10142         to itself.
10144         [BZ #20232]
10145         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
10146         itself.
10148 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
10150         * sysdeps/x86_64/start.S (_start): Always indirect branch to
10151         __libc_start_main via GOT.
10153 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
10155         * sysdeps/x86_64/memcopy.h: New file.
10156         * sysdeps/x86_64/wordcopy.c: Likewise.
10158 2016-06-09  Florian Weimer  <fweimer@redhat.com>
10160         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
10161         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10162         <cstdlib>.
10163         (optimization_barrier): New.
10164         (do_test): Use it.  Call quick_exit in the global namespace.
10165         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
10166         instead of <cstdlib>, <thread>.
10167         (optimization_barrier): New.
10168         (non_main_thread): Adjust declaration.  Call optimization_barrier.
10169         Call quick_exit in the global namespace.
10170         (do_test): Call optimization_barrier.  Use pthread_create,
10171         pthread_join instead of std::thread.
10173 2016-06-09  Andreas Schwab  <schwab@suse.de>
10175         [BZ #19755]
10176         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
10177         new entries in auto-propagate mode.
10178         * nscd/grpcache.c (cache_addgr): Likewise.
10180 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
10182         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
10183         New functions.
10184         (add_temp_file): Use them.
10186 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
10188         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
10190 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
10192         [BZ #20229]
10193         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
10194         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
10195         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
10197         [BZ #20228]
10198         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
10199         itself.
10200         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10201         * math/libm-test.inc (log10_test_data): Add sNaN tests.
10203         [BZ #20227]
10204         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
10205         itself.
10206         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10207         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10208         * math/libm-test.inc (log_test_data): Add sNaN tests.
10210         [BZ #20226]
10211         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
10212         itself.
10213         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10214         * math/libm-test.inc (exp_test_data): Add sNaN tests.
10215         (exp10_test_data): Likewise.
10216         (expm1_test_data): Likewise.
10218         [BZ #20225]
10219         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
10220         itself.
10221         * math/s_ldexpf.c (__ldexpf): Likewise.
10222         * math/s_ldexpl.c (__ldexpl): Likewise.
10223         * math/w_scalbln.c (__w_scalbln): Likewise.
10224         * math/w_scalblnf.c (__w_scalblnf): Likewise.
10225         * math/w_scalblnl.c (__w_scalblnl): Likewise.
10226         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
10227         (scalbln_test_data): Likewise.
10229         [BZ #20224]
10230         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
10231         argument to itself.
10232         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
10234 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
10236         [BZ #19776]
10237         * sysdeps/x86_64/memcpy.S: Make it dummy.
10238         * sysdeps/x86_64/mempcpy.S: Likewise.
10239         * sysdeps/x86_64/memmove.S: New file.
10240         * sysdeps/x86_64/memmove_chk.S: Likewise.
10241         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10242         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10243         * sysdeps/x86_64/memmove.c: Removed.
10244         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10245         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10246         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
10247         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10248         Likewise.
10249         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10250         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10251         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10252         memcpy-sse2-unaligned, memmove-avx-unaligned,
10253         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
10254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10255         (__libc_ifunc_impl_list): Replace
10256         __memmove_chk_avx512_unaligned_2 with
10257         __memmove_chk_avx512_unaligned.  Remove
10258         __memmove_chk_avx_unaligned_2.  Replace
10259         __memmove_chk_sse2_unaligned_2 with
10260         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
10261         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
10262         with __memmove_avx512_unaligned.  Replace
10263         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
10264         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
10265         with __memcpy_chk_avx512_unaligned.  Remove
10266         __memcpy_chk_avx_unaligned_2.  Replace
10267         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
10268         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
10269         Replace __memcpy_avx512_unaligned_2 with
10270         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
10271         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
10272         with __mempcpy_chk_avx512_unaligned.  Remove
10273         __mempcpy_chk_avx_unaligned_2.  Replace
10274         __mempcpy_chk_sse2_unaligned_2 with
10275         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
10276         Replace __mempcpy_avx512_unaligned_2 with
10277         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
10278         Replace __mempcpy_sse2_unaligned_2 with
10279         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
10280         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
10281         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
10282         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
10283         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
10284         (ENTRY): Removed.
10285         (END): Likewise.
10286         (ENTRY_CHK): Likewise.
10287         (libc_hidden_builtin_def): Likewise.
10288         Don't include ../memcpy.S.
10289         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
10290         __memcpy_chk_avx512_unaligned_erms and
10291         __memcpy_chk_avx512_unaligned.  Use
10292         __memcpy_chk_avx_unaligned_erms and
10293         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10294         Default to __memcpy_chk_sse2_unaligned.
10295         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10296         Change function suffix from unaligned_2 to unaligned.
10297         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
10298         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
10299         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
10300         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
10301         (ENTRY): Removed.
10302         (END): Likewise.
10303         (ENTRY_CHK): Likewise.
10304         (libc_hidden_builtin_def): Likewise.
10305         Don't include ../mempcpy.S.
10306         (mempcpy): New.  Add a weak alias.
10307         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10308         __mempcpy_chk_avx512_unaligned_erms and
10309         __mempcpy_chk_avx512_unaligned.  Use
10310         __mempcpy_chk_avx_unaligned_erms and
10311         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10312         Default to __mempcpy_chk_sse2_unaligned.
10314 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
10316         [BZ #19881]
10317         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10318         into ...
10319         * sysdeps/x86_64/memset.S: This.
10320         (__bzero): Removed.
10321         (__memset_tail): Likewise.
10322         (__memset_chk): Likewise.
10323         (memset): Likewise.
10324         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10325         defined.
10326         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10327         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10328         (__memset_zero_constant_len_parameter): Check SHARED instead of
10329         PIC.
10330         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10331         memset-avx2 and memset-sse2-unaligned-erms.
10332         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10333         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10334         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10335         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10336         (__bzero): Enabled.
10337         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10338         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10339         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
10340         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
10341         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10342         (memset): Removed.
10343         (__memset_chk): Likewise.
10344         (MEMSET_SYMBOL): New.
10345         (libc_hidden_builtin_def): Replace __memset_sse2 with
10346         __memset_sse2_unaligned.
10347         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10348         __memset_chk_sse2 and __memset_chk_avx2 with
10349         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10350         Use __memset_chk_sse2_unaligned_erms or
10351         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
10352         __memset_chk_avx512_unaligned_erms and
10353         __memset_chk_avx512_unaligned.
10355 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10357         * math/gen-auto-libm-test.c (fp_format_desc): remove
10358         suffix member.
10359         (output_generic_value): Remove usage of suffix member,
10360         and the resulting unuse of the fp_format argument.
10361         (output_for_one_input_case): Remove unused fp_format
10362         parameter.
10364         * math/auto-libm-test-out: Regenerate.
10366         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10367         usage with TEST_COND_ibm128.
10368         (TEST_COND_flt_32): Remove.
10369         (TEST_COND_dbl_64): Remove.
10370         (TEST_COND_ldbl_96_intel): Remove.
10371         (TEST_COND_ldbl_96_m68k): Remove.
10372         (TEST_COND_ldbl_128): Remove.
10374 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10376         * auto-libm-test-in:
10377         Replace flt-32 usage with binary32.
10378         Replace dbl-64 usage with binary64.
10379         Replace ldbl-intel-96 usage with intel96.
10380         Replace ldbl-m68k-96 usage with m68k96.
10381         Replace ldbl-128ibm usage with ibm128.
10382         Replace ldbl-128 usage with binary128.
10384         * auto-libm-test-out: Regenerate.
10386 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10388         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10389         (parse_ulps): Dynamically generate type name matching
10390         string from all_floats.
10391         (get_ulps): Generate the ulps as an array instead.
10392         (output_ulps): Dynamically compose the type based
10393         on the number of supported formats, and print
10394         the indices as type specific helper macros.
10396         * math/libm-test.inc: Remove comment about CHOOSE.
10397         (ulp_data): Generate the type in libm-test-ulps.h.
10398         (ULP_IDX): New macro.
10399         (find_ulps): Update usage of max_ulp.
10401         * math/test-double-vlen2.h (CHOOSE): Remove.
10402         * math/test-double-vlen4.h (CHOOSE): Likewise.
10403         * math/test-double-vlen8.h (CHOOSE): Likewise.
10404         * math/test-float.c (CHOOSE): Likewise.
10405         * math/test-float-finite.c (CHOOSE): Likewise.
10406         * math/test-double.c (CHOOSE): Likewise.
10407         * math/test-double-finite.c (CHOOSE): Likewise.
10408         * math/test-idouble.c (CHOOSE): Likewise.
10409         * math/test-ifloat.c (CHOOSE): Likewise.
10410         * math/test-ildoubl.c (CHOOSE): Likewise.
10411         * math/test-ldouble-finite.c (CHOOSE): Likewise.
10412         * math/test-ldouble.c (CHOOSE): Likewise.
10414         * math/test-float.h (TEST_FLOAT): Remove.
10415         * math/test-double.h (TEST_DOUBLE): Likewise.
10416         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10418 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10420         * math/gen-libm-test.pl: (apply_lit): New subroutine.
10421         (parse_args): Strip C suffix from floating point literals
10422         typed with 'f' and wrap them with LIT().
10424         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10425         (test_ff_f_data_nexttoward): Rename to
10426         (test_fj_f_data): New struct.
10427         (nexttoward_test_data): Relabel tests as
10428         TEST_fj_f instead of TEST_ff_f.
10430 2016-06-08  Florian Weimer  <fweimer@redhat.com>
10432         Emacs bug 23726.
10433         * malloc/malloc.c (dumped_main_arena_start): Update comment.
10434         (__libc_realloc): Correct size computation for dumped fake mmapped
10435         chunks.
10437 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
10439         [BZ #20219]
10440         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10441         to itself.
10442         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10444         [BZ #20218]
10445         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10446         to itself.
10447         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10449 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
10451         [BZ #20195]
10452         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10453         check to ...
10454         (init_cpu_features): Here.
10456 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
10458         [BZ #20214]
10459         * sysdeps/unix/sysv/linux/bits/in.h
10460         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10461          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10462         Define to 1.
10463         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10464          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10465         Define to 0.
10466         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10467         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10469 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
10471         [BZ #20198]
10472         * stdlib/Makefile (tests): Add tst-quick_exit, and
10473         tst-thread-quick_exit.
10474         [ifeq ($(have-cxx-thread_local),yes)]
10475         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10476         (CFLAGS-tst-thread-quick_exit.o): Likewise.
10477         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10478         (LDLIBS-tst-thread-quick_exit): Likewise.
10479         [ifneq ($(have-cxx-thread_local),yes)]
10480         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10481         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10482         If run_dtors is true call __call_tls_dtors.
10483         (exit): Call __run_exit_handlers with run_dtors set to true.
10484         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10485         definition.
10486         * stdlib/quick_exit.c (quick_exit): Remove function.
10487         (__new_quick_exit): New function.
10488         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10489         function.
10490         * stdlib/tst-quick_exit.cc: New file.
10491         * stdlib/tst-thread-quick_exit.cc: New file.
10492         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10493         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10494         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10495         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10496         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10497         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10498         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10499         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10500         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10502         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10507         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10512         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10513         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10514         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10515         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10519         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10520         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10521         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10523 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
10525         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10526         a typo in comments.
10528 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10530         [BZ #20213]
10531         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10532         argument to itself.
10533         * math/libm-test.inc (asin_test_data): Add sNaN tests.
10535 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10537         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10538         required flags.
10539         (CFLAGS-pwritev64.c): Likewise.
10540         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10541         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10542         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10543         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10544         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10545         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10546         syscall from auto-generation.
10547         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10548         [WORDSIZE == 64] (pwritev64): Remove macro.
10549         [!PWRITEV] (PWRITEV): Likewise.
10550         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10551         [!PWRITEV] (PWRITE): Likewise.
10552         [!PWRITEV] (OFF_T): Likewise.
10553         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10554         (LO_HI_LONG): Remove macro.
10555         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10556         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10557         (PWRITEV): Remove macro.
10558         (PWRITEV_REPLACEMENTE): Likewise.
10559         (PWRITE): Likewise.
10560         (OFF_T): Likewise.
10561         (pwritev64): New function.
10562         * nptl/tst-cancel4.c (tf_writev): Add test.
10564         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10565         required flags.
10566         (CFLAGS-preadv64.c): Likewise.
10567         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10568         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10569         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10570         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10571         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10572         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10573         syscall from auto-generation.
10574         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10575         [WORDSIZE == 64] (preadv64): Remove macro.
10576         [!PREADV] (PREADV): Likewise.
10577         [!PREADV] (PREADV_REPLACEMENT): Likewise.
10578         [!PREADV] (PREAD): Likewise.
10579         [!PREADV] (OFF_T): Likewise.
10580         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10581         (LO_HI_LONG): Remove macro.
10582         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10583         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10584         (PREADV): Remove macro.
10585         (PREADV_REPLACEMENTE): Likewise.
10586         (PREAD): Likewise.
10587         (OFF_T): Likewise.
10588         (preadv64): New function.
10589         * nptl/tst-cancel4.c (tf_preadv): Add test.
10591 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
10593         [BZ #20212]
10594         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10595         argument to itself.
10596         * math/libm-test.inc (acos_test_data): Add sNaN tests.
10598 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10600         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10601         New symbol defined as libc_hidden_def.
10602         (strcasestr): Became a weak alias to __strcasestr.
10603         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10604         according to multi-arch support.  Move __stpncpy hidden
10605         definition from here to...
10606         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
10607         symbol stpncpy.
10608         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10609         libc_hidden_builtin_def.
10610         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10611         memset symbol to use when multi-arch support is available.
10613 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
10615         * dlfcn/tst-rec-dlopen.c: Include string.h.
10617 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10619         * manual/install.texi: Remove mention of --without-tls
10620         * INSTALL: Regenerate.
10622 2016-06-05  Florian Weimer  <fweimer@redhat.com>
10624         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10625         Remove.
10626         (call_function, interposed_malloc_called): New variables.
10627         (malloc): New function.
10628         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
10629         and clear call_function as needed.
10631 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
10633         * include/wchar.h (__wmemset): Use __typeof.
10635 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
10637         * include/wchar.h (__wmemset): Declare function without typeof.
10639 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
10641         [BZ #20205]
10642         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10643         exponent when incrementing negative subnormal with low mantissa
10644         word zero.
10645         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10646         Add another test.
10648 2016-06-03  Florian Weimer  <fweimer@redhat.com>
10650         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10651         __wmemset instead of wmemset.
10653 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
10655         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10656         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10657         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10658         __USE_KERNEL_IPV6_DEFS to 0.
10659         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10660         Update comment.
10662 2016-06-01  Florian Weimer  <fweimer@redhat.com>
10664         [BZ #19861]
10665         Do not use IFUNC resolver with potentially unrelocated symbol.
10666         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10667         (DEFINE_FORK): Remove macro and inline definition.
10668         (fork_alias): Renamed from fork_ifunc.
10669         (__fork_alias): Renamed from __fork_ifunc.
10671 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
10673         [BZ 19653]
10674         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10675         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10677 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10679         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10680         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10681         i386-linux-gnu).
10682         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10683         Set to no.
10684         * sysdeps/mach/hurd/configure: Refresh.
10686 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10688         [BZ #20178]
10689         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10690         on failure instead of exit.
10692 2016-05-30  Roland McGrath  <roland@hack.frob.com>
10694         [BZ #3629]
10695         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10696         of POSIX.1-2008.
10698 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10700         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10701           Use PLT entry for calling _hurd_self_sigstate.
10703 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
10705         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10706         available logical processors with SMT level type sharing L2
10707         cache for Intel processors.
10709 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10711         [BZ #20160]
10712         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10713         argument to itself before returning the result.
10714         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10715         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10716         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10718         Likewise.
10719         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10720         Likewise.
10721         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10722         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10723         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10724         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10725         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10726         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10728         [BZ #20160]
10729         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10730         argument to itself before returning the result.
10731         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10732         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10733         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10734         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10735         Likewise.
10736         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10737         Likewise.
10738         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10739         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10740         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10741         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10742         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10743         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10745 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10747         * libm-test.inc: Replace usage of M_El with
10748         (lit_e): New macro.
10750 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10752         * libm-test.inc: Replace usage of M_PI_4l with
10753         (lit_pi_4_d): New macro.
10755 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10757         * libm-test.inc: Replace usage of M_PIl with
10758         (lit_pi): New macro.
10760 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10762         * libm-test.inc: Replace usage of M_PI2l with
10763         (lit_pi_2_d): New macro.
10765         * math/test-double.h (LITM): New macro.
10766         * math/test-float.h (LITM): Likewise.
10767         * math/test-ldouble.h (LITM): Likewise.
10769 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10771         * libm-test.inc (M_PI_34l): Rename to
10772         (lit_pi_3_m_4_d): New Macro.
10773         (M_PI_34_LOG10El): Rename to
10774         (lit_pi_3_m_4_ln10_m_d): New Macro.
10775         (M_PI2_LOG10El): Rename to
10776         (lit_pi_2_ln10_m_d):  New Macro.
10777         (M_PI4_LOG10El): Rename to
10778         (lit_pi_4_ln10_m_d):  New Macro.
10779         (M_PI_LOG10El): Rename to
10780         (lit_pi_ln10_d):  New Macro.
10782 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10784         [BZ #20157]
10785         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10786         determine whether to negate low half if [_ARCH_PPCGR], and integer
10787         comparison otherwise.
10788         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10789         determine whether to negate low half.
10791         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10792         (NO_TEST_INLINE_DOUBLE): Likewise.
10793         (TEST_COND_x86_64): Likewise.
10794         (TEST_COND_x86): Likewise.
10795         (M_PI_6l): Likewise.
10797 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10799         * math/libm-test.inc:
10800         (TEST_FLOAT): Change usage to TEST_COND_binary32.
10801         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10802         (TEST_LDOUBLE): Update usage to evaluate as true if
10803         the guarded tests match the property being tested.
10804         (LDBL_MAX_EXP): Change to MAX_EXP.
10805         (LDBL_MIN_EXP): Change to MIN_EXP.
10806         (LDBL_MANT_DIG): Change to MANT_DIG, except for
10807         nexttoward tests.
10809 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10811         * math/libm-test.inc:
10812         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10813         (TYPE_MIN): Likewise.
10814         (TYPE_TRUE_MIN): Likewise.
10815         (TYPE_MAX): Likewise.
10816         (MIN_EXP): Likewise.
10817         (MAX_EXP): Likewise.
10818         (MANT_DIG): Likewise.
10820         (FSTR_MAX): New macro.
10821         (__CONCATX): Likewise.
10822         (QTYPE_STR): Likewise.
10823         (TEST_COND_binary32): Likewise.
10824         (TEST_COND_binary64): Likewise.
10825         (TEST_COND_binary128): Likewise.
10826         (TEST_COND_ibm128): Likewise.
10827         (TEST_COND_intel96): Likewise.
10828         (TEST_COND_m68k96): Likewise.
10830         (TEST_COND_flt_32): Redefine as equivalent format test macro.
10831         (TEST_COND_dbl_64): Likewise.
10832         (TEST_COND_ldbl_96_intel): Likewise.
10833         (TEST_COND_ldbl_96_m68k): Likewise.
10834         (TEST_COND_ldbl_128): Likewise.
10835         (TEST_COND_ldbl_128ibm): Likewise.
10837         (plus_zero): Redefine using LIT macro.
10838         (minus_zero): Likewise.
10839         (plus_infty): Redefine as (INF).
10840         (minux_infty): Redefine as (-INF).
10841         (max_value): Redefine as TYPE_MAX.
10842         (min_value): Redefine as TYPE_MIN.
10843         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10845         (print_float): Refactor to use snprintf to convert FLOAT values
10846         to string. This brings it closer to dropin replacement of strtof
10847         for the TS 18661 defined types.
10848         (update_stats): Likewise.
10849         (print_complex_function_ulps): Likewise.
10850         (print_max_error): Likewise.
10851         (print_complex_max_error): Likewise.
10852         (check_float_internal): Likewise.
10854         * math/test-float.h (PREFIX): New macro.
10855         (LIT): Likewise.
10856         (TYPE_STR): Likewise.
10857         (FTOSTR): Likewise.
10859         * math/test-double.h (PREFIX): New macro.
10860         (LIT): Likewise.
10861         (TYPE_STR): Likewise.
10862         (FTOSTR): Likewise.
10864         * math/test-ldouble.h (PREFIX): New macro.
10865         (LIT): Likewise.
10866         (TYPE_STR): Likewise.
10867         (FTOSTR): Likewise.
10869 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
10871         [BZ #20156]
10872         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10873         to itself when zero or not finite.
10874         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10875         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10876         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10877         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10879 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
10881         [BZ #20153]
10882         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10883         x * x + x for infinities and NaNs.
10885         [BZ #20151]
10886         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10887         argument to itself before returning result.
10888         (__ieee754_y0l): Likewise.
10889         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10890         (__ieee754_y1l).
10892         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10893         (atan_test_data): Likewise.
10894         (ceil_test_data): Likewise.
10895         (cos_test_data): Likewise.
10896         (cosh_test_data): Likewise.
10897         (erf_test_data): Likewise.
10898         (exp2_test_data): Likewise.
10899         (fabs_test_data): Likewise.
10900         (floor_test_data): Likewise.
10901         (ilogb_test_data): Likewise.
10902         (j0_test_data): Likewise.
10903         (j1_test_data): Likewise.
10904         (jn_test_data): Likewise.
10905         (lgamma_test_data): Likewise.
10906         (lrint_test_data): Likewise.
10907         (llrint_test_data): Likewise.
10908         (logb_test_data): Likewise.
10909         (lround_test_data): Likewise.
10910         (llround_test_data): Likewise.
10911         (nearbyint_test_data): Likewise.
10912         (rint_test_data): Likewise.
10913         (round_test_data): Likewise.
10914         (sin_test_data): Likewise.
10915         (sincos_test_data): Likewise.
10916         (sinh_test_data): Likewise.
10917         (sqrt_test_data): Likewise.
10918         (tan_test_data): Likewise.
10919         (tanh_test_data): Likewise.
10920         (tgamma_test_data): Likewise.
10921         (trunc_test_data): Likewise.
10922         (y0_test_data): Likewise.
10923         (y1_test_data): Likewise.
10924         (yn_test_data): Likewise.
10926         * math/libm-test.inc: Update comment about NaN testing.
10927         (TEST_SNAN): New macro.
10928         (snan_value): Likewise.
10929         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10930         (fpclassify_test_data): Add sNaN tests.
10931         (isfinite_test_data): Likewise.
10932         (isinf_test_data): Likewise.
10933         (isnan_test_data): Likewise.
10934         (isnormal_test_data): Likewise.
10935         (issignaling_test_data): Likewise.
10936         (signbit_test_data): Likewise.
10937         * math/gen-libm-test.pl (%beautify): Add snan_value.
10938         (show_exceptions): Add argument $test_snan.
10939         (parse_args): Handle snan_value as non-finite.  Update call to
10940         show_exceptions.
10941         * math/Makefile (libm-test-no-inline-cflags): Add
10942         -fsignaling-nans.
10944 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10946         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10947         (CFLAGS-oldsendmsg.c): Add rule.
10948         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10949         Correct recvmsg symbol name.
10950         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10951         Likewise.
10953 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10955         * sysdeps/unix/sysv/linux/Makefile
10956         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10957         oldsendmmsg.
10958         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10959         sendmmsg.
10960         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10961         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10962         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10963         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10965         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10966         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10967         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10968         Likewise.
10969         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10970         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10971         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10972         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10973         iovlen and controllen fields to adjust to POSIX specification.
10974         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10976         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10977         and change to correct expected type.
10978         (msghdr.msg_controllen): Likewise.
10979         (cmsghdr.cmsg_len): Likewise.
10980         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10981         expected POSIX assumption about the size.
10982         (msghdr.msg_controllen): Likewise.
10983         (msghdr.__glibc_reserved1): Likewise.
10984         (msghdr.__glibc_reserved2): Likewise.
10985         (cmsghdr.cmsg_len): Likewise.
10986         (cmsghdr.__glibc_reserved1): Likewise.
10987         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10988         Add ptw-oldrecvmsg and ptw-oldsendmsg.
10989         (CFLAGS-sendmsg.c): Remove rule.
10990         (CFLAGS-recvmsg.c): Likewise.
10991         (CFLAGS-oldsendmsg.c): Add rule.
10992         (CFLAGS-oldrecvmsg.c): Likewise.
10993         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10994         recvmsg and sendmsg.
10995         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10996         Likewise.
10997         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10998         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10999         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
11000         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
11001         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
11002         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
11003         Likewise.
11004         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
11005         Likewise.
11006         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
11007         Likewise.
11008         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
11009         Likewise.
11010         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
11011         Likewise.
11012         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
11015         (GLIBC_2.24): Likewise.
11016         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
11017         Likewise.
11018         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
11019         Likewise.
11020         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
11021         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
11022         Likewise.
11023         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
11024         Likewise.
11025         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
11026         Likewise.
11027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
11028         (GLIBC_2.24): Likewise.
11029         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
11030         Likewise.
11031         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
11032         Likewise.
11033         * sysdeps/unix/sysv/linux/Makefile
11034         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
11035         (CFLAGS-sendmsg.c): Add rule.
11036         (CFLAGS-recvmsg.c): Likewise.
11037         (CFLAGS-oldsendmsg.c): Likewise.
11038         (CFLAGS-oldrecvmsg.c): Likewise.
11039         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
11040         initialization.
11041         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11042         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11043         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
11044         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
11045         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
11046         iovlen and controllen fields to adjust to POSIX specification.
11047         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
11048         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
11049         added recvmsg and sendmsg.
11050         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11051         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11052         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11053         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11054         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11055         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11056         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11057         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11058         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11059         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11060         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11061         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
11062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11063         Likewise.
11064         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
11065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11066         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11067         Likewise.
11068         Likewise.
11069         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11070         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11071         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11072         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11073         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11074         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11076         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11078         Likewise.
11079         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11080         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11082         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11083         from auto-generation.
11084         (sendmsg): Likewise.
11085         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11086         (sendmsg): Likewise.
11087         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11088         (sendmsg): Likewise.
11089         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11090         (sendmsg): Likewise.
11091         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11092         (sendmsg): Likewise.
11093         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11094         (sendmsg): Likewise.
11095         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11096         Likewise.
11097         (sendmsg): Likewise.
11098         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11099         (sendmsg): Likewise.
11100         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11101         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11102         Remove.
11103         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11104         Likewise.
11105         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11106         Undefine.
11107         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11108         Likewise.
11109         * sysdeps/unix/sysv/linux/kernel-features.h
11110         (__ASSUME_SENDMSG_SYSCALL): Define.
11111         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11112         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11113         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11114         Remove.
11115         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11116         Likewise.
11117         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11118         Undefine.
11119         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11120         Likewise.
11121         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11122         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11123         Remove.
11124         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11125         Likewise.
11126         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11127         Undefine.
11128         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11129         Likewise.
11130         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11131         (__ASSUME_SENDMSG_SYSCALL): Undefine.
11132         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11133         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11134         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11135         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11136         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11137         (__ASSUME_SENDMSG_SYSCALL): Likewise.
11138         (__ASSUME_RECVMSG_SYSCALL): Likewise.
11140 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11142         * stdlib/gen-tst-strtod-round.c: Add backslash to
11143         compile command in comment.
11144         (printfp): Remove the literal suffix, and define an infinite
11145         value as INF to avoid expansion clash with INFINITY.
11146         (round_str): Remove the literal suffix.
11147         (round_for_all): Likewise, remove the now duplicate ldbl-64
11148         entry, and remove some magic constants.
11150         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
11151         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
11152         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
11153         (_CONCAT): New macro.
11154         (CONCAT): Likewise.
11155         (CHOOSE_ld): Likewise.
11156         (CHOOSE_f): Likewise.
11157         (CHOOSE_d): Likewise.
11158         (FTYPE_MEMBER): Likewise.
11159         (BOOL_MEMBER): Likewise.
11160         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
11161         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
11162         (_XNTRY): Likewise.
11163         (XNTRY): Likewise.
11164         (_ENTRY): Likewise.
11165         (ENTRY): Likewise.
11166         (test_exactness): Generate members via macro.
11167         (test_results): Likewise.
11168         (test): Update members.
11169         (TEST): Redefine using new macros.
11170         (INF): New macro.
11171         (fetestmodes): New structure.
11172         (do_test): Refactor to be type generic.
11173         (test_in_one_mode): Refactor duplicate code into
11174         (GEN_ONE_TEST): New macro.
11176         * stdlib/tst-strtod-round-data.h: Regenerate.
11178         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
11179         Extend to pass additional arbitrary parameters to
11180         generators.
11182 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
11184         [BZ #15479]
11185         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
11186         floating-point state after first floating-point operation on
11187         input.  Restore full floating-point state instead of just rounding
11188         mode.
11189         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11190         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11191         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11192         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11193         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11195         [BZ #15479]
11196         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
11197         floating-point state after first floating-point operation on
11198         input.  Restore full floating-point state instead of just rounding
11199         mode.
11200         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11201         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11202         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11203         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11204         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11206 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11208         [BZ #19727]
11209         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
11210         valid high surrogate.
11211         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
11212         of an utf16 surrogate.
11213         * iconv/gconv_simple.c (BODY): Likewise.
11214         * iconvdata/bug-iconv12.c: New file.
11215         * iconvdata/Makefile (tests): Add bug-iconv12.
11217 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11219         [BZ #19726]
11220         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
11221         outptrp in case of an illegal input.
11222         * iconv/tst-iconv6.c: New file.
11223         * iconv/Makefile (tests): Add tst-iconv6.
11225 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11227         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
11228         an error in case of a value in range of an utf16 low surrogate.
11230 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11232         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
11233         an error in case of a value in range of an utf16 low surrogate.
11235 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11237         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
11238         Move to ...
11239         * sysdeps/s390/Makefile: ... here.
11240         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
11241         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
11242         (BRANCH_ON_COUNT): New define.
11243         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
11244         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
11245         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
11246         run on s390-32, too.
11247         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
11248         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
11249         run on s390-32, too.
11250         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
11251         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
11252         run on s390-32, too.
11254 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11256         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
11257         etf3eh or new vector loop-variant.
11259 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11261         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
11262         etf3eh or new vector loop-variant.
11264 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11266         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
11267         or new vector loop-variant.
11269 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11271         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
11272         Rename to TR_LOOP and usage of tr instead of troo instruction.
11274 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11276         * sysdeps/s390/multiarch/gconv_simple.c: New File.
11277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
11279 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11281         * sysdeps/s390/multiarch/8bit-generic.c: New File.
11282         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
11283         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
11284         New override define.
11285         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
11287 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11289         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
11290         * sysdeps/s390/configure.ac: Add test for S390 vector register
11291         support in gcc.
11292         * sysdeps/s390/configure: Regenerated.
11294 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
11296         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
11297         Install file from $(objpfx)gconv-modules.
11298         ($(objpfx)gconv-modules): Concatenate architecture specific file
11299         in variable sysdeps-gconv-modules and gconv-modules in src dir.
11300         * sysdeps/s390/gconv-modules: New file.
11301         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
11302         Deleted.
11303         ($(objpfx)gconv-modules-s390): Deleted.
11304         (sysdeps-gconv-modules): New variable.
11306 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11308         [BZ #15479]
11309         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11310         of immediate operand to rounding instruction.
11311         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11312         Likewise.
11313         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11314         Likewise.
11315         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11316         Likewise.
11318 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11320         * math/libm-test.inc (MIN_EXP): Directly define as
11321         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11323 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11325         * math/libm-test.inc (MANT_DIG): Directly define as
11326         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11328 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11330         * stdlib/gen-tst-strtod-round.c (main):
11331           Change usage to more closely match the generated
11332           output.  Add usage and compilation instructions.
11333           (string_to_fp): Add and use FILE* parameter as
11334           output target.
11335           (print_fp): Likewise.
11336           (round_str): Likewise.
11337           (round_for_all): Likewise.
11338         * stdlib/tst-strtod-round.c (tests): Move into
11339         * stdlib/tst-strtod-round-data.h: New file.
11341 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
11343         [BZ #15479]
11344         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11345         (__round): Do not force "inexact" exception.
11346         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11347         variable.
11348         (__round): Do not force "inexact" exception.
11349         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11350         (__roundf): Do not force "inexact" exception.
11351         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11352         (__roundl): Do not force "inexact" exception.
11353         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11354         (__roundl): Do not force "inexact" exception.
11355         * math/libm-test.inc (round_test_data): Do not allow spurious
11356         "inexact" exceptions.
11358         [BZ #15479]
11359         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11360         exception in comment.
11361         (huge): Remove variable.
11362         (__floor): Do not force "inexact" exception.
11363         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11364         "inexact" exception in comment.
11365         (huge): Remove variable.
11366         (__floor): Do not force "inexact" exception.
11367         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11368         exception in comment.
11369         (huge): Remove variable.
11370         (__floorf): Do not force "inexact" exception.
11371         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11372         exception in comment.
11373         (huge): Remove variable.
11374         (__floorl): Do not force "inexact" exception.
11376         [BZ #15479]
11377         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11378         exception in comment.
11379         (huge): Remove variable.
11380         (__ceil): Do not force "inexact" exception.
11381         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11382         "inexact" exception in comment.
11383         (huge): Remove variable.
11384         (__ceil): Do not force "inexact" exception.
11385         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11386         (__ceilf): Do not force "inexact" exception.
11387         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11388         exception in comment.
11389         (huge): Remove variable.
11390         (__ceill): Do not force "inexact" exception.
11392 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
11394         * config.h.in (BIND_NOW): New.
11395         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
11396         * configure: Regenerated.
11397         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11398         indirect branch via the GOT slot.
11400 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11402         [BZ #19765]
11403         * sysdeps/s390/mempcpy.S: New File.
11404         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11405         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11406         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11407         Add mempcpy variants.
11408         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11409         (memcpy): Adjust to be usable from mempcpy entry point.
11410         (__memcpy_mvcle): Likewise.
11411         * sysdeps/s390/s390-64/memcpy.S: Likewise.
11412         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11413         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11414         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11415         (__memcpy_z10): Likewise.
11416         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11418 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11420         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11421         Remove __GI_ symbol.
11422         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11423         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11424         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11425         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11426         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11427         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11429 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11431         * sysdeps/s390/s390-64/memcpy.S (memcpy):
11432         Use cghi instead of chi to compare 64bit value.
11434 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
11436         * sysdeps/s390/s390-32/memcpy.S (memcpy):
11437         Jump to 1MB check before executing mvc-loop.
11439 2016-05-24  Florian Weimer  <fweimer@redhat.com>
11441         [BZ #6527]
11442         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11443         unconditionally.
11444         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11446 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11448         * stdlib/tst-strtod6.c (do_test): Use new type generic
11449         invocation of the test function.
11450         (test): Refactor into ...
11451         (TEST_STRTOD): New macro base function.
11453 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11455         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11456         (TEST_STRTOD): New macro.
11457         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11459 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11461         * stdlib/tst-strtod6.c (do_test): Use new type generic
11462         invocation of the test function.
11463         (test): Refactor into ...
11464         (TEST_STRTOD): New macro base function.
11466 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11468         CVE-2016-4429
11469         [BZ #20112]
11470         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11471         payload.
11473 2016-05-23  Florian Weimer  <fweimer@redhat.com>
11475         [BZ #20111]
11476         * bits/sockaddr.h (_SS_SIZE): Define.
11477         * bits/socket.h (_SS_SIZE): Remove.
11478         (_SS_PADSIZE): Adjust to account for all padding.
11479         (struct sockaddr_storage): Update comment.  Avoid implicit
11480         padding.
11481         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11482         (_SS_PADSIZE): Adjust to account for all padding.
11483         (struct sockaddr_storage): Update comment.  Avoid implicit
11484         padding.
11485         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11486         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11487         (_SS_PADSIZE): Adjust to account for all padding.
11488         (struct sockaddr_storage): Update comment.  Avoid implicit
11489         padding.
11490         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11491         __SS_SIZE is 126 in this version.
11492         * inet/tst-sockaddr.c: New file.
11493         * inet/Makefile (tests): Add tst-sockaddr.c
11494         (tst-sockaddr.c): Compile with non-strict aliasing.
11496 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
11498         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11499         [XPG3 || XPG4].
11500         (NL_ARGMAX): Also expect for [XPG3].
11501         (NL_LANGMAX): Likewise.
11502         (NL_MSGMAX): Likewise.
11503         (NL_NMAX): Likewise.
11504         (NL_SETMAX): Likewise.
11505         (NL_TEXTMAX): Likewise.
11506         (NZERO): Likewise.
11507         (TMP_MAX): Likewise.
11508         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11509         variable.
11511         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11512         (PF_MAX): Update value.
11513         (AF_KCM): New macro.
11514         (SOL_NETBEUI): Likewise.
11515         (SOL_LLC): Likewise.
11516         (SOL_DCCP): Likewise.
11517         (SOL_NETLINK): Likewise.
11518         (SOL_TIPC): Likewise.
11519         (SOL_RXRPC): Likewise.
11520         (SOL_PPPOL2TP): Likewise.
11521         (SOL_BLUETOOTH): Likewise.
11522         (SOL_PNPIPE): Likewise.
11523         (SOL_RDS): Likewise.
11524         (SOL_IUCV): Likewise.
11525         (SOL_CAIF): Likewise.
11526         (SOL_ALG): Likewise.
11527         (SOL_NFC): Likewise.
11528         (SOL_KCM): Likewise.
11529         (MSG_BATCH): New enum value and macro.
11531 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
11533         [BZ #18185]
11534         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11535         sharing L2 cache to 2 for Knights Landing.
11537 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
11539         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11540         (FTW_DP): Do not expect for [XPG3 || XPG4].
11541         (FTW_SL): Do not expect for [XPG3].
11542         (FTW_SLN): Likewise.
11543         (FTW_PHYS): Likewise.
11544         (FTW_MOUNT): Likewise.
11545         (FTW_DEPTH): Likewise.
11546         (FTW_CHDIR): Likewise.
11547         (nftw): Likewise.
11548         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11549         variable.
11551 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11553         * manual/errno.texi: Fix various typos & grammar errors.
11555 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
11557         * manual/intro.texi: Fix duplicated typo.
11559 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11561         [BZ #13304]
11562         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11563         <float.h>, <math_private.h> and <stdlib.h>.
11564         (add_split): New function.
11565         (mul_split): Likewise.
11566         (ext_val): New typedef.
11567         (store_ext_val): New function.
11568         (mul_ext_val): New function.
11569         (compare): New function.
11570         (add_split_ext): New function.
11571         (__fmal): After checking for Inf, NaN and zero, compute result as
11572         an exact sum of scaled double values in round-to-nearest before
11573         adding those up and adjusting for other rounding modes.
11574         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11575         tests of fma.
11576         * math/auto-libm-test-out: Regenerated.
11578 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11580         [BZ #20119]
11581         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11582         processor level type mask for CPUID with EAX == 11.
11584 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11586         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11587         logical threads if the HTT bit is 0.
11588         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11589         (index_cpu_HTT): Likewise.
11590         (reg_HTT): Likewise.
11592 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
11594         [BZ #20115]
11595         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11596         Remove alignments on jump targets.
11598 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
11600         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11601         (getpwent): Likewise.
11602         (setpwent): Likewise.
11603         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11604         variable.
11606         * conform/data/search.h-data (insque): Do not expect for [XPG3].
11607         (remque): Likewise.
11608         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11609         variable.
11611 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11613         * math/libm-test.inc: Update comment not to refer to signs of NaNs
11614         not being tested.
11616 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11618         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11619         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
11620         call.
11621         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11622         (__condvar_cleanup1): Likewise.
11624 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11626         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11627         New
11628         (__pthread_unwind): Renamed to ...
11629         (PTHREAD_UNWIND): This.
11630         (__pthread_enable_asynccancel): Replace
11631         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11633 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
11635         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11636         (CLONE_NEWCGROUP): New macro.
11638         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11639         (Q_GETNEXTQUOTA): New macro.
11641 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
11643         [BZ #19907]
11644         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11645         buffer updated by the previous run.
11646         * string/test-memcpy.c (do_one_test): Likewise.
11647         * benchtests/bench-memmove.c (do_one_test): Add a comment.
11648         * string/test-memmove.c (do_one_test): Likewise.
11650 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
11652         [BZ #20094]
11653         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11654         not [__USE_XOPEN].
11655         (unlockpt): Likewise.
11656         (ptsname): Likewise.
11657         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11658         variable.
11660         [BZ #20076]
11661         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11662         instead of [__USE_UNIX98].
11663         (S_ISSOCK): Likewise.
11664         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11665         variable.
11667         [BZ #20074]
11668         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11669         [__USE_POSIX].
11670         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11671         variable.
11673         [BZ #20051]
11674         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11675         (ttyslot): Do not declare.
11676         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11677         (ttyslot): New prototype.
11678         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11679         variable.
11680         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11682 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
11684         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11686 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11688         Fix race condition in tst-mallocfork2, use fewer resources.
11689         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11690         to current process group.
11691         (signal_sender): Yield in the non-sleeping case.
11693 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
11695         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11696         (ecvt): Likewise.
11697         (fcvt): Likewise.
11698         (gcvt): Likewise.
11699         (getsubopt): Likewise.
11700         (grantpt): Likewise.
11701         (initstate): Likewise.
11702         (l64a): Likewise.
11703         (mktemp): Likewise.
11704         (mkstemp): Likewise.
11705         (ptsname): Likewise.
11706         (random): Likewise.
11707         (realpath): Likewise.
11708         (setstate): Likewise.
11709         (srandom): Likewise.
11710         (ttyslot): Likewise.
11711         (unlockpt): Likewise.
11712         (valloc): Likewise.
11714         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11715         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11716         variable.
11718 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11720         [BZ #20072]
11721         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11722         init_cpu_features only if SHARED is defined.
11723         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11725 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
11727         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11728         non-inclusive caches on Intel processors.
11730 2016-05-13  Florian Weimer  <fweimer@redhat.com>
11732         * malloc/malloc.c (dumped_main_arena_start)
11733         (dumped_main_arena_end): New variables.
11734         (DUMPED_MAIN_ARENA_CHUNK): New macro.
11735         (do_check_chunk): Skip dumped fake mmapped chunks.
11736         (munmap_chunk): Likewise.
11737         (__libc_free): Do not adjust statistics for fake mmapped chunks.
11738         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
11739         mmapped chunks.
11740         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11741         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
11742         and dumped_main_arena_end to cover the dumped heap.
11744 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
11746         * conform/data/time.h-data (getdate_err): Do not expect for
11747         [XPG3].
11748         (getdate): Likewise.
11749         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11750         variable.
11752         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11753         (F_ULOCK): Likewise.
11754         (F_TEST): Likewise.
11755         (F_TLOCK): Likewise.
11756         (useconds_t): Likewise.
11757         (intptr_t): Do not expect for [XPG3] or [XPG4].
11758         (brk): Do not expect for [XPG3]
11759         (fchown): Likewise.
11760         (fchdir): Likewise.
11761         (ftruncate): Likewise.
11762         (getdtablesize): Likewise.
11763         (gethostid): Likewise.
11764         (getpagesize): Likewise.
11765         (getpgid): Likewise.
11766         (getsid): Likewise.
11767         (getwd): Likewise.
11768         (lchown): Likewise.
11769         (lockf): Likewise.
11770         (readlink): Likewise.
11771         (sbrk): Likewise.
11772         (setpgrp): Likewise.
11773         (setregid): Likewise.
11774         (setreuid): Likewise.
11775         (symlink): Likewise.
11776         (sync): Likewise.
11777         (truncate): Likewise.
11778         (ualarm): Likewise.
11779         (usleep): Likewise.
11780         (vfork): Likewise.
11781         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11782         variable.
11784         [BZ #20054]
11785         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11786         not [__USE_UNIX98].
11787         * conform/data/unistd.h-data (gethostname): Do not expect for
11788         [XPG3].
11790         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11791         [!POSIX] (S_IFBLK): Likewise.
11792         [!POSIX] (S_IFCHR): Likewise.
11793         [!POSIX] (S_IFIFO): Likewise.
11794         [!POSIX] (S_IFREG): Likewise.
11795         [!POSIX] (S_IFDIR): Likewise.
11796         [!POSIX] (S_IFLNK): Likewise.
11797         [!POSIX] (S_IFSOCK): Likewise.
11798         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11799         variable.
11800         (test-xfail-XPG4/fcntl.h/conform): Likewise.
11802 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
11804         * sysdeps/aarch64/memset.S (__memset):
11805         Rewrite of optimized memset.
11807 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11809         [BZ #19703]
11810         Partially async-signal-safe fork for single-threaded processes.
11811         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11812         variable.  Do not acquire and reset/release malloc and libio locks
11813         in single-threaded processes.
11814         * malloc/tst-mallocfork2.c: New file.
11815         * malloc/Makefile (tests): Add it.
11817 2016-05-12  Florian Weimer  <fweimer@redhat.com>
11819         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11820         argument.  Use scratch buffer instead of extend_alloca.
11821         (gethosts): Use scratch buffer instead of extend_alloca.
11822         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
11823         extend_alloca.
11824         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11826 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
11828         [BZ #20055]
11829         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11830         instead of [__USE_UNIX98].
11831         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11832         [__USE_UNIX98].
11833         * conform/data/termios.h-data (tcgetsid): Do not expect for
11834         [XPG3].
11835         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11836         variable.
11837         (test-xfail-XPG4/termios.h/conform): Likewise.
11839 2016-05-11  Florian Weimer  <fweimer@redhat.com>
11841         Do not use mcheck in localedef.
11842         * locale/programs/localedef.c (turn_on_mcheck)
11843         (__malloc_initialize_hook): Remove.
11845 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11847         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11848         * sysdeps/s390/s390-64/Makefile: Likewise.
11850 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
11852         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11853         Remove ifunc-defines.sym.
11854         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11855         Likewise.
11856         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11857         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11858         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11859         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11860         rtld-global-offsets.sym.
11861         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11862         * sysdeps/x86/cpu-features-offsets.sym: This.
11863         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11864         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11866 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
11868         [BZ #20073]
11869         * io/sys/stat.h (fchmod): Declare for
11870         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11871         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11872         variable.
11874         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11875         [XPG3] (S_IFSOCK): Likewise.
11876         [XPG3] (S_ISVTX): Likewise.
11877         [XPG3] (S_ISLNK): Likewise.
11878         [XPG3] (S_ISSOCK): Likewise.
11879         [XPG3] (fchmod): Likewise.
11880         [XPG3] (lstat): Likewise.
11881         [XPG3] (mknod): Likewise.
11883         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11884         [XPG3].  Expect type long and XFAIL for [XPG4].
11885         (st_blocks): Likewise.
11887         [BZ #20044]
11888         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11889         (pthread_atfork): New prototype.
11890         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11891         variable.
11893         [BZ #20043]
11894         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11895         prototype.
11897 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11899         [BZ #20017]
11900         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11901         gmtime.
11903 2016-05-10  Florian Weimer  <fweimer@redhat.com>
11905         [BZ #19994]
11906         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11907         flag in _res.options.
11909 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
11911         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11912         [XPG3 || XPG4].
11913         (blksize_t): Likewise.
11914         (clockid_t): Likewise.
11915         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11916         variable.
11917         (test-xfail-XPG4/sys/types.h/conform): Likewise.
11919 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11921         * sysdeps/unix/sysv/linux/s390/init-first.c:
11922         Add VDSO_SYMBOL(getcpu).
11923         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11924         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11925         Add VDSO_SYMBOL(getcpu).
11926         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11927         New define HAVE_GETCPU_VSYSCALL.
11928         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11930 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
11932         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11933         instead of <sysdeps/x86_64/cacheinfo.c>.
11934         * sysdeps/x86_64/cacheinfo.c: Moved to ...
11935         * sysdeps/x86/cacheinfo.c: Here.
11937 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11939         * malloc/malloc-internal.h: Adjust header file guard.
11941 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11943         [BZ #19787]
11944         * inet/getnameinfo.c (check_sprintf_result): New function.
11945         (CHECKED_SNPRINTF): New macro.
11946         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11947         to the host buffer.
11948         (gni_host_local): Use checked_copy to copy the host name.
11949         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11950         (gni_serv_local): Use checked_copy to copy the service name.
11951         (getnameinfo): Remove unnecessary truncation of result buffers.
11953 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11955         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11956         in case of inet_ntop failure.
11958 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11960         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11961         avoid long lines.
11962         (gni_host_inet_numeric): Likewise.  Reduce scope of local
11963         variables.
11964         (gni_host_inet, gni_host_local): Add comment.
11965         (gni_host): Add comment.  Use temporary to avoid long lines.
11967 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11969         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11970         registers specifiers where general purpose registers specifiers should
11971         have been used.
11973 2016-05-04  Florian Weimer  <fweimer@redhat.com>
11975         [BZ #19779]
11976         CVE-2016-1234
11977         Avoid copying names of directory entries.
11978         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11979         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11980         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11981         (struct readdir_result): New type.
11982         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11983         (GL_READDIR): New macros.
11984         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11985         (convert_dirent, convert_dirent64): New functions.
11986         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
11987         convert_dirent64.  Adjust references to the readdir result.
11988         * sysdeps/unix/sysv/linux/i386/glob64.c:
11989         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11990         * posix/bug-glob2.c (LONG_NAME): Define.
11991         (filesystem): Add LONG_NAME.
11992         (my_DIR): Increase the size of room_for_dirent.
11994 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
11996         [BZ #20041]
11997         * misc/sys/select.h (__need_timespec): Only define if
11998         [__USE_XOPEN2K].
11999         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
12000         variable.
12001         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12002         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12003         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12005 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12006             Segher Boessenkool  <segher@gcc.gnu.org>
12008         [BZ #20004]
12009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
12010         (__novec_swapcontext): Add missing load.
12012 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
12014         [BZ #20023]
12015         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
12016         <time.h>.
12017         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
12018         variable.
12019         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12021 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
12024         flags CLONE_VM compare.
12026 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12028         [BZ #20031]
12029         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
12030         completely empty.
12032 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12034         [BZ #19573]
12035         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
12036         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
12037         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
12038         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
12039         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
12040         (hesiod_free_list): Mark as hidden.
12041         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
12042         res_set, res_get.
12043         * hesiod/hesiod.c: Remove unnecessary forward declarations.
12044         (init, __hesiod_res_get, __hesiod_res_set): Remove.
12045         (hesiod_init): Remove obsolete res_ninit call.
12046         (hesiod_end): Do not free resolver state.  Do not invoke callback.
12047         (hesiod_bind): Do not call init.
12048         (get_txt_records): Use res_mkquery, res_send instead of
12049         res_nmkquery, res_nsend.
12050         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
12051         instead of _nss_hesiod_init.
12052         (_nss_hesiod_initgroups_dyn): Likewise.
12053         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
12054         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
12055         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
12057 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12059         * hesiod/hesiod_p.h (DEF_RHS): Remove.
12060         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
12062 2016-05-02  Florian Weimer  <fweimer@redhat.com>
12064         * hesiod/hesiod.h: Remove RCS keyword.
12065         * hesiod/hesiod_p.h: Likewise.
12067         * hesiod/hesiod.c: Likewise.
12069 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
12071         [BZ #12450]
12072         * locale/iso-639.def: Add Samogitian/sgs.
12074 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
12076         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12078         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12080 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
12081             Carlos O'Donell  <carlos@redhat.com>
12083         [BZ #19072]
12084         * grp/Makefile (headers): Add grp-merge.h
12085         (routines): Add grp-merge.
12086         * grp/getgrgid_r.c: Include grp-merge.h.
12087         (DEEPCOPY_FN): Define.
12088         (MERGE_FN): Define.
12089         * grp/getgrname_r.c: Include grp-merge.h.
12090         (DEEPCOPY_FN): Define.
12091         (MERGE_FN): Define.
12092         * grp/grp-merge.c: New file.
12093         * grp/grp-merge.h: New file.
12094         * include/grp-merge.h: New file.
12095         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12096         __copy_grp@GLIBC_PRIVATE.
12097         * manual/nss.texi (Actions in the NSS configuration): Describe
12098         return, continue, and merge.
12099         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12100         (DEEPCOPY_FN): Define.
12101         (MERGE_FN): Define.
12102         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12103         (DEEPCOPY_FN): Define.
12104         (MERGE_FN): Define.
12105         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12106         [!MERGE_FN]: Define __merge_einval.
12107         (CHECK_MERGE): Define.
12108         (REENTRANT_NAME): Process merge if do_merge is true.
12109         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12110         (__nss_getent_r): Likewise.
12111         * nss/nsswitch.c (nss_parse_service_list): Likewise.
12112         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12114 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12116         [BZ #20012]
12117         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12118         length to calculate the buffer to read.
12119         (fmemopen_write): Set the buffer position based on bytes written.
12120         (fmemopen_seek): Return EINVAL for invalid whence modes.
12122         [BZ #19957]
12123         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12124         tst-getpid2.
12125         (test): Add tst-clone2.
12126         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12127         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12128         pid/tid fields for CLONE_VM.
12129         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12130         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12131         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12132         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12133         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12134         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12135         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12136         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12140         Likewise.
12141         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12143         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12144         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12145         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12146         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12147         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12148         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
12150 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12152         [BZ #19642]
12153         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
12154         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
12155         (gni_serv_local, gni_serv): New functions extracted from
12156         getnameinfo.
12157         (getnameinfo): Call gni_host and gni_serv to perform the
12158         processing.  Always free scratch buffer.
12160 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12162         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
12163         remaining bytes in the dest string, with zeros.
12165 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12167         [BZ #20010]
12168         CVE-2016-3706
12169         * sysdeps/posix/getaddrinfo.c
12170         (convert_hostent_to_gaih_addrtuple): New function.
12171         (gethosts): Call convert_hostent_to_gaih_addrtuple.
12172         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
12173         AF_INET data.
12175 2016-04-29  Florian Weimer  <fweimer@redhat.com>
12177         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
12178         callback function gl_readdir.
12179         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
12180         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
12181         (glob_in_dir): Remove len.  Use strdup instead of malloc and
12182         memcpy to copy the name.
12183         * manual/pattern.texi (Calling Glob): Document requirements for
12184         implementations of the gl_readdir callback function.
12185         * manual/examples/mkdirent.c: New example.
12186         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
12187         per the manual guidance.
12188         * posix/tst-gnuglob.c (my_readdir): Likewise.
12190 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
12192         [BZ #20014]
12193         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
12194         not [__USE_POSIX].
12195         (getchar_unlocked): Likewise.
12196         (putc_unlocked): Likewise.
12197         (putchar_unlocked): Likewise.
12198         (flockfile): Likewise.
12199         (ftrylockfile): Likewise.
12200         (funlockfile): Likewise.
12201         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
12202         variable.
12203         (test-xfail-XPG4/stdio.h/conform): Likewise.
12205         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
12206         Expect constant.
12207         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
12208         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
12209         variable.
12210         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12211         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12213         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
12214         [__USE_LARGEFILE64] (off64_t): Likewise.
12215         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
12216         variable.
12218 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12220         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
12222 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12224         * resolv/inet_addr.c: Reindent preprocessor conditionals.
12225         * resolv/res_init.c: Likewise.
12226         * resolv/res_mkquery.c: Likewise.
12228 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12230         * resolv/res_init.c (isascii): Do not define.  Use definition in
12231         <ctype.h>.
12232         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
12233         (LOG_AUTH): Remove.
12234         (SPRINTF): Remove, adjust caller.
12235         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
12237 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12239         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
12240         SUNSECURITY conditional.
12241         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
12243 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12245         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
12246         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
12247         Remove BSD-related preprocessor conditionals.
12248         * conf/portability.h: Remove.
12250 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12252         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
12253         * resolv/res_data.c: Likewise.
12255 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12257         * resolv/res_comp.c: Remove code conditional on __ultrix__.
12258         * resolv/res_data.c: Remove code conditional on ultrix.
12260 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12262         * resolv/res_init.c (RFC1535): Do not define.  Remove
12263         RFC1535 preprocessor conditionals.
12264         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
12265         because there configuration options which make the resolver
12266         behavior different.
12268 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12270         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
12271         RESOLVSORT preprocessor conditionals.
12272         * resolv/nss_dns/dns-host.c: Likewise.
12273         * resolv/res_init.c: Likewise.
12275 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12277         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
12278         is never defined.
12280 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12282         * inet/inet_lnaof.c: Remove SCSS keyword.
12283         * inet/inet_mkadr.c: Likewise.
12284         * inet/inet_net.c: Likewise.
12285         * inet/inet_netof.c: Likewise.
12286         * inet/rcmd.c: Likewise.
12287         * inet/rexec.c: Likewise.
12288         * inet/ruserpass.c: Likewise.
12290 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12292         * resolv/inet_addr.c: Remove _LIBC conditionals.
12293         * resolv/res_data.c: Likewise.
12294         * resolv/res_init.c: Likewise.
12295         * resolv/res_mkquery.c: Likewise.
12296         * resolv/res_libc.c: Update comment.
12297         * resolv/README: Update.
12299 2016-04-28  Florian Weimer  <fweimer@redhat.com>
12301         * resolv/gethnamaddr.c: Remove SCSS keyword.
12302         * resolv/herror.c: Likewise.
12303         * resolv/inet_addr.c: Likewise.
12304         * resolv/inet_net_ntop.c: Likewise.
12305         * resolv/inet_net_pton.c: Likewise.
12306         * resolv/inet_neta.c: Likewise.
12307         * resolv/inet_ntop.c: Likewise.
12308         * resolv/inet_pton.c: Likewise.
12309         * resolv/ns_date.c: Remove RCS keyword.
12310         * resolv/ns_name.c: Likewise.
12311         * resolv/ns_netint.c: Likewise.
12312         * resolv/ns_parse.c: Likewise.
12313         * resolv/ns_print.c: Likewise.
12314         * resolv/ns_samedomain.c: Likewise.
12315         * resolv/ns_ttl.c: Likewise.
12316         * resolv/nsap_addr.c: Likewise.
12317         * resolv/res_comp.c: Remove SCSS and RCS keyword.
12318         * resolv/res_data.c: Remove RCS keyword.
12319         * resolv/res_debug.c: Remove SCSS and RCS keyword.
12320         * resolv/res_init.c: Likewise.
12321         * resolv/res_mkquery.c: Likewise.
12322         * resolv/res_query.c: Likewise.
12323         * resolv/res_send.c: Likewise.
12325 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12327         * conform/data/stdio.h-data (fdopen): Expect also for
12328         [XPG3 || XPG4].
12330         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12331         (fseeko): Likewise.
12332         (ftello): Likewise.
12333         (ftrylockfile): Likewise.
12334         (funlockfile): Likewise.
12335         (getc_unlocked): Likewise.
12336         (getchar_unlocked): Likewise.
12337         (putc_unlocked): Likewise.
12338         (putchar_unlocked): Likewise.
12340 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12342         [BZ #19868]
12343         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12344         DNS packet syntax checks (which were not needed before).  Skip
12345         over non-PTR records.
12347 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12349         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12350         definition.  Include <stddef.h> instead.
12352 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12354         [BZ #19831]
12355         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12356         function.
12357         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12358         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12360 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12362         [BZ #19862]
12363         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12364         (getanswer_r): Do not call syslog.
12365         (gaih_getanswer_slice): Likewise.
12366         * resolv/gethnamaddr.c (AskedForGot): Remove.
12367         (getanswer): Do not call syslog.
12368         (gethostbyaddr): Likewise.
12370 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
12372         * conform/data/signal.h-data (union sigval): Expect also if
12373         [XOPEN2K].
12374         (struct sigevent): Likewise.
12375         (SIGEV_NONE): Likewise.
12376         (SIGEV_SIGNAL): Likewise.
12377         (SIGEV_THREAD): Likewise.
12378         (SIGRTMIN): Likewise.
12379         (SIGRTMAX): Likewise.
12380         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12381         variable.
12382         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12384 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12386         [BZ #19830]
12387         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12388         (gaih_getanswer_slice): Likewise.
12389         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12390         Also check for availability of RR metadata.
12392 2016-04-27  Florian Weimer  <fweimer@redhat.com>
12394         [BZ #19825]
12395         * resolv/res_send.c (send_vc): Remove early *resplen2
12396         initialization.  Set *resplen2 on socket error.  Call
12397         close_and_return_error for other errors.
12399 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
12401         * sysdeps/unix/sysv/linux/netiucv/iucv.h
12402         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12403         (SCM_IUCV_TRGCLS): New define.
12405 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12407         [BZ #20005]
12408         * libio/fmemopen.c (fmemopen_write): Update internal position after
12409         write.
12410         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12411         * stdio-common/tst-fmemopen4.c: New file..
12413 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
12415         [BZ #19996]
12416         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12417         not [__USE_XOPEN2K].
12418         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12419         variable.
12421         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12422         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12423         variable.
12425         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12426         [__USE_XOPEN2K8].
12427         [__USE_LARGEFILE64] (off64_t): Likewise.
12428         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12429         variable.
12431 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
12433         [BZ #19989]
12434         * libio/stdio.h (cuserid): Do not declare if
12435         [__USE_XOPEN2K && !__USE_GNU].
12436         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12437         variable.
12439 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12441         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12442         (sysdep_routines): Add P8 and PPC64 strcspn targets.
12443         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12444         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12445         ifunc'ed strcspn.
12446         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12447         [EALIGN]: Removed.
12448         [END]: Likewise
12449         [STRSPN]: Define instead of the above to control symbol name.
12450         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12451         New file.
12452         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12453         Likewise.
12454         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12455         Likewise.
12456         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12457         Likewise.
12458         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12459         [INITIAL_MASK]: New macro.
12460         [STRCSPN]: Likewise.
12461         [UPDATE_MASK]: Likewise.
12462         [USE_AS_STRCSPN]: Likewise.
12464 2016-04-25  Florian Weimer  <fweimer@redhat.com>
12466         [BZ #19931]
12467         * stdio-common/tst-vfprintf-width-prec.c: New file.
12468         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12469         (tests-special): Add tst-vfprintf-width-prec-mem.out.
12470         (generated): Add mtrace-related files.
12471         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12472         (tst-%-mem.out): New pattern rule, replaces
12473         tst-printf-bz18872-mem.out.
12474         * stdio-common/vfprintf.c (vfprintf): When handling a precision
12475         specifier, deallocate any previously allocated work buffer.
12477 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
12479         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12480         Add nop before __startcontext, add explaining comments.
12482 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
12484         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12485         any more. Notably since IPV6_PKTINFO has been reintroduced with a
12486         completely different API.
12488         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12489         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12490         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12491         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12492         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12493         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12494         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12495         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12496         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12497         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12499 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
12501         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12503 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
12505         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12506         when it is the default of 0.
12508 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12510         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
12511         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12512         (sysdep_routines): Add new strcasestr targets.
12513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12514         (__libc_ifunc_impl_list): Likewise.
12515         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12516         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12517         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12518         * sysdeps/powerpc/powerpc64/power8/Makefile:
12519         New file to add strcasestr-ppc64 to sysdep_routines.
12520         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12521         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12523 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
12525         * benchtests/Makefile (wcsmbs-benchset): Include only for
12526         native builds and runs.
12527         (LOCALES): Likewise.
12528         (bench-build): Build timing-type here instead of the bench
12529         target.  Generate locale only for native builds.
12530         * benchtests/README: Add note for cross-building.
12532         * benchtests/Makefile (bench-clean): Clean up extra-objs.
12534         * benchtests/README: Update README to include instructions on
12535         using bench-build.
12537         * Makefile.in (bench-build): New target.
12538         * Rules (PHONY): Add bench-build target.
12539         * benchtests/Makefile (bench): Depend on bench-build.
12540         (bench-build): New target.
12542 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12544         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12545         profil_reply_port.
12546         (profile_waiter): Do not initialize profil_reply_port.
12547         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12548         frequency instead of tick length in us.
12550 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
12552         [BZ #18712]
12553         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12554         (__old_mempcpy_small): Likewise.
12555         (__old_strcpy_small): Likewise.
12556         (__old_stpcpy_small): Likewise.
12557         (__old_strpbrk_c2): Fix compat symbol name.
12558         (__old_strpbrk_c3): Likewise.
12559         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12560         (__mempcpy_small): Remove.
12561         (__strcpy_small): Remove.
12562         (__stpcpy_small): Remove.
12564 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
12566         [BZ #19400]
12567         * locale/iso-639.def: Add the Talossan/tzl language.
12569 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12571         [BZ #16983]
12572         * locale/programs/ld-address.c (address_finish): Update postal_fmt
12573         comment.  Add "ln" to strchr check on postal_fmt.
12575 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
12577         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12578         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
12579         tel_dom_fmt.
12581 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12583         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12584         (sysdep_routines): Added __strlen_power8.
12585         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12586         __strlen_power8 entry.
12587         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12588         Implementation for POWER8.
12589         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12590         for __strlen_power8.
12591         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12592         Implementation for POWER8.
12594 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
12596         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12598 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
12600         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12601         Goldmont and Airmont processors.
12603 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
12605         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12606         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12607         (__STRING2_SMALL_GET32): Remove.
12608         (memset): Remove.
12609         (__memset_1): Remove.
12610         (__memset_gc): Remove.
12611         (__mempcpy): Remove.
12612         (mempcpy): Remove.
12613         (__mempcpy_args): Remove.
12614         (strchr): Remove.
12615         (strcpy): Remove.
12616         (strcpy_args): Remove.
12617         (__stpcpy_args): Remove.
12618         (__strcmp_cc): Remove.
12619         (__strcmp_gc): Remove.
12620         (strstr): Remove.
12622 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
12624         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12625         * nis/nis_call.c (nis_server_cache_add): Likewise.
12627 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12629         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12631 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12633         * malloc/arena.c (__malloc_fork_lock_parent)
12634         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12635         internal_function attribute.
12637 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
12639         * stdio-common/printf_fp.c (__printf_fp_l):
12640         Rename ___printf_fp_l to __printf_fp_l and
12641         remove strong alias. Use libc_hidden_def instead
12642         of ldbl_hidden_def macro.
12644 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12646         Remove malloc hooks from fork handler.  They are no longer needed
12647         because malloc runs right before fork, and no malloc calls from
12648         other fork handlers are not possible anymore.
12649         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12650         declarations.
12651         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12652         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12653         (atfork_recursive_cntr): Remove.
12654         (__malloc_fork_lock_parent): Do not override malloc hooks and
12655         thread_arena.
12656         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12657         thread_arena.
12658         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
12659         thread_arena instead of save_arena.
12661 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12663         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12664         (thread_atfork, thread_atfork_static): Remove.
12665         * sysdeps/mach/hurd/malloc-machine.h:
12666         (thread_atfork, thread_atfork_static): Remove.
12668 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12670         [BZ #19431]
12671         Run the malloc fork handler as late as possible to avoid deadlocks.
12672         * malloc/malloc-internal.h: New file.
12673         * malloc/malloc.c: Include it.
12674         * malloc/arena.c (ATFORK_MEM): Remove.
12675         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12676         Update comment.
12677         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12678         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12679         Remove outdated comment.
12680         (ptmalloc_init): Do not call thread_atfork.  Remove
12681         thread_atfork_static.
12682         * malloc/tst-malloc-fork-deadlock.c: New file.
12683         * Makefile (tests): Add tst-malloc-fork-deadlock.
12684         (tst-malloc-fork-deadlock): Link against libpthread.
12685         * manual/memory.texi (Aligned Memory Blocks): Update safety
12686         annotation comments.
12687         * sysdeps/nptl/fork.c (__libc_fork): Call
12688         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12689         __malloc_fork_unlock_child.
12690         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12692 2016-04-14  Florian Weimer  <fweimer@redhat.com>
12694         [BZ #19613]
12695         Remove union wait.
12696         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12697         (w_stopsig, w_stopval): Remove.
12698         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12699         stat_loc argument.
12700         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12701         (__WAIT_STATUS_DEFN): Remove.
12702         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12703         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12704         (wait, wait3, wait4): Use int * for the stat_loc argument.
12705         * posix/wait.c (__wait): Likewise.
12706         * posix/wait3.c (__wait3): Likewise.
12707         * posix/wait4.c (__wait4): Likewise.
12708         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12709         (__WAIT_STATUS_DEFN): Remove.
12710         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12711         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12712         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12713         argument.
12714         * sysdeps/posix/wait.c (__libc_wait): Likewise.
12715         * sysdeps/posix/wait3.c (__wait3): Likewise.
12716         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12717         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12718         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12719         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12720         stat_loc argument.
12721         * manual/process.texi (BSD Wait Functions): Remove union wait.
12723 2016-04-13  Andreas Schwab  <schwab@suse.de>
12725         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12726         (test-extras): Add tst-tlsalign-vars.
12727         * math/Makefile: Wrap long lines.
12728         (libm-vec-test-wrappers): Define.
12729         (test-extras): Add $(libm-vec-test-wrappers).
12730         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12731         * nss/Makefile (extra-test-objs): Add nss_test1.os.
12732         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12733         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12734         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12735         (extra-test-objs): Add corresponding objects.
12737 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
12739         [BZ #19928]
12740         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12741         New.
12742         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12743         times of shared cache size.
12744         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12745         (VMOVNT): New.
12746         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12747         (VMOVNT): Likewise.
12748         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12749         (VMOVNT): Likewise.
12750         (VMOVU): Changed to movups for smaller code sizes.
12751         (VMOVA): Changed to movaps for smaller code sizes.
12752         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12753         comments.
12754         (PREFETCH): New.
12755         (PREFETCH_SIZE): Likewise.
12756         (PREFETCHED_LOAD_SIZE): Likewise.
12757         (PREFETCH_ONE_SET): Likewise.
12758         Rewrite to use forward and backward loops, which move 4 vector
12759         registers at a time, to support overlapping addresses and use
12760         non temporal store if size is above the threshold and there is
12761         no overlap between destination and source.
12763 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
12765         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12766         Include dl-vdso.
12767         * sysdeps/unix/sysv/linux/mips/Versions: Add
12768         __vdso_clock_gettime.
12769         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12770         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12771         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12772         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12773         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12774         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12775         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12776         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12777         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12779 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12781         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12782         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12783         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12784         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12785         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12786         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12789         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12790         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12791         syscalls generation.
12792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12793         [__NR_pwrite64] (__NR_write): Remove define.
12794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12795         [__NR_pwrite64] (__NR_write): Remove define.
12796         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12797         Remove define.
12798         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12799         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12800         Remove define.
12801         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12802         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12803         Linux implementation as base.
12804         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12806         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12807         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12812         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12813         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12814         syscall generation.
12815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12816         [__NR_pread64] (__NR_pread): Remove define.
12817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12818         [__NR_pread64] (__NR_pread): Likewise.
12819         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12820         define.
12821         (__libc_pread): Use SYSCALL_LL macro on offset argument.
12822         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12823         Remove define.
12824         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12825         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12826         Linux implementation as base.
12827         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12828         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12829         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12831         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12832         definition.
12833         (__ALIGNMENT_COUNT): Likewise.
12834         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12835         (__ALIGNMENT_COUNT): Likewise.
12836         (SYSCALL_LL): New define.
12837         (SYSCALL_LL64): Likewise.
12838         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12839         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12840         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12841         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12843         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12844         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12845         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12846         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12847         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12848         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12850 2016-04-11  Florian Weimer  <fweimer@redhat.com>
12852         [BZ #19865]
12853         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12854         original buffer before retry.
12856 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12858         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12859         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12860         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12861         GLRO(dl_auxv) list.
12862         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12863         including <ldsodefs.h>.
12864         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12866 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
12868         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12869         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12870         $(CPPFLAGS).
12872 2016-04-09  Khem Raj  <raj.khem@gmail.com>
12874         [BZ #17950]
12875         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12876         Add -mfpmath=387.
12878 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
12880         * sysdeps/i386/configure.ac: Change == to = when calling test.
12881         * sysdeps/x86_64/configure.ac: Likewise.
12882         * sysdeps/i386/configure: Regenerated.
12883         * sysdeps/x86_64/configure: Likewise.
12885 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
12887         [BZ #16137]
12888         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12889         * benchtests/bench-strcoll.c (input_files): Likewise.
12890         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12891         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12892         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12894 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
12896         [BZ #19929]
12897         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12898         [__USE_XOPEN2K8 && !__USE_GNU].
12899         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12900         variable.
12902         [BZ #19925]
12903         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12904         define if [!__USE_MISC && __USE_XOPEN2K].
12905         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12906         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12907         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12908         Likewise.
12909         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12910         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12911         variable.
12912         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12914 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12916         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12917         (sysdep_routines): Add new strspn targets.
12918         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12919         (__libc_ifunc_impl_list): Add strspn.
12920         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12921         New file.
12922         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12923         Likewise.
12924         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12925         Likewise.
12926         * sysdeps/powerpc/powerpc64/power8/strspn.S:
12927         Likewise.
12929 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12931         * misc/hsearch_r.c: Include <limits.h>.
12933 2016-04-07  Florian Weimer  <fweimer@redhat.com>
12935         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12937 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12939         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12940         (MEMCPY_SYMBOL): New.
12941         (MEMPCPY_SYMBOL): Likewise.
12942         (MEMMOVE_CHK_SYMBOL): Likewise.
12943         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12944         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12945         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
12946         Provide alias for memcpy in libc.a and ld.so.
12948 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12950         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12951         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
12952         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12953         Disabled fro now.
12954         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12955         symbols.  Properly check USE_MULTIARCH on __memset symbols.
12957 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
12959         * benchtests/Makefile (string-benchset): Add memcpy-large,
12960         memmove-large and memset-large.
12961         * benchtests/bench-memcpy-large.c: New file.
12962         * benchtests/bench-memmove-large.c: Likewise.
12963         * benchtests/bench-memmove-large.c: Likewise.
12964         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12966 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12968         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12969         32-bit displacement to avoid long nop between instructions.
12971 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
12973         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12974         a comment on VMOVU and VMOVA.
12976 2016-04-04  Florian Weimer  <fweimer@redhat.com>
12978         [BZ #19633]
12979         Use specified locale for number formatting in strfmon_l.
12980         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12981         (__nl_lookup_word): New inline functions.
12982         * include/printf.h (__print_fp_l): Declare.
12983         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12984         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
12985         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12986         (___printf_fp): New function.
12987         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12988         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12989         * stdlib/tst-strfmon_l.c (do_test): New test.
12990         * stdlib/Makefile (tests): Add kt.
12991         (LOCALES): Build additional locales.
12992         (tst-strfmon_l.out): Require locales.
12994 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
12996         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12997         if not in libc.
12998         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12999         Likewise.
13000         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
13001         Likewise.
13002         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13003         Likewise.
13005 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
13007         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13008         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
13009         with unaligned_erms.
13010         (__memmove_erms): Skip if source == destination.
13011         (__memmove_unaligned_erms): Don't check source == destination
13012         first.
13014 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13016         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
13017         bit_arch_Fast_Copy_Backward for Intel Core proessors.
13019 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13021         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
13022         * string/strspn.c (strspn): Likewise.
13024 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13026         * benchtests/bench-memset.c (do_test): Support 64-byte
13027         alignment.
13028         (test_main): Test 64-byte alignment.
13030 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13032         * benchtests/bench-memmove.c (test_main): Test 64-byte
13033         alignment.
13035 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
13037         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
13039 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13041         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
13042         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
13043         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
13045         * string/strpbrk.c (strpbrk): Rewrite function.
13046         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
13047         (__strpbrk_c2): Likewise.
13048         (__strpbrk_c3): Likewise.
13049         * string/string-inlines.c
13050         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
13051         Likewise.
13052         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
13053         Likewise.
13055         * string/strspn.c (strcspn): Rewrite function.
13056         * string/bits/string2.h (strspn): Use __builtin_strcspn.
13057         (__strspn_c1): Remove inline function.
13058         (__strspn_c2): Likewise.
13059         (__strspn_c3): Likewise.
13060         * string/string-inlines.c
13061         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
13062         compatibility symbol.
13063         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
13064         Likewise.
13065         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
13066         Likewise.
13067         * string/string-inlines.c: Include generic version.
13069 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
13070             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13072         * string/Version (libc): Add GLIBC_2.24.
13073         * string/strcspn.c (strcspn): Rewrite function.
13074         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
13075         (__strcspn_c1): Remove inline function.
13076         (__strcspn_c2): Likewise.
13077         (__strcspn_c3): Likewise.
13078         * string/string-inline.c
13079         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13080         compatibility symbol.
13081         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13082         Likewise.
13083         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13084         Likewise.
13085         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13087 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
13089         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13090         Use ahi instead of aghi to adjust stack pointer.
13092 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13094         [BZ #19853]
13095         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13096         TEST to take significant digits as second parameter.
13097         [TEST]: Redefine in terms of TEST_N taking 30
13098         significant digits.
13099         (do_test): Add test case to demonstrate precision
13100         failure in the ldbl-128ibm printf.
13101         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13102         (__mpn_extract_long_double): Carry 7 extra intermediate
13103         bits of precision to aide computing difference when
13104         signs differ.
13106 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13108         [BZ #19881]
13109         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13110         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13111         memset-avx512-unaligned-erms.
13112         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13113         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13114         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13115         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13116         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13117         __memset_sse2_unaligned_erms, __memset_erms,
13118         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13119         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13120         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13121         file.
13122         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13123         Likewise.
13124         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13125         Likewise.
13126         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13127         Likewise.
13129 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
13131         [BZ #19776]
13132         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13133         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13134         memmove-avx512-unaligned-erms.
13135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13136         (__libc_ifunc_impl_list): Test
13137         __memmove_chk_avx512_unaligned_2,
13138         __memmove_chk_avx512_unaligned_erms,
13139         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
13140         __memmove_chk_sse2_unaligned_2,
13141         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
13142         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
13143         __memmove_avx512_unaligned_erms, __memmove_erms,
13144         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
13145         __memcpy_chk_avx512_unaligned_2,
13146         __memcpy_chk_avx512_unaligned_erms,
13147         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
13148         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
13149         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
13150         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
13151         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
13152         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
13153         __mempcpy_chk_avx512_unaligned_erms,
13154         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
13155         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
13156         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
13157         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
13158         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
13159         __mempcpy_erms.
13160         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
13161         file.
13162         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13163         Likewise.
13164         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13165         Likewise.
13166         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13167         Likewise.
13169 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13171         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
13172         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
13173         (La_s390_64_regs): Likewise.
13174         (La_s390_32_retval): Append vector register lrv_v24.
13175         (La_s390_64_retval): Likeweise.
13176         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13177         Handle extended structs La_s390_32_regs and La_s390_32_retval.
13178         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13179         Handle extended structs La_s390_64_regs and La_s390_64_retval.
13181 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
13183         [BZ #19916]
13184         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
13185         to create a non-vector/vector version for _dl_runtime_resolve and
13186         _dl_runtime_profile. Move implementation to ...
13187         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
13188         (_dl_runtime_resolve) Save and restore fpr/vrs.
13189         (_dl_runtime_profile) Save and restore vrs and fix some issues
13190         if _dl_call_pltexit is called.
13191         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
13192         Choose the correct resolver function if running on a machine with vx.
13193         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
13194         to create a non-vector/vector version for _dl_runtime_resolve and
13195         _dl_runtime_profile. Move implementation to ...
13196         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
13197         (_dl_runtime_resolve) Save and restore fpr/vrs.
13198         (_dl_runtime_profile) Save and restore vrs and fix some issues
13199         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
13200         Choose the correct resolver function if running on a machine with vx.
13202 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13204         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
13206 2016-03-31  Florian Weimer  <fweimer@redhat.com>
13208         [BZ #19509]
13209         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
13210         skip_map != NULL.
13211         * elf/tst-dlsym-error.c: New file.
13212         * elf/Makefile (tests): Add tst-dlsym-error.
13213         (tst-dlsym-error): Link against libdl.
13215 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
13217         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13218         (__ASSUME_FUTIMESAT): Remove macro.
13219         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
13221 2016-03-29  Florian Weimer  <fweimer@redhat.com>
13223         [BZ #19879]
13224         CVE-2016-3075
13225         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
13226         copy name.
13228 2016-03-29  Florian Weimer  <fweimer@redhat.com>
13230         [BZ #19837]
13231         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
13232         error if parse_line fails.
13234 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
13236         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
13237         (index_cpu_ERMS): Likewise.
13238         (reg_ERMS): Likewise.
13240 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
13242         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
13243         PER_LINUX_FDPIC): Add.
13245 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
13247         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13248         memcpy-avx512-no-vzeroupper.
13249         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
13250         to ...
13251         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
13252         (MEMCPY): Don't define.
13253         (MEMCPY_CHK): Likewise.
13254         (MEMPCPY): Likewise.
13255         (MEMPCPY_CHK): Likewise.
13256         (MEMPCPY_CHK): Renamed to ...
13257         (__mempcpy_chk_avx512_no_vzeroupper): This.
13258         (MEMPCPY_CHK): Renamed to ...
13259         (__mempcpy_chk_avx512_no_vzeroupper): This.
13260         (MEMCPY_CHK): Renamed to ...
13261         (__memmove_chk_avx512_no_vzeroupper): This.
13262         (MEMCPY): Renamed to ...
13263         (__memmove_avx512_no_vzeroupper): This.
13264         (__memcpy_avx512_no_vzeroupper): New alias.
13265         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
13267 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
13269         [BZ #18858]
13270         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13271         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
13272         and mempcpy-avx512-no-vzeroupper.
13273         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
13274         New.
13275         (MEMPCPY): Likewise.
13276         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
13277         (MEMPCPY_CHK): New.
13278         (MEMPCPY): Likewise.
13279         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
13280         (MEMPCPY): Likewise.
13281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
13282         (MEMPCPY): Likewise.
13283         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
13284         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
13285         Likewise.
13286         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
13287         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
13289 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
13290              Amit Pawar  <Amit.Pawar@amd.com>
13292         [BZ #19583]
13293         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13294         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
13295         processors.  Set Fast_Copy_Backward for AMD Excavator
13296         processors.
13297         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
13298         New.
13299         (index_arch_Fast_Unaligned_Copy): Likewise.
13300         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
13301         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
13303 2016-03-25  Florian Weimer  <fweimer@redhat.com>
13305         [BZ #19791]
13306         * resolv/res_send.c (close_and_return_error): New function.
13307         (send_dg): Initialize *resplen2 after reopen failure.  Call
13308         close_and_return_error for error returns.  On error paths without
13309         __res_iclose, initialze *resplen2 explicitly.  Update comment for
13310         successful return.
13312 2016-03-25  Florian Weimer  <fweimer@redhat.com>
13314         [BZ# 19860]
13315         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13316         zero if the compiler does not provide the AVX512F bit.
13318 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
13320         [BZ #19848]
13321         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13322         from 8 to 4.
13323         (__ieee754_powl): Compare integer exponent against 4 not 8.
13324         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13325         from 8 to 4.
13326         (__ieee754_powl): Compare integer exponent against 4 not 8.
13327         * math/auto-libm-test-in: Add more tests of pow.
13328         * math/auto-libm-test-out: Regenerated.
13329         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13330         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13332 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13334         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13335         Make code unconditional.
13336         [!__NR_utimensat]: Remove conditional code.
13337         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13338         Make code unconditional.
13339         [!__NR_utimensat]: Remove conditional code.
13340         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13341         Make code unconditional.
13342         [!__NR_utimensat]: Remove conditional code.
13344 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
13346         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13347         Make code unconditional.
13349 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
13351         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13352         call-clobbered %eax on retry path.
13353         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13355 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13357         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13358         Don't set %rcx twice before "rep movsb".
13360 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
13362         [BZ #19583]
13363         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13364         inline.  Check family before setting family, model and
13365         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
13366         bits here.
13367         (init_cpu_features): Replace HAS_CPU_FEATURE and
13368         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13369         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
13370         for Intel processors with usable AVX2.  Call get_common_indeces
13371         for other processors with family == NULL.
13372         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13373         (CPU_FEATURES_ARCH_P): Likewise.
13374         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13375         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13377 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13379         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13380         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13381         $(shared-thread-library) instead of hardcoding the path to libpthread.
13383 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
13385         * sysdeps/unix/sysv/linux/kernel-features.h
13386         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13387         * sysdeps/unix/sysv/linux/getdents.c
13388         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13389         [!have_no_getdents64_defined]: Likewise.
13390         (__GETDENTS): Remove __have_no_getdents64 conditional.
13392 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
13394         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13395         Remove macro.
13396         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13397         <kernel-features.h>.
13398         (signalfd) [__NR_signalfd4]: Make code unconditional.
13399         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13401 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13403         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13404         style.
13406 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
13408         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13409         (__pthread_enable_asynccancel): Use JUMPTARGET to call
13410         __pthread_unwind.
13411         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13412         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13413         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13414         (__condvar_cleanup1): Likewise.
13416 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
13418         [BZ #19822]
13419         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13420         move it to the final $@ location.
13422 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13424         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13425         access where posix_spawn success and pid argument is null.
13426         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13427         success case.
13429 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
13431         * sysdeps/mach/hurd/i386/c++-types.data: New file.
13433         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13435         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13436         and __fcntl.
13437         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13438         __fcntl only.
13439         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13440         adding attribute_hidden to __open and __fcntl.
13442         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13443         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13444         depend on libc-modules.h,
13445         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13447 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
13449         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13450         Remove macro.
13451         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13452         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13453         entry.
13455         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13456         Remove macro.
13457         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13458         include <kernel-features.h>.
13459         [!__ASSUME_FALLOCATE]: Remove conditional code.
13460         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13462 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
13464         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13465         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13466         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13467         (_ZGVdN4v_cos_avx2): Likewise.
13468         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13469         (_ZGVdN4v_cos): Likewise.
13470         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13471         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13472         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13473         (_ZGVdN4v_exp_avx2): Likewise.
13474         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13475         (_ZGVdN4v_exp): Likewise.
13476         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13477         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13478         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13479         (_ZGVdN4v_log_avx2): Likewise.
13480         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13481         (_ZGVdN4v_log): Likewise.
13482         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13483         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13484         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13485         (_ZGVdN4vv_pow_avx2): Likewise.
13486         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13487         (_ZGVdN4vv_pow): Likewise.
13488         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13489         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13490         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13491         (_ZGVdN4v_sin_avx2): Likewise.
13492         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13493         (_ZGVdN4v_sin): Likewise.
13494         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13495         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13496         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13497         (_ZGVdN4vvv_sincos_avx2): Likewise.
13498         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13499         (_ZGVdN4vvv_sincos): Likewise.
13500         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13501         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13502         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13503         (_ZGVbN4v_cosf_sse4): Likewise.
13504         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13505         (_ZGVdN8v_cosf_avx2): Likewise.
13506         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13507         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13508         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13509         (_ZGVbN4v_expf_sse4): Likewise.
13510         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13511         (_ZGVdN8v_expf_avx2): Likewise.
13512         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13513         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13514         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13515         (_ZGVbN4v_logf_sse4): Likewise.
13516         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13517         (_ZGVdN8v_logf_avx2): Likewise.
13518         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13519         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13520         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13521         (_ZGVbN4vv_powf_sse4): Likewise.
13522         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13523         (_ZGVdN8vv_powf_avx2): Likewise.
13524         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13525         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13526         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13527         (_ZGVbN4vvv_sincosf_sse4): Likewise.
13528         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13529         (_ZGVdN8vvv_sincosf_avx2): Likewise.
13530         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13531         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13532         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13533         (_ZGVbN4v_sinf_sse4): Likewise.
13534         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13535         (_ZGVdN8v_sinf_avx2): Likewise.
13536         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13537         Use JUMPTARGET to call callee.
13538         (WRAPPER_IMPL_SSE2_ff): Likewise.
13539         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13540         (WRAPPER_IMPL_AVX): Likewise.
13541         (WRAPPER_IMPL_AVX_ff): Likewise.
13542         (WRAPPER_IMPL_AVX_fFF): Likewise.
13543         (WRAPPER_IMPL_AVX512): Likewise.
13544         (WRAPPER_IMPL_AVX512_ff): Likewise.
13545         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13546         Likewise.
13547         (WRAPPER_IMPL_SSE2_ff): Likewise.
13548         (WRAPPER_IMPL_SSE2_fFF): Likewise.
13549         (WRAPPER_IMPL_AVX): Likewise.
13550         (WRAPPER_IMPL_AVX_ff): Likewise.
13551         (WRAPPER_IMPL_AVX_fFF): Likewise.
13552         (WRAPPER_IMPL_AVX512): Likewise.
13553         (WRAPPER_IMPL_AVX512_ff): Likewise.
13554         (WRAPPER_IMPL_AVX512_fFF): Likewise.
13556 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13558         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13559         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13560         qualifier.
13561         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13562         internal_function qualifiers.
13564 2016-03-15  Carlos O'Donell <carlos@redhat.com>
13566         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13567         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13568         * math/atest-exp.c (exp_mpn): Mark chk unused.
13569         * math/atest-exp2.c (exp_mpn): Likewise.
13570         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13571         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13573 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
13575         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13576         Remove macro.
13577         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13578         <kernel-features.h>.
13579         [__NR_ppoll]: Make code unconditional.
13580         [!__ASSUME_PPOLL]: Remove conditional code.
13582         * sysdeps/unix/sysv/linux/kernel-features.h
13583         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13584         (__ASSUME_ACCEPT4): Likewise.
13585         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13586         Define.
13587         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13588         Likewise.
13589         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13590         Likewise.
13591         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13592         Likewise.
13593         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13594         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13595         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13596         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13597         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13598         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13599         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13600         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13601         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13602         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13603         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13604         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13605         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13606         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13607         * sysdeps/unix/sysv/linux/i386/kernel-features.h
13608         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13609         Likewise.
13610         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13611         Likewise.
13612         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13613         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13614         0x040300].
13615         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13616         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13617         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13618         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13619         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13620         0x030300].
13621         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13622         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13623         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13624         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13625         0x040300].
13626         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13627         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13628         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13629         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13630         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13631         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13632         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13633         0x030300].
13634         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13635         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13636         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13637         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13638         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13639         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13640         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13641         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13642         * sysdeps/unix/sysv/linux/s390/kernel-features.h
13643         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13644         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13645         0x040300].
13646         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13647         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13648         * sysdeps/unix/sysv/linux/sh/kernel-features.h
13649         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13650         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13651         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13652         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13653         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13654         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13655         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13656         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13657         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13658         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13659         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13660         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13661         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13663         Likewise.
13664         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13665         Likewise.
13667 2016-03-15  Andreas Schwab  <schwab@suse.de>
13669         [BZ #19257]
13670         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13671         statp->_u._ext.nscount as loop count.
13673 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
13675         * math/test-signgam-finite-c99.c: Also #undef
13676         __LIBC_INTERNAL_MATH_INLINES.
13677         * math/test-signgam-main.c: Likewise.
13679 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
13681         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13682         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13683         (MADV_FREE): Likewise.
13684         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13685         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13686         EPOLLEXCLUSIVE.
13688 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
13690         * timezone/README: Remove mention of checktab.awk. Mention wiki
13691         SharedSourceFiles.
13693 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
13695         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13696         WUNTRACED.
13698 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13700         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13701         order to match the type of p when calling atomic_exchange_acq().
13703 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13705         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13706         cfi_offset calls.
13707         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13708         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13709         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13710         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13711         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13713 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
13715         * timezone/checktab.awk: Removed.
13717 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
13719         * manual/math.texi (Errors in Math Functions): Document relaxed
13720         accuracy goals for IBM long double.
13721         * math/libm-test.inc (test_exceptions): Always allow spurious
13722         "underflow" and "inexact" exceptions for IBM long double.
13724 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
13726         [BZ #19762]
13727         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13728         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13729         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13730         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13731         (bit_arch_*): This for feature array.
13732         (bit_*): Renamed to ...
13733         (bit_cpu_*): This for cpu array.
13734         (index_*): Renamed to ...
13735         (index_arch_*): This for feature array.
13736         (index_*): Renamed to ...
13737         (index_cpu_*): This for cpu array.
13738         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13739         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13740         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13741         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13742         bit_##name with index_cpu_##name and bit_cpu_##name.
13743         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13744         bit_##name with index_arch_##name and bit_arch_##name.
13746 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
13748         [BZ #19792]
13749         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13750         Terminate FDE before return label.
13752 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
13754         [BZ #19790]
13755         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13756         (rintl): Define as macro.
13757         [USE_AS_NEARBYINTL] (__rintl): Likewise.
13758         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13759         of fesetround.  Ensure results are evaluated before end of scope.
13760         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13761         USE_AS_NEARBYINTL and include s_rintl.c.
13762         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13763         Disable exception traps in new environment.
13764         (libc_feholdsetround_ppc_ctx): Likewise.
13766 2016-03-08  Roland McGrath  <roland@hack.frob.com>
13768         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13769         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13770         (tst_audit10_aux) [__AVX512F__]: ... here.
13772 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
13774         * include/sys/auxv.h: New file.
13776 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13778         [BZ #19759]
13779         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13781 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13783         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13784         operand modifier.
13785         (feclearexcept): Likewise.
13787 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
13789         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13790         to reflect the entire 32-bit HWCAP.
13791         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13792         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
13794 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
13796         [BZ #19783]
13797         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13798         $(test-via-rtld-prefix).
13799         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13801 2016-03-08  Florian Weimer  <fweimer@redhat.com>
13803         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13804         union wait.  Report any non-zero exit status as error.
13806 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13808         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13809         configured with --enable-hardcoded-path-in-tests.
13811 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
13813         [BZ #19677]
13814         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13815         (__ieee754_remainderl): Put zero low parts in canonical form.
13816         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13817         file.  Based on
13818         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13819         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13820         with wrapper round test-fmodrem-ldbl-128ibm.c.
13821         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13822         file.
13823         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13824         Likewise.
13825         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13826         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13828 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13830         [BZ #19610]
13831         * elf/ldconfig.c (opt_link): Update comment.
13832         (options): Update help string for option -X.
13833         (search_dir): Unlink stale symbolic link only if updating symbolic
13834         links.
13835         * elf/tst-ldconfig-X.sh: New file.
13836         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13837         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13839 2016-03-07  Andreas Schwab  <schwab@suse.de>
13841         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13842         needed arguments.
13844 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
13846         [BZ #15333]
13847         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13848         to lstat64.
13850 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13852         * libio/filedoalloc.c (isatty): Remove.
13853         (local_isatty): Add comment.  Call __isatty directly.
13854         (_IO_file_doallocate): Update comment.  Assume _LIBC.
13855         * libio/wfiledoalloc.c (isatty): Remove.
13856         (_IO_wfile_doallocate): Update comment.
13858 2016-03-07  Florian Weimer  <fweimer@redhat.com>
13860         [BZ #19269]
13861         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13862         tst-audit4-aux.o.
13863         (tst-audit10): Depend on tst-audit10-aux.o.
13864         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13865         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13866         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13867         instead of inline AVX code.
13868         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13869         instead of inline AVX512 code.
13870         * sysdeps/x86_64/tst-audit4-aux.c: New file
13871         * sysdeps/x86_64/tst-audit10-aux.c: New file
13873         [BZ #19648]
13874         * test-skeleton.c (main): Do not set RLIMIT_DATA.
13876 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13878         [BZ #14750]
13879         [BZ #10354]
13880         [BZ #18433]
13881         * include/sched.h (__clone): Add hidden prototype.
13882         (__clone2): Likewise.
13883         * include/unistd.h (__dup): Likewise.
13884         * posix/Makefile (tests): Add tst-spawn2.
13885         * posix/tst-spawn2.c: New file.
13886         * sysdeps/posix/dup.c (__dup): Add hidden definition.
13887         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13888         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13889         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13890         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13891         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13892         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13893         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13894         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13895         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13896         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13898         Likewise.
13899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13900         Likewise.
13901         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13902         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13903         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13904         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13905         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13906         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13907         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13908         * sysdeps/unix/sysv/linux/nptl-signals.h
13909         (____nptl_is_internal_signal): New function.
13910         * sysdeps/unix/sysv/linux/spawni.c: New file.
13912         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13913         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13914         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13915         * posix/tst-execvp2.c (do_test): Likewise.
13916         * posix/tst-execvp3.c (do_test): Likewise.
13917         * posix/tst-execvp4.c (do_test): Likewise.
13918         * posix/tst-execvpe1.c: New file.
13919         * posix/tst-execvpe2.c: Likewise.
13920         * posix/tst-execvpe3.c: Likewise.
13921         * posix/tst-execvpe4.c: Likewise.
13922         * posix/tst-execvpe5.c: Likewise.
13923         * posix/tst-execvpe6.c: Likewise.
13925         [BZ #19534]
13926         * posix/execl.c (execl): Remove dynamic memory allocation.
13927         * posix/execle.c (execle): Likewise.
13928         * posix/execlp.c (execlp): Likewise.
13930 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13932         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13933         Replace .text with .text.avx512.
13934         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13935         Likewise.
13937 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
13939         * sysdeps/generic/libnsl.abilist: New file.
13940         * sysdeps/generic/libutil.abilist: New file.
13942 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
13944         [BZ #19762]
13945         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13946         HAS_ARCH_FEATURE with Fast_Rep_String.
13947         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13948         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13949         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13950         Likewise.
13951         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13952         Likewise.
13953         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13954         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13955         Likewise.
13956         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13957         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13958         Likewise.
13960 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13962         [BZ #19745]
13963         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13964         with *%rax in call.
13966 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13968         [BZ #19745]
13969         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13970         with *__libc_start_main@GOTPCREL(%rip) in call.
13972 2016-03-04  Roland McGrath  <roland@hack.frob.com>
13974         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13975         inside conditional for nonempty $(CXX).
13977         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13978         nonempty.
13980         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13981         to test for empty $(CXX) rather than $(CXX) of "no".
13983 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
13985         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13987 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
13988             H.J. Lu  <hongjiu.lu@intel.com>
13990         [BZ #18880]
13991         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13992         instead of Slow_BSF, and also check for Fast_Copy_Backward to
13993         enable __memcpy_ssse3_back.
13995 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
13997         [BZ #19758]
13998         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13999         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
14001 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
14003         [BZ #19490]
14004         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
14005         (__fentry__): Likewise.
14007 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
14009         * gmon/Makefile (noprof): Add $(sysdep_noprof).
14010         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
14012 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14014         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
14015         __mcount_internal directly.
14016         (C_LABEL(__fentry__)): Likewise.
14017         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
14018         directly.
14020 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
14022         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14023         (__start_context): Call __setcontext directly.
14025 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
14027         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14028         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14029         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
14030         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14031         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14032         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14033         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
14034         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14035         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14036         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
14037         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14038         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14039         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14040         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14041         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14042         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14043         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
14044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14045         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14046         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
14047         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
14048         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14049         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14050         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
14051         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
14052         Remove conditional code.
14053         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
14054         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
14055         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14056         * sysdeps/unix/sysv/linux/sh/kernel-features.h
14057         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
14058         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14059         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
14060         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
14061         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
14062         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14063         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14064         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
14066 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
14068         * NEWS (2.23): Fix typo in bug 19048 text.
14070 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
14072         [BZ #14259]
14073         * Makeconfig: Rename msgcatdir to localedir.
14074         Rename inst_msgcatdir to inst_localedir.
14075         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
14076         * config.make.in: Add localedir.
14077         * elf/Makefile ($(objpfx)sotruss): Use localedir.
14078         (ldd-rewrite): Likewise.
14079         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14080         (install-others): Use inst_localedir.
14081         (CPPFLAGS): Use localedir.
14082         * locale/Makefile (locale-CPPFLAGS): Likewise.
14083         * po/Makefile (mo-installed): Use inst_localedir.
14085         [BZ #19575]
14086         * localedata/charmaps/GB18030: Update comments regarding PAU to
14087         non-PUA mappings.
14089 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
14091         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14092         test for header.
14093         * sysdeps/unix/sysv/linux/configure: Regenerated.
14094         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14095         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14096         Remove conditional code.
14097         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14099         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14100         Define to 3.2.0.
14101         (arch_minimum_kernel): Likewise.
14102         * sysdeps/unix/sysv/linux/configure: Regenerated.
14103         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14104         Define to 2.6.32.
14105         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14106         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14107         (arch_minimum_kernel): Define to 2.6.32.
14108         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14109         * README: Document Linux 3.2 requirement.
14110         * manual/install.texi (Linux): Document Linux 3.2 headers
14111         requirement.
14112         * INSTALL: Regenerated.
14114 2016-02-24  Andreas Schwab  <schwab@suse.de>
14116         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14117         if !NO_LONG_DOUBLE.
14119 2016-02-22  Roland McGrath  <roland@hack.frob.com>
14121         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14122         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14124 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
14126         [BZ #19512]
14127         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14129 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14131         * posix/tst-dir.c: Include libc-internal.h.
14133 2016-02-20  Florian Weimer  <fweimer@redhat.com>
14135         [BZ #19056]
14136         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
14137         * manual/filesys.texi (Reading/Closing Directory): Mention
14138         deprecaion.
14139         * posix/tst-dir.c (main): Disable deprecation warning in test.
14141 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
14143         [BZ #19679]
14144         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
14145         Renamed to ...
14146         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
14147         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14148         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
14149         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14150         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14151         * sysdeps/x86_64/dl-trampoline.h
14152         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14153         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14155 2016-02-19  Mark Wielaard  <mjw@redhat.com>
14157         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
14159 2016-02-19  Mark Wielaard  <mjw@redhat.com>
14161         * elf/elf.h (R_386_GOT32X): New.
14162         (R_386_NUM): Update.
14163         (R_X86_64_GOTPCRELX: New.
14164         (R_X86_64_REX_GOTPCRELX): New.
14165         (R_X86_64_NUM): Update.
14167 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
14169         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
14171 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
14173         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
14174         assign attr->stackaddr to it, and adjust it down when
14175         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
14176         [_STACK_GROWS_UP]: Delete assert.
14177         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
14178         Implement stack grows up logic.
14179         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
14180         stack grows up logic.
14182 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14184         * NEWS: Update with 2.24 template.
14186 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
14188         [BZ #19678]
14189         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14190         Ensure +0.0 is returned when taking the next value below the least
14191         positive value.
14193 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14195         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
14196         available.  Do not define NO_THREADS.
14197         * malloc/malloc.c: Do not check NO_THREADS.
14198         * malloc/arena.c: Likewise.
14200 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14202         * malloc/malloc.c (__libc_mallinfo): Update comment.
14203         (struct malloc_par): Remove max_total_mem member, it was always 0.
14204         (int_mallinfo): Store 0 into usmblks (no functional change).
14205         * malloc/hooks.c (struct malloc_state): Document that
14206         max_total_mem is always 0.
14207         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
14208         always 0.
14209         * manual/memory.texi (Statistics of Malloc): Likewise.
14211 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14213         * malloc/malloc.c (sysmalloc): Do not update arena_max.
14214         * malloc/arena.c (arena_max): Remove.
14215         (heap_trim, _int_new_arena): Do not update arena_max.
14217 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14219         * resolv/res_init.c (res_ninit): Update comment.
14221 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14223         [BZ #19505]
14224         * posix/spawn_int.h: Add headers and include guard.
14225         (__spawn_valid_fd): New function.
14226         * posix/spawn_faction_addopen.c
14227         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
14228         * posix/spawn_faction_addclose.c
14229         (posix_spawn_file_actions_addclose): Likewise.
14230         * posix/spawn_faction_adddup2.c
14231         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
14232         second file descriptor.
14233         * posix/spawn_valid_fd.c: New file.
14234         * posix/tst-posix_spawn-fd.c: New file.
14235         * posix/Makefile (routines): Add spawn_valid_fd.
14236         (tests): Add tst-posix_spawn-fd.
14238 2016-02-19  Florian Weimer  <fweimer@redhat.com>
14240         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
14241         (do_test): Limit the number of arenas, so that we can use fewer
14242         outer threads.  Limit timeout to 3 seconds, in preparation for a
14243         larger TIMEOUT value.
14245 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
14247         [BZ #19674]
14248         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
14249         sign in overflowing and underflowing results when overflow or
14250         underflow is detected early.  Include sign in result before rather
14251         than after scaling.
14253         [BZ #19603]
14254         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14255         (__ieee754_remainderl): Adjust sign of integer version of low part
14256         when taking absolute value of high part.
14257         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14258         * math/libm-test.inc (remainder_test_data): Add another test.
14259         (remquo_test_data): Likewise.
14261 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
14263         [BZ #19602]
14264         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
14265         equal high parts and both low parts zero specially.
14266         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
14267         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14268         Add test-fmodl-ldbl-128ibm.
14270         [BZ #19595]
14271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
14272         common logic for all cases of shifting subnormal results.  Do not
14273         insert sign bit in shifted mantissa.  Always pass -1023 as biased
14274         exponent to ldbl_insert_mantissa in subnormal case.
14276         [BZ #19594]
14277         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
14278         on high and low parts then adjust result and use
14279         ldbl_canonicalize_int if needed.
14281         [BZ #19593]
14282         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
14283         on high part and __floor or __ceil on low part then use
14284         ldbl_canonicalize_int if needed.
14286         [BZ #19592]
14287         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
14288         high and low parts then use ldbl_canonicalize_int if needed.
14290         [BZ #17899]
14291         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
14292         New function.
14293         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
14294         on high and low parts then use ldbl_canonicalize_int if needed.
14296 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14298         * configure: Regenerated.
14300         * po/libc.pot: Regenerated.
14302         * po/be.po: Updated translation.
14303         * po/bg.po: Likewise.
14304         * po/ca.po: Likewise.
14305         * po/cs.po: Likewise.
14306         * po/da.po: Likewise.
14307         * po/el.po: Likewise.
14308         * po/eo.po: Likewise.
14309         * po/es.po: Likewise.
14310         * po/fi.po: Likewise.
14311         * po/fr.po: Likewise.
14312         * po/gl.po: Likewise.
14313         * po/hr.po: Likewise.
14314         * po/hu.po: Likewise.
14315         * po/ia.po: Likewise.
14316         * po/id.po: Likewise.
14317         * po/it.po: Likewise.
14318         * po/ja.po: Likewise.
14319         * po/lt.po: Likewise.
14320         * po/nb.po: Likewise.
14321         * po/nl.po: Likewise.
14322         * po/pt_BR.po: Likewise.
14323         * po/rw.po: Likewise.
14324         * po/sk.po: Likewise.
14325         * po/sl.po: Likewise.
14326         * po/sv.po: Likewise.
14327         * po/tr.po: Likewise.
14328         * po/zh_CN.po: Likewise.
14329         * po/zh_TW.po: Likewise.
14331         * version.h (RELEAES): Set to "development".
14332         (VERSION): Set to 2.23.90.
14334         * version.h (RELEASE): Set to "stable".
14335         (VERSION): Set to 2.23.
14336         * include/feature.h (__GLIBC_MINOR__): Set to 23.
14338         * NEWS: Updated fixed bugs.
14340 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
14341             Wilco Dijkstra  <wdijkstr@arm.com>
14343         [BZ #19462]
14344         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14345         (_STRING_INLINE_unaligned): This.
14346         * include/string.h: Include <string_private.h>.
14347         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14348         _STRING_INLINE_unaligned.
14349         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14350         (_STRING_INLINE_unaligned): New.
14351         * sysdeps/aarch64/string_private.h: New file.
14352         * sysdeps/generic/string_private.h: Likewise.
14353         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14354         * sysdeps/s390/string_private.h: Likewise.
14355         * sysdeps/x86/string_private.h: Likewise.
14356         * sysdeps/m68k/m680x0/m68020/bits/string.h
14357         (_STRING_ARCH_unaligned): Renamed to ...
14358         (_STRING_INLINE_unaligned): This.
14359         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14360         to ...
14361         (_STRING_INLINE_unaligned): This.
14362         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14363         to ...
14364         (_STRING_INLINE_unaligned): This.
14365         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14366         to ...
14367         (_STRING_INLINE_unaligned): This.
14369 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
14370             H.J. Lu  <hongjiu.lu@intel.com>
14372         [BZ #19590]
14373         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14374         relocation.
14376 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
14378         [BZ #18665]
14379         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14380         *herrno_p.
14381         (gaih_getanswer): Document functional behviour. Return tryagain
14382         if any result is tryagain.
14383         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14384         when freed.
14385         * resolv/res_send.c: Add copyright text.
14386         (__libc_res_nsend): Document that MAXPACKET is expected.
14387         (send_vc): Document. Remove buffer reuse.
14388         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14389         size of the buffer. Add Dprint for truncated UDP buffer.
14391 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
14393         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14394         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14395         * INSTALL: Regenerate.
14397 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
14398             Jonathan Wakely  <jwakely@redhat.com>
14399             Carlos O'Donell  <carlos@redhat.com>
14401         [BZ 19439]
14402         * math/Makefile (tests): Add test-math-isinff.
14403         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14404         * math/bits/mathcalls.h [__USE_MISC]: Use
14405         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14406         functions not in C++11 and which don't conflict e.g. isinff,
14407         isinfl etc.
14408         * math/test-math-isinff.cc: New file.
14410 2016-02-12  Florian Weimer  <fweimer@redhat.com>
14412         * misc/bug18240.c (do_test): Set RLIMIT_AS.
14414 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14416         [BZ #19529]
14417         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14419 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14421         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14423 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
14425         [BZ #19550]
14426         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14427         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14428         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14429         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14430         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14431         New syscall entry.
14432         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14433         New syscall entry.
14434         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14435         syscall entry.
14437 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
14439         [BZ #18240]
14440         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14441         unsigned int wraparound.
14443 2016-01-27  Florian Weimer  <fweimer@redhat.com>
14445         [BZ #18240]
14446         * misc/bug18240.c: New test.
14447         * misc/Makefile (tests): Add it.
14449 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
14450             Joseph Myers  <joseph@codesourcery.com>
14452         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14453         load in branch delay slot when less than a word of input left.
14455 2016-01-27  Andreas Schwab  <schwab@suse.de>
14457         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14458         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14459         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14460         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14462 2016-01-26  David S. Miller  <davem@davemloft.net>
14464         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14466 2016-01-25  David S. Miller  <davem@davemloft.net>
14468         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14469         __sqrtl_finite.
14470         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14471         instead using versioned_symbol.
14472         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14473         of entries.
14475         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14476         __sqrtl_finite to GLIBC_2.23
14478 2016-01-25  Ricchard Henderson  <rth@redhat.com>
14480         * sysdeps/alpha/fpu/libm-test-ulps: Update.
14482 2016-01-25  Andreas Schwab  <schwab@suse.de>
14484         [BZ #17514]
14485         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14486         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14487         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14488         * nptl/tst-mutex-errorcheck.c: New file.
14490 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14492         [BZ #18560]
14493         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14494         (IPCOP_semop): Likewise.
14495         (IPCOP_semget): Likewise.
14496         (IPCOP_semctl): Likewise.
14497         (IPCOP_msgsnd): Likewise.
14498         (IPCOP_msgrcv): Likewise.
14499         (IPCOP_msgget): Likewise.
14500         (IPCOP_msgctl): Likewise.
14501         (IPCOP_shmat): Likewise.
14502         (IPCOP_shmdt): Likewise.
14503         (IPCOP_shmget): Likewise.
14504         (IPCOP_shmctl): Likewise.
14506 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
14508         * string/tst-endian.c: Include <libc-internal.h>.
14509         (do_test): Ignore tautological-compare warnings around
14510         "htobeXX (beXXtoh (i)) != i" and
14511         "htoleXX (leXXtoh (i)) != i" if-statements.
14513 2016-01-24  David S. Miller  <davem@davemloft.net>
14515         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14516         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14517         alias.
14518         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14519         __sqrtl_finite.
14521         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14523 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
14525         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14526         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14527         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14529 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14531         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14532         (thread_func): Use new function to simplify barrier check.
14533         (do_test): Use new function to simplify checking barrier exit
14534         code, and actually join the child thread.
14536 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14538         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14539         semicolon.
14540         (__libc_tend): Likewise.
14541         (__libc_tabort): Likewise.
14543 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
14545         * sysdeps/nios2/libm-test-ulps: Update.
14546         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14547         (__gtsf2): Likewise.
14548         (__unorddf2): Likewise.
14549         (__unordsf2): Likewise.
14550         (__ledf2): Likewise.
14552 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
14554         * nis/nis_table.c (__follow_path): Disable diagnostic for
14555         uninitialized variable that is a false positive for gcc 4.7.
14556         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14558 2016-01-20  Roland McGrath  <roland@hack.frob.com>
14560         * sysdeps/nacl/lowlevellock-futex.h
14561         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14562         Always evaluate PRIVATE argument.
14564 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
14566         [BZ #19490]
14567         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14568         (pthread_cond_broadcast): Use ENTRY/END
14569         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14570         (pthread_cond_signal): Likewise.
14571         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14572         Likewise.
14573         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14574         Likewise.
14575         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14576         Likewise.
14578 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
14580         * sysdeps/ieee754/dbl-64/s_finite.c
14581         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14582         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14583         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14584         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14585         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14588         (__gtsf2): Add as optional for libc.so.
14589         (__unordsf2): Likewise.
14590         (__signbit): Remove for libc.so.
14591         (__signbitl): Likewise.
14593 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
14595         * iconvdata/bug-iconv11.c (test_ibm93x):
14596         Use %zu printf format specifier for size_t argument.
14598 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
14600         * math/gen-libm-test.pl (parse_ulps): Do not reduce
14601         already-recorded ulps.
14602         * sysdeps/arm/libm-test-ulps: Regenerated.
14603         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14604         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14605         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14607 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
14608             Paul Pluzhnikov  <ppluzhnikov@google.com>
14610         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14611         assembler not supporting AVX-512.
14613 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
14615         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14617 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
14619         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14620         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14622         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14624         * sysdeps/arm/libm-test-ulps: Regenerated.
14626 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
14628         [BZ #19451]
14629         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14631 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
14633         [BZ #19486]
14634         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14635         * sysdeps/generic/fix-fp-int-convert-overflow.h
14636         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14637         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14638         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14639         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14640         Likewise.
14641         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14642         Avoid conversions to long int where inexact exceptions
14643         could be raised.
14644         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14645         Likewise.
14646         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14647         Avoid conversions to long long int where inexact exceptions
14648         could be raised.
14649         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14650         Likewise.
14652 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
14654         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14655         * configure: Regenerated.
14657 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14659         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14661 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
14663         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14664         outside of comment.
14666 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14668         * nptl/tst-barrier1.c: Add description on first line.
14669         * nptl/tst-barrier2.c: Likewise.
14670         * nptl/tst-barrier3.c: Likewise.
14671         * nptl/tst-barrier4.c: Likewise.
14672         * nptl/tst-barrier5.c: Likewise.
14674 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14676         [BZ #18868]
14677         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14679 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
14681         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14683         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14684         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14685         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14686         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14687         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14688         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14689         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14690         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14691         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14693 2016-01-15  Torvald Riegel  <triegel@redhat.com>
14695         [BZ #13065]
14696         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14697         new implementation.
14698         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14699         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14700         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14701         (BARRIER_IN_THRESHOLD): New macro.
14702         * nptl/pthread_barrierattr_setpshared.c
14703         (pthread_barrierattr_setpshared): Clean up.
14704         * nptl/tst-barrier4.c: Correct comment.
14705         * nptl/tst-barrier5.c: New file.
14706         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14707         (gen-as-const-headers): Remove lowlevelbarrier.sym.
14708         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14709         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14710         * nptl/lowlevelbarrier.sym: Remove.
14711         * nptl/DESIGN-barrier.txt: Remove.
14712         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14713         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14714         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14715         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14716         error.
14717         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14718         implementation.
14720 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14722         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14723         (do_child): Mask SIGRTMIN while thr is running.
14725 2016-01-15  Martin Sebor  <msebor@redhat.com>
14727         [BZ #19432]
14728         * iconvdata/Makefile: Add bug-iconv11.
14729         * iconvdata/bug-iconv11.c: New test.
14730         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14731         * iconvdata/ibm933.c: Same.
14732         * iconvdata/ibm935.c: Same.
14733         * iconvdata/ibm937.c: Same.
14734         * iconvdata/ibm939.c: Same.
14736 2016-01-15  Martin Sebor  <msebor@redhat.com>
14738         [BZ #19443]
14739         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14740         [DEBUG] (_ufc_set_bits): Declare used.
14741         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14742         [DEBUG] (print_all): Declare used.
14743         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14744         operands of the ternary ?: expression to target type.
14745         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14746         calling the undeclared abort.
14747         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14749 2016-01-15  Martin Sebor  <msebor@redhat.com>
14751         [BZ #18755]
14752         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14753         warnings.
14754         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14755         (__gai_create_helper_thread): Same.
14756         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14757         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14758         to suppress -Wmaybe-uninitialized warnings.
14760 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
14762         [BZ #19465]
14763         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14764         inside if.
14765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14766         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14767         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14769 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
14771         [BZ #19466]
14772         * time/tst-mktime2.c (time_t_max): Removed.
14773         (time_t_min): Likewise.
14774         (TYPE_SIGNED): New.
14775         (TYPE_MINIMUM): Likewise.
14776         (TYPE_MAXIMUM): Likewise.
14777         (TIME_T_MIN): Likewise.
14778         (TIME_T_MAX): Likewise.
14779         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14780         and TIME_T_MIN.
14781         (do_test): Likewise.
14783 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
14785         [BZ #19467]
14786         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14787         index_Fast_Unaligned_Load flag for Excavator family CPUs.
14789 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
14791         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14793 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
14795         * benchtests/Makefile (PYTHON): Define.
14796         (bench-func): Use $(PYTHON) to run python scripts.
14797         ($(objpfx)bench-%.c): Likewise.
14799 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
14801         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14802         leading slash when `file_name' is "/".
14804 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
14806         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14807         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14808         Likewise.
14809         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14810         Likewise.
14811         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14812         Likewise.
14813         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14814         enum constant and macro.
14815         (PTRACE_SETSIGMASK): Likewise.
14816         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14817         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14818         (PTRACE_GETSIGMASK): Likewise.
14819         (PTRACE_SETSIGMASK): Likewise.
14820         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14821         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14822         Likewise.
14823         (PTRACE_SETSIGMASK): Likewise.
14824         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14825         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14826         (PTRACE_GETSIGMASK): Likewise.
14827         (PTRACE_SETSIGMASK): Likewise.
14828         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14830         Likewise.
14831         (PTRACE_SETSIGMASK): Likewise.
14832         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14833         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14834         Likewise.
14835         (PTRACE_SETSIGMASK): Likewise.
14836         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14837         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14838         Likewise.
14839         (PTRACE_SETSIGMASK): Likewise.
14840         (PTRACE_SECCOMP_GET_FILTER): Likewise.
14842 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
14843             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14845         [BZ #19439]
14846         * math/bits/mathcalls.h
14847         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14848         prototype.
14849         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14851 2016-01-11  Andreas Schwab  <schwab@suse.de>
14853         [BZ #19253]
14854         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14855         cache when TZDEFRULES was used.
14856         * time/tst-tzname.c: New file.
14857         * time/Makefile (test): Add tst-tzname.
14858         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14859         * timezone/Makefile (test-zones): Add $(posixrules-file).
14860         ($(testdata)/$(posixrules-file)): New rule.
14862 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
14864         Fix doc quoting problems with Texinfo 5
14865         Without this change, in the info file output, Texinfo 5 quotes code
14866         in text with undirected single quotes 'like this' and generates
14867         code examples that with many PDF readers cannot be cut out of PDFs
14868         and pasted into code.
14869         * manual/libc.texinfo: Configure the libc manual like the GNU
14870         Emacs manual, by using @documentencoding and setting
14871         txicodequoteundirected and txicodequotebacktick.  This way,
14872         Texinfo 5 quotes code in text with directed single quotes ‘like
14873         this’ and produces examples that can be cut out of PDFs.  This
14874         change causes Texinfo 5 to generate info files that contain UTF-8
14875         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14876         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14878 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14880         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14881         __libc_tabort, __libc_tend): New wrappers that enforce compiler
14882         barriers to their respective compiler built-ins.
14883         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14884         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14885         * sysdeps/powerpc/sysdep.h: Likewise.
14886         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14887         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14888         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14890 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
14892         * scripts/config.guess: Revert previous shebang change.
14893         * scripts/config.sub: Likewise.
14894         * scripts/mkinstalldirs: Likewise.
14896 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14898         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14899         PPC_FEATURE2_HAS_IEEE128.
14900         * sysdeps/powerpc/dl-procinfo.c:
14901         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14903 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
14905         [BZ #19415]
14906         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14907         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
14908         (_dl_lookup_address): Rewrite using function resolver trampoline.
14909         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14910         two bits in address.
14912 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14914         * longlong.h: Change !__SHMEDIA__ to
14915         (!defined (__SHMEDIA__) || !__SHMEDIA__).
14916         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14918 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
14919             Joseph Myers  <joseph@codesourcery.com>
14920             Mark Shinwell  <shinwell@codesourcery.com>
14921             Andrew Stubbs  <ams@codesourcery.com>
14922             Rich Felker <dalias@libc.org>
14924         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14926 2016-01-07  Richard Henderson  <rth@redhat.com>
14928         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14930 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
14932         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14933         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14934         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14935         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14936         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14938 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
14939             Joseph Myers  <joseph@codesourcery.com>
14941         * timezone/private.h: Update from tzcode 2015g.
14942         * timezone/tzfile.h: Likewise.
14943         * timezone/tzselect.ksh: Likewise.
14944         * timezone/zdump.c: Likewise.
14945         * timezone/zic.c: Likewise.
14946         * timezone/ialloc.c: Remove file.
14947         * timezone/scheck.c: Likewise.
14948         * timezone/Makefile (extra-objs): Remove variable.
14949         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14950         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14951         -Wno-maybe-uninitialized.
14952         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14953         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14954         (CFLAGS-ialloc.c): Remove variable.
14955         (CFLAGS-scheck.c): Likewise.
14956         * timezone/README: Update list of files from tzcode.
14958 2016-01-07  Khem Raj  <raj.khem@gmail.com>
14960         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14961         instead of __fxprintf when _LIBC is undefined.
14963 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
14965         * catgets/test-gencat.sh: Remove space after shebang.
14966         * conform/GlibcConform.pm: Likewise.
14967         * conform/check-header-lists.sh: Likewise.
14968         * conform/conformtest.pl: Likewise.
14969         * conform/linknamespace.pl: Likewise.
14970         * conform/list-header-symbols.pl: Likewise.
14971         * debug/catchsegv.sh: Likewise.
14972         * elf/genrtldtbl.awk: Likewise.
14973         * elf/tst-pathopt.sh: Likewise.
14974         * elf/tst-rtld-load-self.sh: Likewise.
14975         * grp/tst_fgetgrent.sh: Likewise.
14976         * iconvdata/gen-8bit-gap-1.sh: Likewise.
14977         * iconvdata/gen-8bit-gap.sh: Likewise.
14978         * iconvdata/gen-8bit.sh: Likewise.
14979         * iconvdata/run-iconv-test.sh: Likewise.
14980         * intl/tst-gettext.sh: Likewise.
14981         * intl/tst-gettext2.sh: Likewise.
14982         * intl/tst-gettext4.sh: Likewise.
14983         * intl/tst-gettext6.sh: Likewise.
14984         * intl/tst-translit.sh: Likewise.
14985         * io/ftwtest-sh: Likewise.
14986         * libio/test-freopen.sh: Likewise.
14987         * locale/gen-translit.pl: Likewise.
14988         * malloc/tst-mtrace.sh: Likewise.
14989         * manual/check-safety.sh: Likewise.
14990         * manual/libc-texinfo.sh: Likewise.
14991         * manual/tsort.awk: Likewise.
14992         * manual/xtract-typefun.awk: Likewise.
14993         * nptl/tst-cancel-wrappers.sh: Likewise.
14994         * nptl/tst-tls6.sh: Likewise.
14995         * posix/globtest.sh: Likewise.
14996         * posix/tst-getconf.sh: Likewise.
14997         * posix/wordexp-tst.sh: Likewise.
14998         * scripts/check-c++-types.sh: Likewise.
14999         * scripts/check-local-headers.sh: Likewise.
15000         * scripts/config.guess: Likewise.
15001         * scripts/config.sub: Likewise.
15002         * scripts/cpp: Likewise.
15003         * scripts/cross-test-ssh.sh: Likewise.
15004         * scripts/documented.sh: Likewise.
15005         * scripts/evaluate-test.sh: Likewise.
15006         * scripts/gen-libc-abis: Likewise.
15007         * scripts/gen-sorted.awk: Likewise.
15008         * scripts/list-fixed-bugs.py: Likewise.
15009         * scripts/merge-test-results.sh: Likewise.
15010         * scripts/mkinstalldirs: Likewise.
15011         * scripts/rellns-sh: Likewise.
15012         * scripts/test-installation.pl: Likewise.
15013         * scripts/update-copyrights: Likewise.
15014         * stdio-common/tst-printf.sh: Likewise.
15015         * stdio-common/tst-unbputc.sh: Likewise.
15016         * stdlib/tst-fmtmsg.sh: Likewise.
15017         * stdlib/tst-setcontext3.sh: Likewise.
15018         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
15019         * sysdeps/unix/make-syscalls.sh: Likewise.
15021 2016-01-06  John David Anglin  <dave.anglin@bell.net>
15023         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
15024         asm stw with atomic_exchange_rel.  Add explanatory comment.
15025         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
15026         Likewise.
15028 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15030         [BZ #19122]
15031         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
15032         * sysdeps/generic/dl-unistd.h: New file.
15033         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
15035 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
15037          [BZ #19122]
15038          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
15039          * sysdeps/generic/dl-mman.h: New file.
15040          * sysdeps/mach/hurd/dl-mman.h: Likewise.
15042 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
15044         * manual/texinfo.tex: Update to version 2016-01-04.21 with
15045         trailing whitespace removed.
15046         * scripts/config.guess: Update to version 2016-01-01.
15047         * scripts/config.sub: Update to version 2016-01-01.
15048         * scripts/move-if-change: Update from gnulib.
15050 2016-01-04  Anton Blanchard  <anton@samba.org>
15052         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
15053         for array indices.
15054         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
15056 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
15058         * NEWS: Update copyright dates.
15059         * catgets/gencat.c (print_version): Likewise.
15060         * csu/version.c (banner): Likewise.
15061         * debug/catchsegv.sh: Likewise.
15062         * debug/pcprofiledump.c (print_version): Likewise.
15063         * debug/xtrace.sh (do_version): Likewise.
15064         * elf/ldconfig.c (print_version): Likewise.
15065         * elf/ldd.bash.in: Likewise.
15066         * elf/pldd.c (print_version): Likewise.
15067         * elf/sotruss.sh: Likewise.
15068         * elf/sprof.c (print_version): Likewise.
15069         * iconv/iconv_prog.c (print_version): Likewise.
15070         * iconv/iconvconfig.c (print_version): Likewise.
15071         * locale/programs/locale.c (print_version): Likewise.
15072         * locale/programs/localedef.c (print_version): Likewise.
15073         * login/programs/pt_chown.c (print_version): Likewise.
15074         * malloc/memusage.sh (do_version): Likewise.
15075         * malloc/memusagestat.c (print_version): Likewise.
15076         * malloc/mtrace.pl: Likewise.
15077         * manual/libc.texinfo: Likewise.
15078         * nptl/version.c (banner): Likewise.
15079         * nscd/nscd.c (print_version): Likewise.
15080         * nss/getent.c (print_version): Likewise.
15081         * nss/makedb.c (print_version): Likewise.
15082         * posix/getconf.c (main): Likewise.
15083         * scripts/test-installation.pl: Likewise.
15084         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15086         * All files with FSF copyright notices: Update copyright dates
15087         using scripts/update-copyrights.
15088         * intl/plural.c: Regenerated.
15089         * locale/programs/charmap-kw.h: Likewise.
15090         * locale/programs/locfile-kw.h: Likewise.
15092 2016-01-02  Helge Deller  <deller@gmx.de>
15094         [BZ #19285]
15095         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15096         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15097         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15098         (MADV_xxK_PAGES): Remove.
15100 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
15102         [BZ #15421]
15103         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15104         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
15105         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15106         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15108 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
15110         [BZ #19408]
15111         * sysdeps/unix/sysv/linux/personality.c: New file.
15112         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15113         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15114         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15115         (sysdep_routines): Add personality.
15116         (tests): Add tst-personality.
15117         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15119         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15120         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15121         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15122         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15123         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15124         Likewise.
15125         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15126         Likewise.
15127         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15128         Likewise.
15129         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15130         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15131         Likewise.
15133 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
15135         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15136         (PATH_ARM_SYSTYPE): Remove.
15137         (PATH_CPUINFO): Likewise.
15138         (IO_BASE_FOOTBRIDGE): Likewise.
15139         (IO_SHIFT_FOOTBRIDGE): Likewise.
15140         (struct platform): Likewise.
15141         (init_iosys): Remove compatibility code for 2.4 kernels.
15142         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
15144 2015-12-29  Florian Weimer  <fweimer@redhat.com>
15146         * malloc/tst-malloc-thread-fail.c: New file.
15147         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
15148         (tst-malloc-thread-fail): Link against libpthread.
15150 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
15152         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
15153         (get_parser): New function.
15154         (main): New function.
15156 2015-12-29  Rob Wu  <rob@robwu.nl>
15158         [BZ #19369]
15159         * resolv/res_init.c (__res_vinit): Reset defdname before use.
15161 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
15163         [BZ #19270]
15164         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15166 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
15168         [BZ #15421]
15169         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
15171 2015-12-23  Torvald Riegel  <triegel@redhat.com>
15173         [BZ #13690]
15174         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
15175         after releasing it.
15176         (__lll_robust_unlock): Likewise.
15177         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15178         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
15179         (lll_robust_unlock): Likewise.
15180         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
15181         Prevent warnings in callers.
15183 2015-12-23  Florian Weimer  <fweimer@redhat.com>
15185         * malloc/arena.c (list_lock): Update comment.
15187 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15189         * sysdeps/powerpc/hwcapinfo.c: Export symbol
15190         __parse_hwcap_and_convert_at_platform to libc.a.
15192 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15194         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
15195         platform and feature support for POWER9.
15196         * sysdeps/powerpc/dl-procinfo.h: Likewise.
15197         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
15198         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
15199         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
15200         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
15201         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15202         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15203         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15205 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15207         Harmonize generic stdio-lock support with nptl
15209         This fixes build when _IO_funlockfile is a macro, fixes build where
15210         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
15211         stack unwind.
15213         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
15214         _IO_release_lock ): Use cleanup attribute on new
15215         _IO_acquire_lock_file variable instead of assuming that
15216         _IO_release_lock will be called.
15217         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
15218         _IO_acquire_lock_needs_exceptions_enabled.
15219         (_IO_acquire_lock_clear_flags2): New macro.
15221 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15223         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15225 2015-12-21  Florian Weimer  <fweimer@redhat.com>
15227         [BZ #19182]
15228         * malloc/arena.c (list_lock): Document lock ordering requirements.
15229         (free_list_lock): New lock.
15230         (ptmalloc_lock_all): Comment on free_list_lock.
15231         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
15232         (detach_arena): Update comment.  free_list_lock is now needed.
15233         (_int_new_arena): Use free_list_lock around detach_arena call.
15234         Acquire arena lock after list_lock.  Add comment, including FIXME
15235         about incorrect synchronization.
15236         (get_free_list): Switch to free_list_lock.
15237         (reused_arena): Acquire free_list_lock around detach_arena call
15238         and attached threads counter update.  Add two FIXMEs about
15239         incorrect synchronization.
15240         (arena_thread_freeres): Switch to free_list_lock.
15241         * malloc/malloc.c (struct malloc_state): Update comments to
15242         mention free_list_lock.
15244 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
15246         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
15247         Remove functions.
15248         (sloww, sloww1): Accept argument to offset quadrant.
15249         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
15250         quadrant.
15251         (__sin, __cos): Consolidate common code into new functions.
15252         (reduce_sincos_1, do_sincos_1): New functions.
15253         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15255         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
15256         code to new functions.
15257         (reduce_sincos_2, do_sincos_2): New functions.
15258         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15260         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
15261         common code for sincos.
15262         (__cos) [!IN_SINCOS]: Likewise.
15263         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
15264         New function.
15265         (__sincos): Use it.
15267 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
15269         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
15270         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
15271         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15273 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15275         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
15276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
15277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15278         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
15279         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15280         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
15281         index_Prefer_No_VZEROUPPER): New feature.
15282         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
15283         Prefer_No_VZEROUPPER for Knights Landing.
15285 015-12-18  Torvald Riegel  <triegel@redhat.com>
15287         * math/atest-exp2.c (mp_exp_m1): Remove.
15289 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15291         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
15292         syscalls.
15293         (__SYSCALL0): New macro.
15294         (__SYSCALL1): Likewise.
15295         (__SYSCALL2): Likewise.
15296         (__SYSCALL3): Likewise.
15297         (__SYSCALL4): Likewise.
15298         (__SYSCALL5): Likewise.
15299         (__SYSCALL6): Likewise.
15300         (__SYSCALL_CONCAT_X): Likewise.
15301         (__SYSCALL_CONCAT): Likewise.
15302         (__SYSCALL_DIST): Likewise.
15303         (__SYSCALL_CALL): Likewise.
15305 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
15307         [BZ #19363]
15308         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15310 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15312         [BZ #19375]
15313         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15314         negative subnormals.
15316 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
15318         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15319         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15320         (INTERNAL_SYSCALL_NCS): Use it.
15321         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15323 2015-12-16  Florian Weimer  <fweimer@redhat.com>
15325         [BZ #19243]
15326         * malloc/arena.c (get_free_list): Remove assert and adjust
15327         reference count handling.  Add comment about reused_arena
15328         interaction.
15329         (reused_arena): Add comments abount get_free_list interaction.
15330         * malloc/tst-malloc-thread-exit.c: New file.
15331         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15332         (tst-malloc-thread-exit): Link against libpthread.
15334 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15336         [BZ #19367]
15337         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15338         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15339         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15340         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15341         (index_Prefer_MAP_32BIT_EXEC): Likewise.
15343 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
15345         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15346         Silvermont optimizations for Knights Landing.
15348 2015-12-15  Andreas Schwab  <schwab@suse.de>
15350         [BZ #17197]
15351         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15352         immediately after emitting SI.
15353         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15354         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15355         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15356         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15357         * iconvdata/bug-iconv10.c: New file.
15358         * iconvdata/Makefile (tests): Add bug-iconv10.
15359         ($(objpfx)bug-iconv10.out): New rule.
15361 2015-12-15  Florian Weimer  <fweimer@redhat.com>
15363         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15364         aliasing violation.
15366 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
15368         [BZ #18472]
15369         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15370         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15371         conditionals for them.
15372         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15373         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15374         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15375         sys/kdaemon.h.
15376         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15377         compat-only syscall, obsoleted in glibc 2.23.
15378         (create_module): Likewise.
15379         (get_kernel_syms): Likewise.
15380         (query_module): Likewise.
15381         (uselib): Likewise.
15382         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15384 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
15386         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15387         <linux/version.h>.
15388         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15389         conditional code.
15390         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15391         and ioshift_name initialization.
15393 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15395         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15396         Fix indentation.
15398 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15400         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15402 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
15404         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15406 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
15407             Jakub Wilk  <jwilk@debian.org>
15409         [BZ #19347]
15410         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15411         to change the group of the device to the tty group.
15413 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
15415         Split large string section; add truncation advice
15416         * manual/examples/strncat.c: Remove.
15417         This example was misleading, as the code would have undefined
15418         behavior if "hello" was longer than SIZE.  Anyway, the manual
15419         shouldn't encourage strncpy+strncat for this sort of thing.
15420         * manual/string.texi (Copying Strings and Arrays): Split into
15421         three sections Copying Strings and Arrays, Concatenating Strings,
15422         and Truncating Strings, as this section was way too long.  All
15423         cross-referenced changed.  Add advice about string-truncation
15424         functions.  Remove misleading strncat example.
15426 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
15428         * manual/nss.texi (NSS Modules Interface): Document
15429         NSS_STATUS_NOTFOUND and SUCCESS.
15431 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15433         [BZ 18568]
15434         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15435         201505L, for Unicode 8.
15437 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
15439         * locale/C-translit.h: Regenerate.
15441 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
15443         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15444         and U+0153.
15446 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #19351]
15449         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15450         expanding log(1+z), compare z rather than its square with epsilon
15451         to determine when to avoid evaluating the expansion.
15453         [BZ #19350]
15454         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15455         Increase overflow threshold.
15457         [BZ #19349]
15458         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15459         when small.
15461         * sysdeps/unix/sysv/linux/i386/kernel-features.h
15462         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15463         New macro.
15464         [__LINUX_KERNEL_VERSION >= 0x040300]
15465         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15466         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15467         Likewise.
15468         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15469         Likewise.
15470         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15471         Likewise.
15472         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15473         Likewise.
15474         [__LINUX_KERNEL_VERSION >= 0x040300]
15475         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15476         [__LINUX_KERNEL_VERSION >= 0x040300]
15477         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15478         [__LINUX_KERNEL_VERSION >= 0x040300]
15479         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15480         [__LINUX_KERNEL_VERSION >= 0x040300]
15481         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15482         [__LINUX_KERNEL_VERSION >= 0x040300]
15483         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15484         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15485         Likewise.
15486         [__LINUX_KERNEL_VERSION >= 0x040300]
15487         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15488         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15489         Likewise.
15490         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15491         Likewise.
15492         [__LINUX_KERNEL_VERSION >= 0x040300]
15493         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15494         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15495         Likewise.
15496         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15497         Likewise.
15498         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15499         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15500         Likewise.
15501         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15502         Likewise.
15503         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15504         Likewise.
15505         [__LINUX_KERNEL_VERSION >= 0x040300]
15506         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15507         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15508         Likewise.
15509         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15510         Likewise.
15511         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15512         Likewise.
15513         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15514         Likewise.
15515         [__LINUX_KERNEL_VERSION >= 0x040300]
15516         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15517         [__LINUX_KERNEL_VERSION >= 0x040300]
15518         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15519         [__LINUX_KERNEL_VERSION >= 0x040300]
15520         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15521         [__LINUX_KERNEL_VERSION >= 0x040300]
15522         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15523         [__LINUX_KERNEL_VERSION >= 0x040300]
15524         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15525         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15526         Likewise.
15527         [__LINUX_KERNEL_VERSION >= 0x040300]
15528         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15529         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15530         Likewise.
15531         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15532         Likewise.
15533         [__LINUX_KERNEL_VERSION >= 0x040300]
15534         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15535         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15536         Likewise.
15537         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15538         Likewise.
15539         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15540         (__ASSUME_SOCKET_SYSCALL): Likewise.
15541         (__ASSUME_BIND_SYSCALL): Likewise.
15542         (__ASSUME_CONNECT_SYSCALL): Likewise.
15543         (__ASSUME_LISTEN_SYSCALL): Likewise.
15544         (__ASSUME_ACCEPT_SYSCALL): Likewise.
15545         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15546         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15547         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15548         (__ASSUME_SEND_SYSCALL): Likewise.
15549         (__ASSUME_SENDTO_SYSCALL): Likewise.
15550         (__ASSUME_RECV_SYSCALL): Likewise.
15551         (__ASSUME_RECVFROM_SYSCALL): Likewise.
15552         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15553         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15554         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15555         (__ASSUME_SENDMSG_SYSCALL): Likewise.
15556         (__ASSUME_RECVMSG_SYSCALL): Likewise.
15557         * sysdeps/unix/sysv/linux/sh/kernel-features.h
15558         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15559         Likewise.
15560         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15561         Likewise.
15562         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15563         Likewise.
15564         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15565         Likewise.
15566         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15567         Likewise.
15568         [__LINUX_KERNEL_VERSION >= 0x020625]
15569         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15570         [__LINUX_KERNEL_VERSION >= 0x020625]
15571         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15572         [__LINUX_KERNEL_VERSION >= 0x020625]
15573         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15574         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15575         Likewise.
15576         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15577         Likewise.
15578         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15579         Likewise.
15580         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15581         Likewise.
15582         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15583         Likewise.
15584         [__LINUX_KERNEL_VERSION >= 0x020625]
15585         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15586         [__LINUX_KERNEL_VERSION >= 0x020625]
15587         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15588         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15589         Likewise.
15590         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15591         Likewise.
15593 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15595         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15596         record the current if the current ABI and CPU support the FP64
15597         extension.
15598         (has-modd-spreg): Define to record the current if the current ABI and
15599         CPU support 32-bit floating point values in odd FPU registers.
15600         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15601         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15602         $(has-modd-spreg) equals yes.
15603         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15604         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15605         $(has-modd-spreg) equal yes.
15607 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
15609         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15610         basename.
15612 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
15614         * benchtests/Makefile (bench-math): Move ffs and ffsll...
15615         (bench-string): ... here.
15616         (bench): Add bench-string.
15617         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15618         to *-benchset to reflect what they are.
15619         (benchset): Adjust.
15621         * benchtests/sincos-inputs: Add inputs from sin-inputs and
15622         cos-inputs.
15624 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
15626         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15627         __attribute__ ((__simd__)) for vector math function declarations.
15629 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15631         Fix typo in strncat, wcsncat manual entries
15632         * manual/string.texi (Copying and Concatenation): Fix typos in
15633         sample implementations of strncat and wcsncat, by having them use
15634         the old value of the destination length, not the new one.
15636 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
15638         [BZ #16961]
15639         [BZ #16962]
15640         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15641         string on the stack for strtod.
15642         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15643         a string on the stack for strtof.
15644         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15645         constructing a string on the stack for strtold.
15646         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15647         __strtold_nan to GLIBC_PRIVATE.
15648         * math/test-nan-overflow.c: New file.
15649         * math/test-nan-payload.c: Likewise.
15650         * math/Makefile (tests): Add test-nan-overflow and
15651         test-nan-payload.
15653 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
15655         Consistency about byte vs character in string.texi
15656         * manual/string.texi (String and Array Utilities):
15657         Distinguish more carefully among bytes, multibyte characters,
15658         and wide characters.  Use "byte" when talking about C 'char',
15659         to distinguish it more clearly from multibyte characters.
15660         Say "wide character" or "multibyte character" instead of
15661         "character", when a wide or multibyte character is intended.
15662         Similarly for "multibyte string" versus "string".
15663         Define these terms more carefully.
15665 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
15667         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15668         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15669         Likewise.
15670         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15671         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15672         * sysdeps/sh/math_private.h: New file.
15673         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15674         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15675         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15676         long double function name.
15677         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15678         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15679         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15681         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15683         Remove __finitel, __isinfl, and __isnanl.
15684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15685         Likewise.
15686         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15687         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15688         Remove __finitel.
15689         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15690         Likewise.
15691         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15693 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
15695         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15696         installed libmvec_nonshared.a.
15698 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15700         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15701         (sysdep_routines): Likewise.
15702         (sysdep-rtld-routines): Likewise.
15703         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15704         [$(subdir) = nptl](tests-static): test-get_hwcap-static
15705         * sysdeps/powerpc/Versions: Added new
15706         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15707         * sysdeps/powerpc/hwcapinfo.c: New file.
15708         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15709         and parse hwcap, hwcap2 and platform number information.
15710         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
15711         to store HWCAP+HWCAP2 and platform number.
15712         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15713         for HWCAP+HWCAP2 and platform number in the TCB.
15714         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
15715         the HWCAP, HWCAP2 and platform number in the TCB.
15716         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15717         (TLS_INIT_TP): Included calls to add the hwcap and
15718         at_platform values in the TCB in TP initialization.
15719         (TLS_DEFINE_INIT_TP): Likewise.
15720         (THREAD_GET_HWCAP): New macro.
15721         (THREAD_SET_HWCAP): Likewise.
15722         (THREAD_GET_AT_PLATFORM): Likewise.
15723         (THREAD_SET_AT_PLATFORM): Likewise.
15724         * sysdeps/powerpc/powerpc32/dl-machine.h:
15725         (dl_platform_init): New function that calls
15726         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15727         powerpc32.
15728         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15729         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
15730         this functionality, static linking case.
15731         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
15732         linking case.
15733         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15734         __parse_hwcap_and_convert_at_platform for the static linking case.
15735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15736         Included the new __parse_hwcap_and_convert_at_platform symbol in the
15737         ABI list for GLIBC 2.23.
15738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15739         Likewise.
15740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15741         Likewise.
15743 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
15745         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15746         * configure: Regenerate.
15747         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15748         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
15750 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
15752         * iconvdata/ibm930.c: Add comment explaining encoding uses.
15753         * iconvdata/ibm933.c: Likewise.
15754         * iconvdata/ibm935.c: Likewise.
15755         * iconvdata/ibm937.c: Likewise.
15756         * iconvdata/ibm939.c: Likewise.
15758 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15760         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15761         pthread_join.
15762         * nptl/tst-cancel21.c (tf): Likewise.
15764 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
15766         [BZ #19313]
15767         * bits/typesizes.h (__CPU_MASK_TYPE): New.
15768         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15769         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15770         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15771         Likewise.
15772         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15773         Likewise.
15774         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15775         Likewise.
15776         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15777         Likewise.
15778         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15779         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15780         unsigned long int with __CPU_MASK_TYPE.
15782 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15784         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15786 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
15788         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15789         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15790         t512.x.
15791         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15793 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
15795         [BZ #19214]
15796         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15797         argument to return extended model.  Update family and model
15798         with extended family and model when family == 0x0f.
15799         (init_cpu_features): Updated.
15801 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15803         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15804         signed off_t, so 32bit bigger than 2GiB values are fine actually.
15806         * sysdeps/mach/hurd/mmap64.c: New file.
15808 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
15810         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15811         rights for its main user thread in NEWTASK.
15813 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
15815         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15816         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15818 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
15820         [BZ #14259]
15821         * Makeconfig: Rename localedir to complocaledir.
15822         Rename inst_localedir to inst_complocaledir.
15823         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15824         * config.make.in: Use complocaledir and libc_cv_complocaledir.
15825         * configure.ac: Use libc_cv_complocaledir.
15826         * configure: Regenerate.
15827         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15828         -DCOMPLOCALEDIR.
15829         * locale/findlocale.c: Use COMPLOCALEDIR.
15830         * locale/loadarchive.c: Likewise.
15831         * locale/programs/locale.c: Likewise.
15832         * locale/programs/localedef.c: Likewise.
15833         * locale/programs/locarchive.c: Likewise.
15834         * localedata/Makefile: Use inst_complocaledir.
15835         * sysdeps/gnu/configure: Regenerate.
15836         * sysdeps/hppa/configure: Regenerate.
15837         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15838         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15840         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15841         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15842         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15843         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15845 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
15847         [BZ #19058]
15848         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15849         AS_NEEDED.
15850         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15851         workaround.
15852         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15853         libmvec-static-only-routines): Added new file.
15854         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15856 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15858         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15859         of interrupted RPC instead of restoring it.
15861         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15862         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15863         libc_hidden_def.
15864         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15865         into initialized data instead of common. Define rtld_hidden_data_def.
15866         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15867         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15868         libc_hidden_def.
15869         (if_freenameindex): Add libc_hidden_weak.
15870         (if_nameindex): Add libc_hidden_weak.
15871         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15872         __open64.
15873         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15874         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15875         * sysdeps/mach/nanosleep.c: Include <time.h>
15876         (__nanosleep): Rename to __libc_nanosleep.
15877         (__nanosleep): Add weak_alias.
15878         (nanosleep): Update alias.
15880 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
15882         * stdlib/strtod_nan.c: New file.
15883         * stdlib/strtod_nan_double.h: Likewise.
15884         * stdlib/strtod_nan_float.h: Likewise.
15885         * stdlib/strtod_nan_main.c: Likewise.
15886         * stdlib/strtod_nan_narrow.h: Likewise.
15887         * stdlib/strtod_nan_wide.h: Likewise.
15888         * stdlib/strtof_nan.c: Likewise.
15889         * stdlib/strtold_nan.c: Likewise.
15890         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15891         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15892         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15893         * wcsmbs/wcstod_nan.c: Likewise.
15894         * wcsmbs/wcstof_nan.c: Likewise.
15895         * wcsmbs/wcstold_nan.c: Likewise.
15896         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15897         strtold_nan.
15898         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15899         wcstof_nan.
15900         * include/stdlib.h (__strtof_nan): Declare and use
15901         libc_hidden_proto.
15902         (__strtod_nan): Likewise.
15903         (__strtold_nan): Likewise.
15904         (__wcstof_nan): Likewise.
15905         (__wcstod_nan): Likewise.
15906         (__wcstold_nan): Likewise.
15907         * include/wchar.h (____wcstoull_l_internal): Declare.
15908         * stdlib/strtod_l.c: Do not include <ieee754.h>.
15909         (____strtoull_l_internal): Remove declaration.
15910         (STRTOF_NAN): Define macro.
15911         (SET_MANTISSA): Remove macro.
15912         (STRTOULL): Likewise.
15913         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15914         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15915         (STRTOF_NAN): Define macro.
15916         (SET_MANTISSA): Remove macro.
15917         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15918         (SET_MANTISSA): Remove macro.
15919         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15920         macro.
15921         (SET_MANTISSA): Remove macro.
15922         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15923         macro.
15924         (SET_MANTISSA): Remove macro.
15925         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15926         (SET_MANTISSA): Remove macro.
15927         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15928         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15929         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15931         [BZ #19266]
15932         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15933         upper case and lower case letters inside NAN(), not using TOLOWER.
15934         * stdlib/tst-strtod-nan-locale-main.c: New file.
15935         * stdlib/tst-strtod-nan-locale.c: Likewise.
15936         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15937         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15938         Depend on $(gen-locales).
15939         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15940         * wcsmbs/tst-wcstod-nan-locale.c: New file.
15941         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15942         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15943         Depend on $(gen-locales).
15944         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15946 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
15948         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15950         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15952         __finitel, __isinfl, and __isnanl.
15953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15954         Likewise.
15955         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15956         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15957         __finitel.
15958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15959         Likewise.
15960         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15962 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15964         * malloc/memusage.c (me): Remove redundant getenv call.
15966 2015-10-24  Florian Weimer  <fweimer@redhat.com>
15968         [BZ #19143]
15969         [BZ #19164]
15970         * nptl/check-cpuset.h: Remove.
15971         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15972         Remove CPU set size check.
15973         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15974         Likewise.
15975         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15976         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15977         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15978         (__pthread_setaffinity_new): Remove CPU set size check.
15979         * sysdeps/unix/sysv/linux/sched_setaffinity.c
15980         (__kernel_cpumask_size): Remove.
15981         (__sched_setaffinity_new): Remove CPU set size check.
15982         * manual/threads.texi (Default Thread Attributes): Remove stale
15983         reference to check_cpuset_attr, determine_cpumask_size in comment.
15984         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15985         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
15986         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15987         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15988         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15989         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15990         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15991         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15992         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15993         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15994         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15995         skeleton test file.
15996         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
15997         tst-affinity-pid.
15999 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16001         * scripts/update-abilist.sh: New file.
16002         * Makefile (+subdir_targets): Add subdir_update-all-abi.
16003         * Makerules (update-all-abi-%, update-all-abi)
16004         (subdir_update-all-abi): New targets.
16005         * elf/Makefile (update-all-abi): New target.
16007 2015-11-24  Florian Weimer  <fweimer@redhat.com>
16009         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
16010         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
16011         (__libc_lock_define_initialized): Use it.
16012         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
16013         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
16014         * malloc/malloc.c (main_arena): Likewise.
16015         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16016         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
16018 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
16020         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
16021         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
16022         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16023         (PTRACE_O_MASK): Update value.
16024         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
16025         New value in enum __ptrace_setoptions.
16026         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16027         (PTRACE_O_MASK): Update value.
16028         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
16029         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16030         (PTRACE_O_MASK): Update value.
16031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
16032         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16033         (PTRACE_O_MASK): Update value.
16034         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
16035         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
16036         (PTRACE_O_MASK): Update value.
16037         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
16038         New value in enum __ptrace_setoptions.
16039         (PTRACE_O_MASK): Update value.
16040         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
16041         New value in enum __ptrace_setoptions.
16042         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
16043         (PTRACE_O_MASK): Update value.
16045         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
16046         New macro.
16047         (PACKET_AUXDATA): Likewise.
16048         (PACKET_ORIGDEV): Likewise.
16049         (PACKET_VERSION): Likewise.
16050         (PACKET_HDRLEN): Likewise.
16051         (PACKET_RESERVE): Likewise.
16052         (PACKET_TX_RING): Likewise.
16053         (PACKET_LOSS): Likewise.
16054         (PACKET_VNET_HDR): Likewise.
16055         (PACKET_TX_TIMESTAMP): Likewise.
16056         (PACKET_TIMESTAMP): Likewise.
16057         (PACKET_FANOUT): Likewise.
16058         (PACKET_TX_HAS_OFF): Likewise.
16059         (PACKET_QDISC_BYPASS): Likewise.
16060         (PACKET_ROLLOVER_STATS): Likewise.
16061         (PACKET_FANOUT_DATA): Likewise.
16062         (PACKET_MR_UNICAST): Likewise.
16064         [BZ #19242]
16065         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
16066         (TOUPPER): Likewise.
16067         * stdlib/tst-strtol-locale-main.c: New file.
16068         * stdlib/tst-strtol-locale.c: Likewise.
16069         * stdlib/Makefile (tests): Add tst-strtol-locale.
16070         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
16071         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
16072         Depend on $(gen-locales).
16073         * wcsmbs/tst-wcstol-locale.c: New file.
16074         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
16075         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
16076         tr_TR.ISO-8859-9.
16077         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16078         Depend on $(gen-locales).
16080 2015-11-20  Roland McGrath  <roland@hack.frob.com>
16082         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16083         __glibc_likely instead of __builtin_expect.  After falling back to
16084         dyncode_create in a non-ET_DYN case, use the allocate_code_data
16085         system interface to register the code pages as occupied.
16087 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
16089         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16090         [!ARM_MATH_PRIVATE_H].
16091         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16092         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16093         [!HPPA_MATH_PRIVATE_H].
16094         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16095         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16096         to [!I386_MATH_PRIVATE_H].
16097         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16098         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16099         Change guard to [!M68K_MATH_PRIVATE_H].
16100         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16101         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16102         guard to [!MICROBLAZE_MATH_PRIVATE_H].
16103         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16104         macro.
16105         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16106         [!MIPS_MATH_PRIVATE_H].
16107         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16108         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16109         [!NIO2_MATH_PRIVATE_H].
16110         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16111         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16112         [!TILE_MATH_PRIVATE_H].
16113         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16115         [BZ #15421]
16116         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16117         initialize with 0 and define as weak alias of __signgam.
16118         * include/math.h [!_ISOMAC] (__signgam): Declare.
16119         * math/Makefile (libm-calls): Add w_lgamma_compat.
16120         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16121         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16122         test-signgam-ullong-init.
16123         (tests-static): Add test-signgam-uchar-static,
16124         test-signgam-uchar-init-static, test-signgam-uint-static,
16125         test-signgam-uint-init-static, test-signgam-ullong-static and
16126         test-signgam-ullong-init-static.
16127         (CFLAGS-test-signgam-uchar.c): New variable.
16128         (CFLAGS-test-signgam-uchar-init.c): Likewise.
16129         (CFLAGS-test-signgam-uchar-static.c): Likewise.
16130         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16131         (CFLAGS-test-signgam-uint.c): Likewise.
16132         (CFLAGS-test-signgam-uint-init.c): Likewise.
16133         (CFLAGS-test-signgam-uint-static.c): Likewise.
16134         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16135         (CFLAGS-test-signgam-ullong.c): Likewise.
16136         (CFLAGS-test-signgam-ullong-init.c): Likewise.
16137         (CFLAGS-test-signgam-ullong-static.c): Likewise.
16138         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16139         * math/Versions (libm): Add GLIBC_2.23.
16140         * math/lgamma-compat.h: New file.
16141         * math/test-signgam-main.c: Likewise.
16142         * math/test-signgam-uchar-init-static.c: Likewise.
16143         * math/test-signgam-uchar-init.c: Likewise.
16144         * math/test-signgam-uchar-static.c: Likewise.
16145         * math/test-signgam-uchar.c: Likewise.
16146         * math/test-signgam-uint-init-static.c: Likewise.
16147         * math/test-signgam-uint-init.c: Likewise.
16148         * math/test-signgam-uint-static.c: Likewise.
16149         * math/test-signgam-uint.c: Likewise.
16150         * math/test-signgam-ullong-init-static.c: Likewise.
16151         * math/test-signgam-ullong-init.c: Likewise.
16152         * math/test-signgam-ullong-static.c: Likewise.
16153         * math/test-signgam-ullong.c: Likewise.
16154         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
16155         wrapper of w_lgamma_main.c.
16156         * math/w_lgamma_compat.c: New file.
16157         * math/w_lgamma_compatf.c: Likewise.
16158         * math/w_lgamma_compatl.c: Likewise.
16159         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
16160         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16161         defining compatibility symbols.
16162         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
16163         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
16164         wrapper of w_lgammaf_main.c.
16165         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
16166         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16167         defining compatibility symbols.
16168         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
16169         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
16170         wrapper of w_lgammal_main.c.
16171         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
16172         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
16173         defining compatibility symbols.
16174         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
16175         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
16176         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
16177         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
16178         <lgamma-compat.h>.
16179         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
16180         (__ieee754_gamma): Define as alias.
16181         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
16182         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
16183         <lgamma-compat.h>.
16184         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
16185         (__ieee754_gammaf): Define as alias.
16186         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
16187         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
16188         <lgamma-compat.h>.
16189         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
16190         (__ieee754_gammal): Define as alias.
16191         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
16192         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
16193         <math/w_lgamma_compat.c>.
16194         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
16195         Define as alias of __lgamma_compat and use in defining lgammal.
16196         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
16197         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
16198         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
16199         (USE_AS_COMPAT): New macro.
16200         (LGAMMA_OLD_VER): Undefine and redefine.
16201         (lgammal): Do not define here.
16202         (gammal): Only define here if [GAMMA_ALIAS].
16203         * conform/linknamespace.pl (@whitelist): Remove signgam.
16204         * sysdeps/nacl/libm.abilist: Update.
16205         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16206         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16207         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16208         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16209         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16210         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16211         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16212         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16213         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16214         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16215         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16216         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16218         Likewise.
16219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16220         Likewise.
16221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16222         Likewise.
16223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16224         Likewise.
16225         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16226         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16227         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16228         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16229         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16230         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16231         Likewise.
16232         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16233         Likewise.
16234         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16235         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16236         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16238 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16240         [BZ #16364]
16241         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
16242         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
16244 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
16246         * sysdeps/s390/fpu/bits/mathinline.h:
16247         Use __asm__ [__volatile__] instead of asm [volatile].
16248         * sysdeps/s390/abort-instr.h: Likewise.
16249         * sysdeps/s390/atomic-machine.h: Likewise.
16250         * sysdeps/s390/bits/string.h: Likewise.
16251         * sysdeps/s390/dl-tls.h: Likewise.
16252         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16253         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16254         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16255         * sysdeps/s390/fpu/fesetround.c: Likewise.
16256         * sysdeps/s390/fpu/fpu_control.h: Likewise.
16257         * sysdeps/s390/fpu/s_fma.c: Likewise.
16258         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
16259         * sysdeps/s390/memusage.h: Likewise.
16260         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
16261         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
16262         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
16263         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
16264         * sysdeps/s390/nptl/tls.h: Likewise.
16265         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
16266         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16267         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16268         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16269         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16270         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16271         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
16272         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16273         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16274         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
16275         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16276         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16277         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16278         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
16279         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16280         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16281         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
16282         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16283         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
16284         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16285         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
16286         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16287         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
16289 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16290             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16292         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16293         Add lwarx hint, and use macro for acquire instruction.
16294         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16295         Likewise.
16296         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
16297         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
16298         update to use new atomic macros.
16300 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16302         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16303         (__lll_trylock_elision): Fix setting of adapt_count.
16304         * sysdeps/unix/sysv/linux/powerpc/htm.h
16305         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
16306         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
16307         (_ABORT_SYSCALL): Renumber, and clarify definition.
16308         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16310 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16312         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16313         after system headers to prevent MIN/MAX redefinition.  Define
16314         HAVE_ALLOCA to preserve builtin alloca usage.
16316 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
16318         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16319         static and don't set or restore rounding.
16320         (__cos)[IN_SINCOS]: Likewise.
16321         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16322         (__sincos): Set and restore rounding mode.  Remove check for infinite
16323         or NaN input.
16325         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16327         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16328         as used.
16330 2015-11-16  Florian Weimer  <fweimer@redhat.com>
16332         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16334 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
16336         * config.make.in (have-glob-dat-reloc): New.
16337         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
16338         target supports GLOB_DAT relocaton. AC_SUBST.
16339         * configure: Regenerated.
16340         * elf/Makefile (tests): Add tst-prelink.
16341         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16342         (tst-prelink-ENV): New.
16343         ($(objpfx)tst-prelink-conflict.out): Likewise.
16344         ($(objpfx)tst-prelink-cmp.out): Likewise.
16345         * sysdeps/x86/tst-prelink.c: Moved to ...
16346         * elf/tst-prelink.c: Here.
16347         * sysdeps/x86/tst-prelink.exp: Moved to ...
16348         * elf/tst-prelink.exp: Here.
16349         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16350         (tst-prelink-ENV): Removed.
16351         ($(objpfx)tst-prelink-conflict.out): Likewise.
16352         ($(objpfx)tst-prelink-cmp.out): Likewise.
16353         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16355 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
16357         [BZ #14551]
16358         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16359         (__mpn_construct_long_double): If high part overflows to infinity,
16360         set errno and recompute overflowed result of the correct sign.
16361         * sysdeps/ieee754/ldbl-128ibm/Makefile
16362         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16363         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16364         $(libm).
16365         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16367 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
16369         [BZ #15479]
16370         [BZ #19238]
16371         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16372         floating-point state after first operation on input.  Restore full
16373         state rather than just rounding mode.
16374         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16375         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16376         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16378         [BZ #19235]
16379         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16380         add 0.5 to integer arguments.
16381         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16382         Likewise.
16383         (.LC2): New object.
16385 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
16387         * scripts/pylintrc (reports): Set to no.
16389 2015-11-10  Roland McGrath  <roland@hack.frob.com>
16391         * elf/dl-load.c (open_verify): Take new argument FD.
16392         Skip __open call if passed FD is not -1.
16393         (_dl_map_object, open_path): Update callers.
16394         * elf/dl-sysdep-open.h: New file.
16395         * elf/dl-load.c: Include it.
16396         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16397         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16398         * sysdeps/nacl/dl-sysdep-open.h: New file.
16399         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16400         from libc to rtld.
16402 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16404         [BZ #19228]
16405         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16406         and restore full floating-point state.
16407         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16408         Likewise.
16409         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16410         Likewise.
16411         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16412         Likewise.
16413         * math/test-nearbyint-except-2.c: New file.
16414         * math/Makefile (tests): Add test-nearbyint-except-2.
16416 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
16418         [BZ #19178]
16419         * sysdeps/x86/Makefile (tests): Add tst-prelink.
16420         (tst-prelink-ENV): New.
16421         ($(objpfx)tst-prelink-conflict.out): Likewise.
16422         ($(objpfx)tst-prelink-cmp.out): Likewise.
16423         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16424         * sysdeps/x86/tst-prelink.c: New file.
16425         * sysdeps/x86/tst-prelink.exp: Likewise.
16427 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
16429         * math/auto-libm-test-in: Add another test of pow.
16430         * math/auto-libm-test-out: Regenerated.
16431         * math/libm-test.inc (pow_test_data): Add another test.
16433 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16435         [BZ #19219]
16436         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16437         weak_alias to nearbyintl.
16439 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16441         * sysdeps/aarch64/bits/string.h: New file.
16442         (_STRING_ARCH_unaligned): Define.
16444 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
16446         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16447         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16448         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16449         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16452 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
16454         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16455         for original name of the DSO.  Add it to the name list of the DSO
16456         if it is actually given.
16457         (_dl_map_object): Keep track of whether an audit module rewrote
16458         the file name.  If yes, pass the original name to
16459         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
16460         debugging is enabled, log the change of the file name.
16461         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16462         _dl_map_object_from_fd.
16463         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16464         * elf/tst-audit11.c: New file
16465         * elf/tst-auditmod11.c: New file.
16466         * elf/tst-audit11mod1.c: New file.
16467         * elf/tst-audit11mod2.c: New file.
16468         * elf/tst-audit11mod2.map: New file.
16469         * elf/tst-audit12.c: New file
16470         * elf/tst-auditmod12.c: New file.
16471         * elf/tst-audit12mod1.c: New file.
16472         * elf/tst-audit12mod2.c: New file.
16473         * elf/tst-audit12mod2.map: New file.
16474         * elf/tst-audit12mod3.c: New file.
16476 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16478         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16479         Don't create weak aliases,
16480         because versioned symbols are created later.
16481         * sysdeps/s390/s390-32/setjmp.S
16482         (setjmp, _setjmp): Remove weak and rename to an unique name
16483         in SHARED case due to existing versioned symbols.
16484         * sysdeps/s390/s390-64/setjmp.S: Likewise.
16485         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16486         (getcontext): Create weak alias only in non SHARED case.
16487         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16489 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
16491         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16492         (__ASSUME_*_SYSCALL) Define new macros.
16493         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16494         Remove socketcall syscalls.
16495         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16496         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16497         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16498         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16499         * sysdeps/unix/sysv/linux/send.c (__libc_send):
16500         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16502 2015-11-09  Florian Weimer  <fweimer@redhat.com>
16504         [BZ #12926]
16505         Terminate process on invalid netlink response.
16506         * sysdeps/unix/sysv/linux/netlinkaccess.h
16507         (__netlink_assert_response): Declare.
16508         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16509         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16510         (sysdep_routines): Add netlink_assert_response.
16511         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16512         __netlink_assert_response.
16513         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16514         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16515         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16516         __netlink_assert_response.
16518 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
16520         [BZ #19178]
16521         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16522         (RTYPE_CLASS_PLT): Likewise.
16523         (RTYPE_CLASS_COPY): Likewise.
16524         (RTYPE_CLASS_TLS): Likewise.
16525         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16526         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
16527         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16528         DL_DEBUG_PRELINK.
16530 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
16532         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16533         calls with argument -0.5.
16534         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16536         * configure.ac (libc_cv_z_nodelete): Remove configure test.
16537         (libc_cv_z_nodlopen): Likewise.
16538         (libc_cv_z_initfirst): Likewise.
16539         * configure: Regenerated.
16541 2015-11-06  Florian Weimer  <fweimer@redhat.com>
16543         Simplify abilist format to be line-based.
16544         * scripts/abilist.awk: Collect descriptors in the descs variable.
16545         (emit): Write descs variable and sort it
16546         externally, with sort.
16547         * sysdeps/**/*.abilist: Convert to new format.
16549 2015-11-06  Mark Wielaard  <mjw@redhat.com>
16551         [BZ #11460]
16552         * io/Makefile (routines): Add fts64.
16553         (tests): Add tst-fts and tst-fts-lfs.
16554         (CFLAGS-fts64.c): New.
16555         * io/Versions (GLIBC_2.23): New.
16556         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16557         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16558         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16559         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16560         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16561         (FTSENT64): Likewise.
16562         (fts64_children): Likewise.
16563         (fts64_close): Likewise.
16564         (fts64_open): Likewise.
16565         (fts64_read): Likewise.
16566         (fts64_set): Likewise.
16567         * io/fts64.c: New file.
16568         * io/tst-fts.c: New test.
16569         * io/tst-fts-lfs.c: Likewise.
16570         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16571         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16572         fts64_set.
16573         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16574         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16575         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16576         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16577         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16578         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16579         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16580         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16581         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16582         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16583         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16584         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16585         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16587         Likewise.
16588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16589         Likewise.
16590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16592         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16593         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16594         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16595         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16596         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16599         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16600         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16601         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16602         * sysdeps/wordsize-64/fts.c: New file.
16603         * sysdeps/wordsize-64/fts64.c: Likewise.
16604         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16605         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16606         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16607         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16609 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16611         * math/libm-test.inc (NON_FINITE): New macro.
16612         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16613         * math/gen-libm-test.pl (show_exceptions): Add argument
16614         $non_finite.
16615         (parse_args): Update call to show_exceptions.
16616         * math/test-math-finite.h: New file.
16617         * math/test-math-no-finite.h: Likewise.
16618         * math/test-double-finite.c: Likewise.
16619         * math/test-float-finite.c: Likewise.
16620         * math/test-ldouble-finite.c: Likewise.
16621         * math/test-double.c: Include "test-math-no-finite.h".
16622         * math/test-float.c: Include "test-math-no-finite.h".
16623         * math/test-ldouble.c: Include "test-math-no-finite.h".
16624         * math/test-math-inline.h (TEST_FINITE): New macro.
16625         * math/test-math-vector.h (TEST_FINITE): Likewise.
16626         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16627         (libm-tests): Add test-float-finite and test-double-finite.
16628         ($(objpfx)test-float-finite.o): New dependency on
16629         $(objpfx)libm-test.stmp.
16630         ($(objpfx)test-double-finite.o): Likewise.
16631         ($(objpfx)test-ldouble-finite.o): Likewise.
16632         (libm-test-no-inline-cflags): New variable.
16633         (libm-test-finite-cflags): Likewise.
16634         (CFLAGS-test-float-finite.c): Likewise.
16635         (CFLAGS-test-double-finite.c): Likewise.
16636         (CFLAGS-test-ldouble-finite.c): Likewise.
16637         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16638         (CFLAGS-test-double.c): Likewise.
16639         (CFLAGS-test-ldouble.c): Likewise.
16641 2015-11-05  Roland McGrath  <roland@hack.frob.com>
16643         * io/fcntl.c (__fcntl): Add ... to prototype.
16644         * misc/ioctl.c (__ioctl): Likewise.
16645         * misc/syscall.c (syscall): Likewise.
16647 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
16649         * scripts/list-fixed-bugs.py: New file.
16651         [BZ #19213]
16652         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16653         returned for argument 1.
16654         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16655         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16656         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16657         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16658         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16659         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16661         [BZ #19211]
16662         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16663         __USE_XOPEN], not if [!__USE_ISOC99].
16664         (lgammaf): Likewise.
16665         (lgammal): Likewise.
16666         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16667         (gammaf): Likewise.
16668         (gammal): Likewise.
16669         * math/test-signgam-finite-c11.c: New file.
16670         * math/test-signgam-finite-c99.c: Likewise.
16671         * math/test-signgam-finite.c: Likewise.
16672         * math/Makefile (tests): Add test-signgam-finite,
16673         test-signgam-finite-c99 and test-signgam-finite-c11.
16674         (CFLAGS-test-signgam-finite.c): New variable.
16675         (CFLAGS-test-signgam-finite-c99.c): Likewise.
16676         (CFLAGS-test-signgam-finite-c11.c): Likewise.
16678         [BZ #19212]
16679         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16680         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16681         500].
16682         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16683         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16684         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16685         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16686         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16687         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16688         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16689         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16690         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16691         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16693         [BZ #19209]
16694         * math/bits/math-finite.h (ldexp): Remove declaration.
16695         (ldexpf): Likewise.
16696         (ldexpl): Likewise.
16698         [BZ #19205]
16699         * math/bits/math-finite.h (acosf): Condition declaration on
16700         [__USE_ISOC99].
16701         (acosl): Likewise.
16702         (acoshf): Likewise.
16703         (acoshl): Likewise.
16704         (asinf): Likewise.
16705         (asinl): Likewise.
16706         (atan2f): Likewise.
16707         (atan2l): Likewise.
16708         (atanhf): Likewise.
16709         (atanhl): Likewise.
16710         (coshf): Likewise.
16711         (coshl): Likewise.
16712         (expf): Likewise.
16713         (expl): Likewise.
16714         (fmodf): Likewise.
16715         (fmodl): Likewise.
16716         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16717         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16718         (j0l): Likewise.
16719         (y0f): Likewise.
16720         (y0l): Likewise.
16721         (j1f): Likewise.
16722         (j1l): Likewise.
16723         (y1f): Likewise.
16724         (y1l): Likewise.
16725         (jnf): Likewise.
16726         (jnl): Likewise.
16727         (ynf): Likewise.
16728         (ynl): Likewise.
16729         (lgammaf_r): Condition declaration on [__USE_ISOC99].
16730         (lgammal_r): Likewise.
16731         (__lgamma_r_finite): New declaration.
16732         (__lgammaf_r_finite): Likewise.
16733         (__lgammal_r_finite): Likewise.
16734         (lgamma): Use __lgamma_r_finite.
16735         (lgammaf): Condition definition on [__USE_ISOC99].  Use
16736         __lgammaf_r_finite.
16737         (lgammal): Condition definition on [__USE_ISOC99].  Use
16738         __lgammal_r_finite.
16739         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
16740         __lgamma_r_finite.
16741         (gammaf): Condition definition on [__USE_ISOC99].  Use
16742         __lgammaf_r_finite.
16743         (gammal): Condition definition on [__USE_ISOC99].  Use
16744         __lgammal_r_finite.
16745         (logf): Condition declaration on [__USE_ISOC99].
16746         (logl): Likewise.
16747         (log10f): Likewise.
16748         (log10l): Likewise.
16749         (ldexpf): Likewise.
16750         (ldexpl): Likewise.
16751         (powf): Likewise.
16752         (powl): Likewise.
16753         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16754         __USE_ISOC99].
16755         (remainderf): Condition declaration on [__USE_ISOC99].
16756         (remainderl): Likewise.
16757         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16758         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16759         (scalbl): Likewise.
16760         (sinhf): Condition declaration on [__USE_ISOC99].
16761         (sinhl): Likewise.
16762         (sqrtf): Likewise.
16763         (sqrtl): Likewise.
16765 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16767         * sysdeps/arm/atomic-machine.h
16768         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16769         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16770         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16771         Remove conditional code.
16772         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16773         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16774         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16775         Change conditional to [__ASSEMBLER__].
16776         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16777         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16778         [!__ASSEMBLER__].
16779         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16780         code.
16781         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16782         conditional macro definitions.
16783         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16784         (__arch_compare_and_exchange_val_16_acq): Likewise.
16785         (__arch_compare_and_exchange_val_32_acq): Likewise.
16786         (atomic_exchange_and_add): Likewise.
16787         (atomic_add): Likewise.
16788         (atomic_add_negative): Likewise.
16789         (atomic_add_zero): Likewise.
16790         (atomic_bit_set): Likewise.
16791         (atomic_bit_test_set): Likewise.
16792         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16793         code unconditional.
16794         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16796         * math/test-math-errno.h: New file.
16797         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16798         empty.
16799         (TEST_ERRNO): New macro.
16800         (TEST_EXCEPTIONS): Likewise.
16801         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16802         (TEST_EXCEPTIONS): Likewise.
16803         * math/test-math-vector.h (TEST_ERRNO): Likewise.
16804         * math/test-double.c: Include "test-math-errno.h".
16805         * math/test-float.c: Likewise.
16806         * math/test-ldouble.c: Likewise.
16807         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16808         code unconditional.
16809         (test_exceptions): Only run code if TEST_EXCEPTIONS.
16810         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16811         unconditional.
16812         (test_errno): Only run code if TEST_ERRNO.
16813         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16815 2015-11-04  Florian Weimer  <fweimer@redhat.com>
16817         * nptl/tst-once5.cc: Remove attribution.
16819 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
16821         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16822         sqrt, tan, tanh, y0, y1 and yn.
16823         * math/auto-libm-test-out: Regenerated.
16824         * math/libm-test.inc (scalb_test_data): Add more tests.
16825         (scalbn_test_data): Likewise.
16826         (scalbln_test_data): Likewise.
16827         (signbit_test_data): Likewise.
16828         (sin_test_data): Likewise.
16829         (sincos_test_data): Likewise.
16830         (sinh_test_data): Likewise.
16831         (sqrt_test_data): Likewise.
16832         (tan_test_data): Likewise.
16833         (tanh_test_data): Likewise.
16834         (tgamma_test_data): Likewise.
16835         (y0_test_data): Likewise.
16836         (y1_test_data): Likewise.
16837         (yn_test_data): Likewise.
16838         (significand_test_data): Likewise.
16839         * sysdeps/i386/fpu/libm-test-ulps: Update.
16841 2015-11-03  David Kastrup  <dak@gnu.org>
16843         [BZ #18604]
16844         * assert/assert.h (assert): Don't macro-expand failed assertion
16845         expression in error message.
16846         * malloc/malloc.c (assert): Likewise.
16848 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
16850         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16851         test.
16852         * configure: Regenerated.
16854 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
16856         * math/libm-test.inc (modf_test_data): Add more tests.
16857         (nearbyint_test_data): Likewise.
16858         (nextafter_test_data): Likewise.
16859         (nexttoward_test_data): Likewise.
16860         (pow_test_data): Likewise.
16861         (remainder_test_data): Likewise.
16862         (remquo_test_data): Likewise.
16863         (rint_test_data): Likewise.
16865         [BZ #19201]
16866         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16867         Check for zero remainder in case of large exponents and ensure
16868         correct sign of result in that case.
16869         * math/libm-test.inc (remainder_test_data): Add more tests.
16871         [BZ #6799]
16872         * math/s_nextafter.c: Include <errno.h>.
16873         (__nextafter): Set errno on overflow and underflow.
16874         * math/s_nexttowardf.c: Include <errno.h>.
16875         (__nexttowardf): Set errno on overflow and underflow.
16876         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16877         (__nextafterl): Set errno on overflow and underflow.
16878         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16879         (__nexttoward): Set errno on overflow and underflow.
16880         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16881         (__nexttowardf): Set errno on overflow and underflow.
16882         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16883         (__nextafterf): Set errno on overflow and underflow.
16884         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16885         (__nextafterl): Set errno on overflow and underflow.
16886         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16887         (__nexttoward): Set errno on overflow and underflow.
16888         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16889         (__nexttowardf): Set errno on overflow and underflow.
16890         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16891         (__nextafterl): Set errno on overflow and underflow.
16892         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16893         (__nexttoward): Set errno on overflow and underflow.
16894         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16895         (__nexttowardf): Set errno on overflow and underflow.
16896         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16897         (__nexttoward): Set errno on overflow and underflow.
16898         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16899         (__nexttowardf): Set errno on overflow and underflow.
16900         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16901         (__nldbl_nexttowardf): Set errno on overflow and underflow.
16902         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16903         (__nextafterl): Set errno on overflow and underflow.
16904         * math/libm-test.inc (nextafter_test_data): Do not allow errno
16905         setting to be missing on overflow.  Add more tests.
16906         (nexttoward_test_data): Likewise.
16908         * configure.ac (libc_cv_initfini_array): Remove configure test.
16909         * configure: Regenerated.
16911 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
16913         [BZ #19189]
16914         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16915         non-finite argument handle arguments with negative sign.
16917         * math/libm-test.inc (j0_test_data): Do not test sign of zero
16918         result from infinite argument.
16919         (j1_test_data): Likewise.
16920         (jn_test_data): Likewise.
16921         (y0_test_data): Likewise.
16922         (y1_test_data): Likewise.
16923         (yn_test_data): Likewise.
16925         [BZ #16171]
16926         * math/w_remainder.c (drem): Define as weak alias of __remainder.
16927         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16928         * math/w_remainderf.c (dremf): Define as weak alias of
16929         __remainderf.
16930         * math/w_remainderl.c (dreml): Define as weak alias of
16931         __remainderl.
16932         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16933         __remainder.
16934         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16935         __remainderf.
16936         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16937         __remainderl.
16938         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16939         weak alias of remainderl.
16940         * sysdeps/ieee754/ldbl-opt/w_remainder.c
16941         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16942         alias of __remainder.
16943         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16944         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16945         strong alias of __remainderl.
16946         (dreml): Use long_double_symbol.
16947         * math/Makefile (libm-calls): Remove w_drem.
16948         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16949         (CFLAGS-nldbl-drem.c): Remove variable.
16950         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16951         * math/w_drem.c: Remove file.
16952         * math/w_dremf.c: Likewise.
16953         * math/w_dreml.c: Likewise.
16954         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16955         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16956         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16958         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16959         * sysdeps/i386/configure: Regenerated.
16960         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16961         * sysdeps/x86_64/configure: Regenerated.
16963         * configure.ac (libc_cv_asm_protected_directive): Remove configure
16964         test.
16965         (libc_cv_visibility_attribute): Likewise.
16966         (libc_cv_protected_data): Test unconditionally.
16967         (libc_cv_broken_visibility_attribute): Remove configure test.
16968         (libc_cv_have_sdata_section): Test unconditionally.
16969         * configure: Regenerated.
16971         * include/libc-internal.h (libc_max_align_t): Remove typedef.
16972         * include/scratch_buffer.h: Include <stddef.h> instead of
16973         <libc-internal.h>.
16974         (struct scratch_buffer): Use max_align_t instead of
16975         libc_max_align_t.
16977 2015-10-29  Florian Weimer  <fweimer@redhat.com>
16979         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16980         instead of extend_alloca.  Change control flow to avoid a goto.
16981         Remove assert which is trivially always true.
16983 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
16985         [BZ #16068]
16986         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16987         (FE_ALL_EXCEPT_X86): New macro.
16988         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16989         FE_ALL_EXCEPT.  Ensure precision control is included in
16990         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16991         handle "denormal operand exception" and clear FZ and DAZ bits.
16992         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16993         (FE_ALL_EXCEPT_X86): New macro.
16994         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16995         FE_ALL_EXCEPT.  Ensure precision control is included in
16996         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16997         handle "denormal operand exception" and clear FZ and DAZ bits.
16998         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16999         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
17000         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17001         test-fenv-x87 and test-fenv-sse-2.
17002         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
17004         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
17005         * math/test-double.h (BUILD_COMPLEX): New macro.
17006         * math/test-float.h (BUILD_COMPLEX): Likewise.
17007         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
17009         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
17010         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
17011         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
17012         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
17013         instead of DBL_DENORM_MIN in comment.
17014         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
17015         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17016         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
17017         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
17018         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
17019         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
17021 2015-10-28  Florian Weimer  <fweimer@redhat.com>
17023         [BZ# 19048]
17024         * malloc/malloc.c (struct malloc_state): Update comment.  Add
17025         attached_threads member.
17026         (main_arena): Initialize attached_threads.
17027         * malloc/arena.c (list_lock): Update comment.
17028         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
17029         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
17030         (deattach_arena): New function.
17031         (_int_new_arena): Initialize arena reference count and deattach
17032         replaced arena.
17033         (get_free_list, reused_arena): Update reference count and deattach
17034         replaced arena.
17035         (arena_thread_freeres): Update arena reference count and only put
17036         unreferenced arenas on the free list.
17038 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17040         [BZ #19181]
17041         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
17042         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
17043         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
17044         * math/test-fenv-clear-main.c: New file.
17045         * math/test-fenv-clear.c: Likewise.
17046         * math/Makefile (tests): Add test-fenv-clear.
17047         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
17048         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
17049         test-fenv-clear-sse.
17050         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
17052         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
17053         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
17054         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
17056 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17058         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
17059         static libc.
17061 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
17063         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
17064         test.
17065         * sysdeps/i386/configure: Regenerated.
17066         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
17067         test.
17068         * sysdeps/x86_64/configure: Regenerated.
17069         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
17070         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17071         memset-avx2 unconditionally instead of conditionally on
17072         [$(config-cflags-avx2) = yes].
17073         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17074         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
17075         unconditional.
17076         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17077         * sysdeps/x86_64/multiarch/memset_chk.S
17078         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17079         to [IS_IN (libc) && SHARED].
17081 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17083         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17084         configure test.
17085         * sysdeps/arm/configure: Regenerated.
17086         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17087         Define variable if not already defined.
17089         [BZ #17404]
17090         * sysdeps/mips/atomic-machine.h
17091         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17092         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17093         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17095         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17096         unconditional.
17097         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17098         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17099         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17100         unconditional.
17101         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17102         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17103         unconditional.
17104         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17105         * stdlib/setenv.c
17106         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17107         code unconditional.
17108         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17109         Remove conditional code.
17110         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17111         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17112         unconditional.
17113         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17114         code.
17115         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17116         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17117         unconditional.
17118         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17119         code.
17120         * sysdeps/ieee754/ldbl-128/k_tanl.c
17121         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17122         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17123         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17124         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17125         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17126         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17127         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17128         unconditional.
17129         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17130         code.
17131         * sysdeps/ieee754/ldbl-96/k_tanl.c
17132         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17133         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17135         * nptl/tst-initializers1-c11.c: New file.
17136         * nptl/tst-initializers1-gnu11.c: Likewise.
17137         * nptl/Makefile (tests): Add these new tests.
17138         (CFLAGS-tst-initializers1-c11.c): New variable.
17139         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17141         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
17142         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
17143         instead of -std=gnu99.
17144         * configure.ac (systemtap): Test with -std=gnu11 instead of
17145         -std=gnu99.
17146         * configure: Regenerated.
17147         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
17148         in compilation command in comment.
17150         * sysdeps/nptl/configure.ac: Remove file.
17151         * sysdeps/nptl/configure: Remove generated file.
17152         * configure.ac (libc_cv_forced_unwind): Do not substitute.
17153         * configure: Regenerated.
17154         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
17155         * config.make.in (have-forced-unwind): Remove variable.
17156         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17157         unconditional.
17158         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
17159         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
17160         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
17161         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
17162         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17163         unconditional.
17165 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17167         [BZ #19174]
17168         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
17169         .skip_lock_out_of_tbegin_retries.
17170         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17171         (__lll_lock_elision): Likewise, and respect a value of
17172         try_tbegin <= 0.
17174 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17176         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
17177         statement.
17179 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17181         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
17182         variable.
17183         (test-xfail-ISO11/stdalign.h/conform): Likewise.
17184         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17186         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
17187         of -std=c1x -D_ISOC11_SOURCE.
17189         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
17190         * configure: Regenerated.
17191         * manual/install.texi (Tools for Compilation): Document
17192         requirement for GCC 4.7 or later.
17193         * INSTALL: Regenerated.
17195 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
17197         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
17198         on CNT to a conditional jump to 'puntdata'.
17200 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
17202         * configure.ac (libc_cv_gcc___thread): Remove configure test.
17203         (libc_cv_gcc_tls_model_attr): Likewise.
17204         * configure: Regenerated.
17206         * configure.ac (libc_cv_need_minus_P): Remove configure test.
17207         * configure: Regenerated.
17208         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
17210 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
17212         * configure.ac (old_glibc_headers): Remove configure test.
17213         * configure: Regenerated.
17214         * config.make.in (old-glibc-headers): Remove variable.
17215         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
17216         (install): Remove dependency on remove-old-headers.
17217         (headers2_0): Remove variable.
17218         (remove-old-headers): Remove rule.
17220         * configure.ac (libc_cv_dot_text): Remove configure test.
17221         (libc_cv_asm_set_directive): Use .text instead of
17222         ${libc_cv_dot_text} in configure test.
17223         * configure: Regenerated.
17225 2015-10-26  Florian Weimer  <fweimer@redhat.com>
17227         [BZ #19168]
17228         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17230 2015-10-26  Florian Weimer  <fweimer@redhat.com>
17232         * configure.ac (CXX): Clear the variable if the C++ toolchain does
17233         not support static linking.
17234         * configure: Regenerate.
17236 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
17238         * math/libm-test.inc (check_float_internal): Do not special-case
17239         errors up to 0.5 ulp.
17241         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17242         log2.
17243         * math/auto-libm-test-out: Regenerated.
17244         * math/libm-test.inc (MAX_EXP): New macro.
17245         (ilogb_test_data): Add more tests.
17246         (isfinite_test_data): Likewise.
17247         (isgreater_test_data): Likewise.
17248         (isgreaterequal_test_data): Likewise.
17249         (isinf_test_data): Likewise.
17250         (isless_test_data): Likewise.
17251         (islessequal_test_data): Likewise.
17252         (islessgreater_test_data): Likewise.
17253         (isnan_test_data): Likewise.
17254         (isnormal_test_data): Likewise.
17255         (issignaling_test_data): Likewise.
17256         (isunordered_test_data): Likewise.
17257         (j0_test_data): Likewise.
17258         (j1_test_data): Likewise.
17259         (jn_test_data): Likewise.
17260         (lgamma_test_data): Likewise.
17261         (log_test_data): Likewise.
17262         (log10_test_data): Likewise.
17263         (log1p_test_data): Likewise.
17264         (log2_test_data): Likewise.
17265         (logb_test_data): Likewise.
17266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17268         [BZ #18611]
17269         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
17270         avoid excess range and precision on underflow.
17271         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17272         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17273         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17274         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
17275         underflow.
17276         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17277         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17278         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17279         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17280         * math/auto-libm-test-in: Do not allow missing errno setting for
17281         tests of j1 and jn.
17282         * math/auto-libm-test-out: Regenerated.
17284 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
17286         [BZ #15491]
17287         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
17288         floating-point environment instead of clearing all exceptions.
17289         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17290         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
17291         merging in "invalid" exceptions from frndint.
17292         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17293         * math/test-nearbyint-except.c: New file.
17294         * math/Makefile (tests): Add test-nearbyint-except.
17296 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
17298         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
17300         * sysdeps/tile/libm-test-ulps: Regenerated.
17302 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
17305         (__NR_sync_file_range2): Assume it is always defined.
17306         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17307         (__NR_sync_file_range): Assume it is always defined.
17309 2015-10-22  Andreas Schwab  <schwab@suse.de>
17311         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17312         INTERNAL_SYSCALL_ERRNO.
17313         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17314         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17315         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17316         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17317         Likewise.
17318         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17320 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17322         * io/tst-fcntl.c (fd): New static variable.
17323         (do_prepare): Open temporary file here....
17324         (do_test): ...not here.
17326         * io/ftwtest-sh: Also trap on exit to remove temporary files.
17328 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17330         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17331         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17332         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17333         Moved before "#ifdef __ASSEMBLER__".
17335 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17337         [BZ #19156]
17338         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17339         arguments very close to 0.
17341 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
17343         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17344         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17346 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
17348         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17349         New.  Defined for GCC 5 and above when not compiling for
17350         profiling.
17351         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17353         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17354         Renamed to ...
17355         (CFLAGS-epoll_pwait.o): This.
17356         (CFLAGS-mmap.c): Renamed to ...
17357         (CFLAGS-mmap.o): This.
17358         (CFLAGS-mmap64.c): Renamed to ...
17359         (CFLAGS-mmap64.o): This.
17360         (CFLAGS-epoll_pwait.os): New.
17361         (CFLAGS-mmap.os): Likewise.
17362         (CFLAGS-mmap64.os): Likewise.
17363         (CFLAGS-semtimedop.os): Likewise.
17364         (CFLAGS-semtimedop.c): Renamed to ...
17365         (CFLAGS-semtimedop.o): This.
17367 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17369         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17370         warning message.
17372 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
17374         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17375         * Makefile ($(objpfx)c++-types-check.out): Filter out
17376         $(+gccwarn-c) instead of -Wstrict-prototypes.
17378         * io/fts.c (fts_open): Convert to prototype-style function
17379         definition.
17380         * malloc/mcheck.c (mcheck): Likewise.
17381         (mcheck_pedantic): Likewise.
17382         * posix/regexec.c (re_search_2_stub): Likewise.  Use
17383         internal_function.
17384         (re_search_internal): Likewise.
17385         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17386         prototype-style function definition.
17387         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17388         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17389         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17390         (xdr_utmpptr): Likewise.
17391         (xdr_utmparr): Likewise.
17392         (xdr_utmpidle): Likewise.
17393         (xdr_utmpidleptr): Likewise.
17394         (xdr_utmpidlearr): Likewise.
17396         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17397         log, log10 and log2.
17398         * math/auto-libm-test-out: Regenerated.
17399         * math/libm-test.inc (fmod_test_data): Add more tests.
17400         (fpclassify_test_data): Likewise.
17401         (frexp_test_data): Likewise.
17402         (hypot_test_data): Likewise.
17403         (ilogb_test_data): Likewise.
17405 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
17407         * debug/fortify_fail.c (__fortify_fail): Convert to
17408         prototype-style function definition.  Use internal_function.
17409         * libio/genops.c (save_for_backup): Convert to prototype-style
17410         function definition.
17411         * libio/wgenops.c (save_for_wbackup): Likewise.
17412         * login/grantpt.c (grantpt): Likewise.
17413         * login/ptsname.c (ptsname): Likewise.
17414         (__ptsname_r): Likewise.
17415         * login/unlockpt.c (unlockpt): Likewise.
17416         * mach/msgserver.c (__mach_msg_server): Likewise.
17417         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17418         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17419         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17420         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17421         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17422         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17423         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17424         Likewise.
17425         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
17426         internal_function.
17427         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17428         prototype-style function definition.
17429         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17430         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17431         (__pthread_create_2_0): Likewise.
17432         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17433         * nptl/register-atfork.c (__register_atfork): Likewise.
17434         * posix/glob.c (glob): Likewise.
17435         * posix/regcomp.c (re_comp): Likewise.
17436         * posix/regexec.c (re_exec): Likewise.
17437         * stdlib/add_n.c [__STDC__]: Make code unconditional.
17438         [!__STDC__]: Remove conditional code.
17439         * stdlib/cmp.c [__STDC__]: Make code unconditional.
17440         [!__STDC__]: Remove conditional code.
17441         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17442         [!__STDC__]: Remove conditional code.
17443         * stdlib/divrem.c [__STDC__]: Make code unconditional.
17444         [!__STDC__]: Remove conditional code.
17445         * stdlib/lshift.c [__STDC__]: Make code unconditional.
17446         [!__STDC__]: Remove conditional code.
17447         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17448         [!__STDC__]: Remove conditional code.
17449         * stdlib/mul.c [__STDC__]: Make code unconditional.
17450         [!__STDC__]: Remove conditional code.
17451         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17452         [!__STDC__]: Remove conditional code.
17453         * stdlib/rshift.c [__STDC__]: Make code unconditional.
17454         [!__STDC__]: Remove conditional code.
17455         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17456         function definition.
17457         (STRTOF): Likewise.
17458         * stdlib/strtod_l.c (__STRTOF): Likewise.
17459         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17460         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17461         (__strtol_l): Likewise.
17462         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17463         [!__STDC__]: Remove conditional code.
17464         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17465         definition.
17466         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17467         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17468         type.
17469         (__strcasecmp): Convert to prototype-style function definition.
17470         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17471         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17472         type.
17473         (__strncasecmp): Convert to prototype-style function definition.
17474         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17475         * sunrpc/xdr.c (xdr_union): Likewise.
17476         * sunrpc/xdr_array.c (xdr_array): Likewise.
17477         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17478         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17479         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17480         Likewise.
17481         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17482         Likewise.
17483         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17484         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17485         Likewise.
17486         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17487         (LOCALE_PARAM_PROTO): Likewise.
17488         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17489         argument type.
17490         (ut_argument_spec): Remove macro.
17491         (ut_argument_spec_iso): Rename to ut_argument_spec.
17492         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
17493         prototype-style function definition.
17494         (memcpy_uppcase): Likewise.
17495         (__strftime_internal): Likewise.
17496         (my_strftime): Likewise.
17497         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17498         (LOCALE_PARAM_DECL): Likewise.
17499         [_LIBC] (LOCALE_PARAM): Include argument type.
17500         (__strptime_internal): Convert to prototype-style function
17501         definition.
17502         (strptime): Likewise.
17503         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17504         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17505         type.
17506         (__wcscasecmp): Convert to prototype-style function definition.
17507         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17508         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17509         type.
17510         (__wcsncasecmp): Convert to prototype-style function definition.
17512         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17513         function definition.
17514         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17515         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17516         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17517         * elf/dl-minimal.c (_itoa): Likewise.
17518         * hurd/hurdmalloc.c (malloc): Likewise.
17519         (free): Likewise.
17520         (realloc): Likewise.
17521         * inet/inet6_option.c (inet6_option_space): Likewise.
17522         (inet6_option_init): Likewise.
17523         (inet6_option_append): Likewise.
17524         (inet6_option_alloc): Likewise.
17525         (inet6_option_next): Likewise.
17526         (inet6_option_find): Likewise.
17527         * io/ftw.c (FTW_NAME): Likewise.
17528         (NFTW_NAME): Likewise.
17529         (NFTW_NEW_NAME): Likewise.
17530         (NFTW_OLD_NAME): Likewise.
17531         * libio/iofwide.c (_IO_fwide): Likewise.
17532         * libio/strops.c (_IO_str_init_static_internal): Likewise.
17533         (_IO_str_init_static): Likewise.
17534         (_IO_str_init_readonly): Likewise.
17535         (_IO_str_overflow): Likewise.
17536         (_IO_str_underflow): Likewise.
17537         (_IO_str_count): Likewise.
17538         (_IO_str_seekoff): Likewise.
17539         (_IO_str_pbackfail): Likewise.
17540         (_IO_str_finish): Likewise.
17541         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17542         (_IO_wstr_overflow): Likewise.
17543         (_IO_wstr_underflow): Likewise.
17544         (_IO_wstr_count): Likewise.
17545         (_IO_wstr_seekoff): Likewise.
17546         (_IO_wstr_pbackfail): Likewise.
17547         (_IO_wstr_finish): Likewise.
17548         * locale/programs/localedef.c (normalize_codeset): Likewise.
17549         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17550         (add_locales_to_archive): Likewise.
17551         (delete_locales_from_archive): Likewise.
17552         * malloc/malloc.c (__libc_mallinfo): Likewise.
17553         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17554         * misc/tsearch.c (__tfind): Likewise.
17555         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17556         * nptl/pthread_attr_getdetachstate.c
17557         (__pthread_attr_getdetachstate): Likewise.
17558         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17559         Likewise.
17560         * nptl/pthread_attr_getinheritsched.c
17561         (__pthread_attr_getinheritsched): Likewise.
17562         * nptl/pthread_attr_getschedparam.c
17563         (__pthread_attr_getschedparam): Likewise.
17564         * nptl/pthread_attr_getschedpolicy.c
17565         (__pthread_attr_getschedpolicy): Likewise.
17566         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17567         Likewise.
17568         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17569         Likewise.
17570         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17571         Likewise.
17572         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17573         Likewise.
17574         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17575         (__pthread_attr_init_2_0): Likewise.
17576         * nptl/pthread_attr_setdetachstate.c
17577         (__pthread_attr_setdetachstate): Likewise.
17578         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17579         Likewise.
17580         * nptl/pthread_attr_setinheritsched.c
17581         (__pthread_attr_setinheritsched): Likewise.
17582         * nptl/pthread_attr_setschedparam.c
17583         (__pthread_attr_setschedparam): Likewise.
17584         * nptl/pthread_attr_setschedpolicy.c
17585         (__pthread_attr_setschedpolicy): Likewise.
17586         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17587         Likewise.
17588         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17589         Likewise.
17590         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17591         Likewise.
17592         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17593         Likewise.
17594         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17595         Likewise.
17596         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17597         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17598         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17599         use internal_function.
17600         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17601         prototype-style function definition.
17602         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17603         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
17604         internal_function.
17605         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17606         Convert to prototype-style function definition.
17607         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17608         Likewise.
17609         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17610         Likewise.
17611         (__pthread_mutex_unlock): Likewise.
17612         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17613         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17614         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17615         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17616         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17617         * nss/makedb.c (process_input): Likewise.
17618         * posix/fnmatch.c (__strchrnul): Likewise.
17619         (__wcschrnul): Likewise.
17620         (fnmatch): Likewise.
17621         * posix/fnmatch_loop.c (FCT): Likewise.
17622         * posix/glob.c (globfree): Likewise.
17623         (__glob_pattern_type): Likewise.
17624         (__glob_pattern_p): Likewise.
17625         * posix/regcomp.c (re_compile_pattern): Likewise.
17626         (re_set_syntax): Likewise.
17627         (re_compile_fastmap): Likewise.
17628         (regcomp): Likewise.
17629         (regerror): Likewise.
17630         (regfree): Likewise.
17631         * posix/regexec.c (regexec): Likewise.
17632         (re_match): Likewise.
17633         (re_search): Likewise.
17634         (re_match_2): Likewise.
17635         (re_search_2): Likewise.
17636         (re_search_stub): Likewise.  Use internal_function
17637         (re_copy_regs): Likewise.
17638         (re_set_registers): Convert to prototype-style function
17639         definition.
17640         (prune_impossible_nodes): Likewise.  Use internal_function.
17641         * resolv/inet_net_pton.c (inet_net_pton): Convert to
17642         prototype-style function definition.
17643         (inet_net_pton_ipv4): Likewise.
17644         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17645         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17646         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17647         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17648         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17649         Make variadic.
17650         * time/strptime_l.c (localtime_r): Convert to prototype-style
17651         function definition.
17652         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17653         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17654         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17655         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17657         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17658         definition.
17659         (_ufc_doit_r): Likewise.
17660         * crypt/crypt_util.c (_ufc_copymem): Likewise.
17661         (_ufc_output_conversion_r): Likewise.
17662         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17663         * inet/rcmd.c (rcmd_af): Likewise.
17664         (rcmd): Likewise.
17665         (ruserok_af): Likewise.
17666         (ruserok): Likewise.
17667         (ruserok2_sa): Likewise.
17668         (ruserok_sa): Likewise.
17669         (iruserok_af): Likewise.
17670         (iruserok): Likewise.
17671         (__ivaliduser): Likewise.
17672         (__validuser2_sa): Likewise.
17673         * inet/rexec.c (rexec_af): Likewise.
17674         (rexec): Likewise.
17675         * inet/ruserpass.c (ruserpass): Likewise.
17676         * locale/programs/xmalloc.c (xcalloc): Likewise.
17677         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17678         * math/w_drem.c (__drem): Likewise.
17679         * math/w_dremf.c (__dremf): Likewise.
17680         * math/w_dreml.c (__dreml): Likewise.
17681         * misc/daemon.c (daemon): Likewise.
17682         * resolv/res_debug.c (p_fqnname): Likewise.
17683         * stdlib/div.c (div): Likewise.
17684         * string/memcmp.c (memcmp_bytes): Likewise.
17685         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17686         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17688         * crypt/cert.c (main): Convert to prototype-style function
17689         definition.
17690         * io/pipe.c (__pipe): Likewise.
17691         * io/pipe2.c (__pipe2): Likewise.
17692         * misc/futimesat.c (futimesat): Likewise.
17693         * misc/utimes.c (__utimes): Likewise.
17694         * posix/execve.c (__execve): Likewise.
17695         * posix/execvp.c (execvp): Likewise.
17696         * posix/execvpe.c (__execvpe): Likewise.
17697         * posix/fexecve.c (fexecve): Likewise.
17698         * socket/socketpair.c (socketpair): Likewise.
17699         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17700         * stdlib/erand48.c (erand48): Likewise.
17701         * stdlib/erand48_r.c (__erand48_r): Likewise.
17702         * stdlib/jrand48.c (jrand48): Likewise.
17703         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17704         * stdlib/lcong48.c (lcong48): Likewise.
17705         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17706         * stdlib/nrand48.c (nrand48): Likewise.
17707         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17708         * stdlib/seed48.c (seed48): Likewise.
17709         * stdlib/seed48_r.c (__seed48_r): Likewise.
17710         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17711         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17712         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17714 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17716         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17717         * configure: Regenerated.
17718         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17719         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17720         unconditional.
17721         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17722         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17723         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17724         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17725         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17726         unconditional.
17727         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17729         * posix/Makefile (CFLAGS-regex.c): Remove variable.
17730         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17732         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17733         function definition.
17734         * crypt/crypt_util.c (__encrypt_r): Likewise.
17735         * libio/genops.c (_IO_no_init): Likewise.
17736         * libio/iofopncook.c (_IO_fopencookie): Likewise.
17737         (_IO_old_fopencookie): Likewise.
17738         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17739         * libio/iogetline.c (_IO_getline): Likewise.
17740         (_IO_getline_info): Likewise.
17741         * libio/iogetwline.c (_IO_getwline): Likewise.
17742         (_IO_getwline_info): Likewise.
17743         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17744         * libio/vswprintf.c (_IO_vswprintf): Likewise.
17745         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17746         (find_entry): Likewise.
17747         (iterate_table): Likewise.
17748         (lookup): Likewise.
17749         * login/forkpty.c (forkpty): Likewise.
17750         * misc/hsearch_r.c (__hsearch_r): Likewise.
17751         * misc/select.c (__select): Likewise.
17752         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17753         Likewise.
17754         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17755         Likewise.
17756         * nptl/old_pthread_cond_timedwait.c
17757         (__pthread_cond_timedwait_2_0): Likewise.
17758         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17759         * nptl/pthread_barrierattr_getpshared.c
17760         (pthread_barrierattr_getpshared): Likewise.
17761         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17762         Likewise.
17763         * nptl/pthread_mutex_setprioceiling.c
17764         (pthread_mutex_setprioceiling): Likewise.
17765         * nptl/pthread_mutexattr_getprioceiling.c
17766         (pthread_mutexattr_getprioceiling): Likewise.
17767         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17768         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17769         Likewise.
17770         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17771         Likewise.
17772         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17773         Likewise.
17774         * socket/recvfrom.c (__recvfrom): Likewise.
17775         * socket/sendto.c (__sendto): Likewise.
17776         * socket/setsockopt.c (__setsockopt): Likewise.
17777         * stdio-common/_itoa.c (_itoa): Likewise.
17778         * stdio-common/_itowa.c (_itowa): Likewise.
17779         * stdio-common/reg-printf.c (__register_printf_specifier):
17780         Likewise.
17781         (__register_printf_function): Likewise.
17782         * stdio-common/tempname.c (__path_search): Likewise.
17783         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17784         * stdlib/mul_1.c (mpn_mul_1): Likewise.
17785         * stdlib/random_r.c (__initstate_r): Likewise.
17786         * stdlib/setenv.c (__add_to_environ): Likewise.
17787         * stdlib/submul_1.c (mpn_submul_1): Likewise.
17788         * streams/getpmsg.c (getpmsg): Likewise.
17789         * streams/putmsg.c (putmsg): Likewise.
17790         * streams/putpmsg.c (putpmsg): Likewise.
17791         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17792         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17793         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17794         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17795         * sunrpc/pm_getport.c (pmap_getport): Likewise.
17796         * sunrpc/svc_udp.c (cache_get): Likewise.
17797         * sunrpc/xdr_array.c (xdr_vector): Likewise.
17798         * sysdeps/mach/hurd/getcwd.c
17799         (__canonicalize_directory_name_internal): Likewise.
17800         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17801         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17802         * sysdeps/mach/hurd/select.c (__select): Likewise.
17803         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17804         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17805         * sysdeps/sparc/nptl/pthread_barrier_init.c
17806         (__pthread_barrier_init): Likewise.
17807         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17808         (__pthread_cond_timedwait): Likewise.
17809         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17810         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17811         Likewise.
17812         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17813         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17814         Likewise.
17815         * sysvipc/semtimedop.c (semtimedop): Likewise.
17816         * time/setitimer.c (__setitimer): Likewise.
17817         * time/strftime_l.c (emacs_strftime): Likewise.
17819 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17821         * config.make.in (have-ssp): Delete.
17822         (stack-protector): New variable.
17823         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
17824         cache test for -fstack-protector-strong.  Export stack_protector to
17825         the best ssp flag.
17826         * configure: Regenerated.
17827         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17828         * nscd/Makefile (CFLAGS-nscd): Likewise.
17829         * resolv/Makefile (CFLAGS-libresolv): Likewise.
17831 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
17833         [BZ #19122]
17834         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17835         attribute_hidden.
17837 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17839         [BZ #18743]
17840         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17841         code to...
17842         (ELIDE_LOCK): ...here.
17843         (__get_new_count): New function with part of the code from
17844         __elide_lock that updates the value of adapt_count after a
17845         transaction abort.
17846         (__elided_trylock): Moved this code to...
17847         (ELIDE_TRYLOCK): ...here.
17849 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
17851         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17852         * configure: Regenerate.
17853         * INSTALL: Regenerate.
17854         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17855         and tweak grammar.
17857 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
17859         * login/programs/pt_chown.c: Include signal.h
17860         (main): Clear any signal mask from the parent process.
17862 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
17864         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17865         * configure: Regenerated.
17866         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17867         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17868         $(gnu89-inline-CFLAGS).
17870         * configure.ac (libc_cv_asm_weak_directive): Remove configure
17871         test.
17872         (libc_cv_asm_weakext_directive): Likewise.
17873         * configure: Regenerated.
17874         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17875         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17876         * include/libc-symbols.h
17877         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17878         #error.
17879         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17880         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17882         * sysdeps/arm/backtrace.c (__backtrace): Convert to
17883         prototype-style function definition.
17884         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17885         * sysdeps/i386/ffs.c (__ffs): Likewise.
17886         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17887         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17888         Likewise.
17889         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17890         Likewise.
17891         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17893         Likewise.
17894         * sysdeps/m68k/ffs.c (__ffs): Likewise.
17895         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17896         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17897         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17898         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17899         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17900         * sysdeps/mach/hurd/access.c (__access): Likewise.
17901         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17902         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17903         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17904         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17905         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17906         (cthread_getspecific): Likewise.
17907         (cthread_setspecific): Likewise.
17908         (__libc_getspecific): Likewise.
17909         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17910         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17911         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17912         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17913         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17914         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17915         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17916         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17917         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17918         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17919         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17920         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17921         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17922         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17923         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17924         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17925         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17926         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17927         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17928         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17929         * sysdeps/mach/hurd/link.c (__link): Likewise.
17930         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17931         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17932         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17933         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17934         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17935         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17936         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17937         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17938         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17939         * sysdeps/mach/hurd/rename.c (rename): Likewise.
17940         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17941         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17942         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17943         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17944         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17945         * sysdeps/mach/hurd/send.c (__send): Likewise.
17946         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17947         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17948         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17949         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17950         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17951         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17952         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17953         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17954         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17955         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17956         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17957         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17958         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17959         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17960         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17961         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17962         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17963         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17964         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17965         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17966         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17967         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17968         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17969         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17970         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17971         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17972         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17973         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17974         * sysdeps/posix/alarm.c (alarm): Likewise.
17975         * sysdeps/posix/cuserid.c (cuserid): Likewise.
17976         * sysdeps/posix/dirfd.c (dirfd): Likewise.
17977         * sysdeps/posix/dup.c (__dup): Likewise.
17978         * sysdeps/posix/dup2.c (__dup2): Likewise.
17979         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17980         (main): Likewise.
17981         * sysdeps/posix/flock.c (__flock): Likewise.
17982         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17983         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17984         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17985         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17986         * sysdeps/posix/isatty.c (__isatty): Likewise.
17987         * sysdeps/posix/killpg.c (killpg): Likewise.
17988         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17989         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17990         * sysdeps/posix/raise.c (raise): Likewise.
17991         * sysdeps/posix/remove.c (remove): Likewise.
17992         * sysdeps/posix/rename.c (rename): Likewise.
17993         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17994         * sysdeps/posix/seekdir.c (seekdir): Likewise.
17995         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17996         * sysdeps/posix/sigignore.c (sigignore): Likewise.
17997         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17998         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17999         * sysdeps/posix/sigset.c (sigset): Likewise.
18000         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
18001         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
18002         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
18003         * sysdeps/posix/time.c (time): Likewise.
18004         * sysdeps/posix/ttyname.c (getttyname): Likewise.
18005         (ttyname): Likewise.
18006         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
18007         * sysdeps/posix/utime.c (utime): Likewise.
18008         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
18009         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
18010         Likewise.
18011         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
18012         (pthread_spin_trylock): Likewise.
18013         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
18014         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
18015         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
18016         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
18017         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
18018         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
18019         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
18020         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
18021         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
18022         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
18023         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
18024         * sysdeps/s390/ffs.c (__ffs): Likewise.
18025         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
18026         Likewise.
18027         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
18028         Likewise.
18029         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
18030         Likewise.
18031         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
18032         (pthread_barrier_destroy): Likewise.
18033         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18034         (__pthread_barrier_wait): Likewise.
18035         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
18036         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18037         (__pthread_barrier_wait): Likewise.
18038         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
18039         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
18040         (memcmp_not_common_alignment): Likewise.
18041         (MEMCMP): Likewise.
18042         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
18043         (_wordcopy_fwd_dest_aligned): Likewise.
18044         (_wordcopy_bwd_aligned): Likewise.
18045         (_wordcopy_bwd_dest_aligned): Likewise.
18046         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
18047         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
18048         * sysdeps/unix/bsd/stty.c (stty): Likewise.
18049         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
18050         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
18051         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
18052         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
18053         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
18054         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
18055         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
18056         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
18057         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
18058         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
18059         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
18060         * sysdeps/unix/stime.c (stime): Likewise.
18061         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
18062         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
18063         Likewise.  Use internal_function.
18064         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
18065         Convert to prototype-style function definition.
18066         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18067         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18068         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
18069         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18070         Likewise.  Use internal_function.
18071         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
18072         prototype-style function definition
18073         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18074         Likewise.
18075         (__getlogin_r): Likewise.
18076         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18077         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18078         (__pthread_cond_broadcast): Likewise.
18079         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18080         (__pthread_cond_destroy): Likewise.
18081         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18082         (__pthread_cond_init): Likewise.
18083         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18084         (__pthread_cond_signal): Likewise.
18085         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18086         (__pthread_cond_wait): Likewise.
18087         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18088         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18089         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18090         Likewise.
18091         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18092         Likewise.
18093         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18094         Likewise.
18095         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18096         Likewise.
18097         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18099         (__ftruncate64): Likewise.
18100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18101         (truncate64): Likewise.
18102         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18103         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18104         (pthread_getcpuclockid): Likewise.
18105         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18108         Likewise.
18109         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18110         Likewise.
18111         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18112         Likewise.
18113         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18114         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18115         (__libc_sigaction): Likewise.
18116         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18117         Likewise.
18118         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18119         (__sigprocmask): Likewise.
18120         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18121         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18122         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18123         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18124         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18125         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18126         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18127         Likewise.
18128         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18129         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18130         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18131         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18132         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18133         Likewise.
18134         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18135         (__sigprocmask): Likewise.
18136         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
18137         (cfgetispeed): Likewise.
18138         (cfsetospeed): Likewise.
18139         (cfsetispeed): Likewise.
18140         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
18141         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
18142         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18143         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18144         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
18145         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
18146         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
18147         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
18148         Likewise.
18149         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
18150         Likewise.
18151         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
18152         Likewise.
18153         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18154         Likewise.
18155         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18157 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18159         sunrpc: Rewrite with explicit TLS access using __thread.
18160         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
18161         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
18162         directly.
18163         (__rpc_thread_variables): Access thread_rpc_vars directly.
18164         Eliminate redundant assignment of the tvp variable.
18166 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18168         malloc: Rewrite with explicit TLS access using __thread.
18169         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
18170         (tsd_setspecific, tsd_getspecific): Remove.
18171         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
18172         (tsd_setspecific, tsd_getspecific): Likewise.
18173         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
18174         (tsd_setspecific, tsd_getspecific): Likewise.
18175         * malloc/arena.c (thread_arena): New TLS variable.
18176         (arena_key): Remove variable.
18177         (arena_get): Use thread_arena.
18178         (arena_lookup): Remove macro.
18179         (malloc_atfork, free_atfork, ptmalloc_lock_all)
18180         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
18181         (_int_new_arena, get_free_list, reused_arena)
18182         (arena_thread_freeres): Use thread_arena.
18183         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
18184         tsd_getspecific, tsd_setspecific from safety annotations.
18185         (Allocating Cleared Space): Remove arena_lookup from safety
18186         annotations.
18188 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18190         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
18191         struct scratch_buffer instead of extend_alloca.
18193 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18195         * sysdeps/unix/sysv/linux/kernel-features.h
18196         (__ASSUME_SOCK_CLOEXEC): Remove.
18197         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
18198         (__have_paccept): Remove unused macro.
18199         * include/unistd.h (__have_sock_cloexec): Remove declaration.
18200         * misc/syslog.c (openlog_internal): Remove fallback code for
18201         !__ASSUME_SOCK_CLOEXEC.
18202         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
18203         missing SOCK_CLOEXEC.
18204         * nscd/connections.c (have_sock_cloexec): Remove definition.
18205         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18206         * nscd/nscd_helper.c (open_socket): Remove fallback code for
18207         !__ASSUME_SOCK_CLOEXEC.
18208         * resolv/res_send.c (__have_o_nonblock): Remove definition.
18209         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18210         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
18211         definition.
18212         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
18213         code for !__ASSUME_SOCK_CLOEXEC.
18215 2015-10-17  Florian Weimer  <fweimer@redhat.com>
18217         [BZ #18982]
18218         * manual/stdio.texi (Variable Arguments Output): Add portability
18219         note, explaining that vfprintf clobbers the va_list pointer.
18221 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
18223         * math/libm-test.inc (fabs_test_data): Add more tests.
18224         (fdim_test_data): Likewise.
18225         (fma_test_data): Likewise.
18226         (fmax_test_data): Likewise.
18227         (fmin_test_data): Likewise.
18228         (fmod_test_data): Likewise.
18230 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
18232         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
18233         data.
18235 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
18237         * math/libm-test.inc (ceil_test_data): Add more tests and more
18238         expectations for "inexact".
18239         (floor_test_data): Add more tests.
18240         (round_test_data): Likewise.
18241         (trunc_test_data): Likewise.
18243         * crypt/cert.c (good_bye): Convert to prototype-style function
18244         definition.
18245         (get8): Likewise.
18246         (put8): Likewise.
18247         * crypt/crypt-entry.c (crypt): Likewise.
18248         (__fcrypt): Likewise.
18249         * crypt/crypt_util.c (_ufc_prbits): Likewise.
18250         (_ufc_set_bits): Likewise.
18251         (_ufc_clearmem): Likewise.
18252         (__init_des_r): Likewise.
18253         (shuffle_sb): Likewise.
18254         (shuffle_sb): Likewise.
18255         (_ufc_setup_salt_r): Likewise.
18256         (_ufc_mk_keytab_r): Likewise.
18257         (_ufc_dofinalperm_r): Likewise.
18258         (encrypt): Likewise.
18259         (__setkey_r): Likewise.
18260         (setkey): Likewise.
18261         * crypt/md5.c (md5_init_ctx): Likewise.
18262         (md5_read_ctx): Likewise.
18263         (md5_finish_ctx): Likewise.
18264         (md5_stream): Likewise.
18265         (md5_buffer): Likewise.
18266         (md5_process_bytes): Likewise.
18267         * crypt/sha256.c (__sha256_init_ctx): Likewise.
18268         (__sha256_finish_ctx): Likewise.
18269         (__sha256_process_bytes): Likewise.
18270         * crypt/sha512.c (__sha512_init_ctx): Likewise.
18271         (__sha512_finish_ctx): Likewise.
18272         (__sha512_process_bytes): Likewise.
18273         * ctype/isctype.c (__isctype): Likewise.
18274         * debug/backtrace.c (__backtrace): Likewise.
18275         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
18276         * debug/fgets_chk.c (__fgets_chk): Likewise.
18277         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
18278         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
18279         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18280         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18281         * debug/memset_chk.c (__memset_chk): Likewise.
18282         * debug/strcat_chk.c (__strcat_chk): Likewise.
18283         * debug/strncat_chk.c (__strncat_chk): Likewise.
18284         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
18285         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
18286         * dirent/dirfd.c (dirfd): Likewise.
18287         * dirent/getdents.c (__getdirentries): Likewise.
18288         * dirent/getdents64.c (getdirentries64): Likewise.
18289         * dirent/rewinddir.c (__rewinddir): Likewise.
18290         * dirent/seekdir.c (seekdir): Likewise.
18291         * dirent/telldir.c (telldir): Likewise.
18292         * elf/sln.c (makesymlinks): Likewise.
18293         (makesymlink): Likewise.
18294         * gmon/gmon.c (__moncontrol): Likewise.
18295         (__monstartup): Likewise.
18296         (write_hist): Likewise.
18297         (write_call_graph): Likewise.
18298         (write_bb_counts): Likewise.
18299         * grp/setgroups.c (setgroups): Likewise.
18300         * inet/inet_lnaof.c (inet_lnaof): Likewise.
18301         * inet/inet_net.c (inet_network): Likewise.
18302         * inet/inet_netof.c (inet_netof): Likewise.
18303         * inet/rcmd.c (rresvport_af): Likewise.
18304         (rresvport): Likewise.
18305         * io/access.c (__access): Likewise.
18306         * io/chdir.c (__chdir): Likewise.
18307         * io/chmod.c (__chmod): Likewise.
18308         * io/chown.c (__chown): Likewise.
18309         * io/close.c (__close): Likewise.
18310         * io/creat.c (creat): Likewise.
18311         * io/creat64.c (creat64): Likewise.
18312         * io/dup.c (__dup): Likewise.
18313         * io/dup2.c (__dup2): Likewise.
18314         * io/dup3.c (__dup3): Likewise.
18315         * io/euidaccess.c (__euidaccess): Likewise.
18316         * io/faccessat.c (faccessat): Likewise.
18317         * io/fchmod.c (__fchmod): Likewise.
18318         * io/fchmodat.c (fchmodat): Likewise.
18319         * io/fchown.c (__fchown): Likewise.
18320         * io/fchownat.c (fchownat): Likewise.
18321         * io/fcntl.c (__fcntl): Likewise.
18322         * io/flock.c (__flock): Likewise.
18323         * io/fts.c (fts_load): Likewise.
18324         (fts_close): Likewise.
18325         (fts_read): Likewise.
18326         (fts_set): Likewise.
18327         (fts_children): Likewise.
18328         (fts_build): Likewise.
18329         (fts_stat): Likewise.
18330         (fts_sort): Likewise.
18331         (fts_alloc): Likewise.
18332         (fts_lfree): Likewise.
18333         (fts_palloc): Likewise.
18334         (fts_padjust): Likewise.
18335         (fts_maxarglen): Likewise.
18336         (fts_safe_changedir): Likewise.
18337         * io/getwd.c (getwd): Likewise.
18338         * io/isatty.c (__isatty): Likewise.
18339         * io/lchown.c (__lchown): Likewise.
18340         * io/link.c (__link): Likewise.
18341         * io/linkat.c (linkat): Likewise.
18342         * io/lseek.c (__libc_lseek): Likewise.
18343         * io/mkdir.c (__mkdir): Likewise.
18344         * io/mkdirat.c (mkdirat): Likewise.
18345         * io/mkfifo.c (mkfifo): Likewise.
18346         * io/mkfifoat.c (mkfifoat): Likewise.
18347         * io/open.c (__libc_open): Likewise.
18348         * io/open64.c (__libc_open64): Likewise.
18349         * io/readlink.c (__readlink): Likewise.
18350         * io/readlinkat.c (readlinkat): Likewise.
18351         * io/rmdir.c (__rmdir): Likewise.
18352         * io/symlink.c (__symlink): Likewise.
18353         * io/symlinkat.c (symlinkat): Likewise.
18354         * io/ttyname.c (ttyname): Likewise.
18355         * io/ttyname_r.c (__ttyname_r): Likewise.
18356         * io/umask.c (__umask): Likewise.
18357         * io/unlink.c (__unlink): Likewise.
18358         * io/unlinkat.c (unlinkat): Likewise.
18359         * io/utime.c (utime): Likewise.
18360         * libio/clearerr.c (clearerr): Likewise.
18361         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18362         * libio/feof.c (_IO_feof): Likewise.
18363         * libio/feof_u.c (feof_unlocked): Likewise.
18364         * libio/ferror.c (_IO_ferror): Likewise.
18365         * libio/ferror_u.c (ferror_unlocked): Likewise.
18366         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18367         * libio/fileno.c (__fileno): Likewise.
18368         * libio/fputc.c (fputc): Likewise.
18369         * libio/fputc_u.c (fputc_unlocked): Likewise.
18370         * libio/fputwc.c (fputwc): Likewise.
18371         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18372         * libio/freopen.c (freopen): Likewise.
18373         * libio/freopen64.c (freopen64): Likewise.
18374         * libio/fseek.c (fseek): Likewise.
18375         * libio/fseeko.c (fseeko): Likewise.
18376         * libio/fseeko64.c (fseeko64): Likewise.
18377         * libio/ftello.c (__ftello): Likewise.
18378         * libio/ftello64.c (ftello64): Likewise.
18379         * libio/fwide.c (fwide): Likewise.
18380         * libio/genops.c (_IO_un_link): Likewise.
18381         (_IO_link_in): Likewise.
18382         (_IO_least_marker): Likewise.
18383         (_IO_switch_to_main_get_area): Likewise.
18384         (_IO_switch_to_backup_area): Likewise.
18385         (_IO_switch_to_get_mode): Likewise.
18386         (_IO_free_backup_area): Likewise.
18387         (_IO_switch_to_put_mode): Likewise.
18388         (__overflow): Likewise.
18389         (__underflow): Likewise.
18390         (__uflow): Likewise.
18391         (_IO_setb): Likewise.
18392         (_IO_doallocbuf): Likewise.
18393         (_IO_default_underflow): Likewise.
18394         (_IO_default_uflow): Likewise.
18395         (_IO_default_xsputn): Likewise.
18396         (_IO_sgetn): Likewise.
18397         (_IO_default_xsgetn): Likewise.
18398         (_IO_sync): Likewise.
18399         (_IO_default_setbuf): Likewise.
18400         (_IO_default_seekpos): Likewise.
18401         (_IO_default_doallocate): Likewise.
18402         (_IO_init): Likewise.
18403         (_IO_old_init): Likewise.
18404         (_IO_default_sync): Likewise.
18405         (_IO_default_finish): Likewise.
18406         (_IO_default_seekoff): Likewise.
18407         (_IO_sputbackc): Likewise.
18408         (_IO_sungetc): Likewise.
18409         (_IO_set_column): Likewise.
18410         (_IO_set_column): Likewise.
18411         (_IO_adjust_column): Likewise.
18412         (_IO_get_column): Likewise.
18413         (_IO_init_marker): Likewise.
18414         (_IO_remove_marker): Likewise.
18415         (_IO_marker_difference): Likewise.
18416         (_IO_marker_delta): Likewise.
18417         (_IO_seekmark): Likewise.
18418         (_IO_unsave_markers): Likewise.
18419         (_IO_nobackup_pbackfail): Likewise.
18420         (_IO_default_pbackfail): Likewise.
18421         (_IO_default_seek): Likewise.
18422         (_IO_default_stat): Likewise.
18423         (_IO_default_read): Likewise.
18424         (_IO_default_write): Likewise.
18425         (_IO_default_showmanyc): Likewise.
18426         (_IO_default_imbue): Likewise.
18427         (_IO_iter_next): Likewise.
18428         (_IO_iter_file): Likewise.
18429         * libio/getc.c (_IO_getc): Likewise.
18430         * libio/getwc.c (_IO_getwc): Likewise.
18431         * libio/iofclose.c (_IO_new_fclose): Likewise.
18432         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18433         * libio/iofflush.c (_IO_fflush): Likewise.
18434         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18435         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18436         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18437         * libio/iofgets.c (_IO_fgets): Likewise.
18438         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18439         * libio/iofgetws.c (fgetws): Likewise.
18440         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18441         * libio/iofopen64.c (_IO_fopen64): Likewise.
18442         * libio/iofopncook.c (_IO_cookie_read): Likewise.
18443         (_IO_cookie_write): Likewise.
18444         (_IO_cookie_seek): Likewise.
18445         (_IO_cookie_close): Likewise.
18446         (_IO_cookie_seekoff): Likewise.
18447         (_IO_old_cookie_seek): Likewise.
18448         * libio/iofputs.c (_IO_fputs): Likewise.
18449         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18450         * libio/iofputws.c (fputws): Likewise.
18451         * libio/iofputws_u.c (fputws_unlocked): Likewise.
18452         * libio/iofread.c (_IO_fread): Likewise.
18453         * libio/iofread_u.c (__fread_unlocked): Likewise.
18454         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18455         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18456         * libio/ioftell.c (_IO_ftell): Likewise.
18457         * libio/iofwrite.c (_IO_fwrite): Likewise.
18458         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18459         * libio/iogets.c (_IO_gets): Likewise.
18460         * libio/iopadn.c (_IO_padn): Likewise.
18461         * libio/iopopen.c (_IO_new_proc_open): Likewise.
18462         (_IO_new_popen): Likewise.
18463         (_IO_new_proc_close): Likewise.
18464         * libio/ioputs.c (_IO_puts): Likewise.
18465         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18466         (_IO_seekoff): Likewise.
18467         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18468         (_IO_seekpos): Likewise.
18469         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18470         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18471         * libio/ioungetc.c (_IO_ungetc): Likewise.
18472         * libio/ioungetwc.c (ungetwc): Likewise.
18473         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18474         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18475         * libio/iowpadn.c (_IO_wpadn): Likewise.
18476         * libio/libc_fatal.c (__libc_fatal): Likewise.
18477         * libio/memstream.c (__open_memstream): Likewise.
18478         (_IO_mem_sync): Likewise.
18479         (_IO_mem_finish): Likewise.
18480         * libio/oldfileops.c (_IO_old_file_init): Likewise.
18481         (_IO_old_file_close_it): Likewise.
18482         (_IO_old_file_finish): Likewise.
18483         (_IO_old_file_fopen): Likewise.
18484         (_IO_old_file_attach): Likewise.
18485         (_IO_old_file_setbuf): Likewise.
18486         (_IO_old_do_write): Likewise.
18487         (old_do_write): Likewise.
18488         (_IO_old_file_underflow): Likewise.
18489         (_IO_old_file_overflow): Likewise.
18490         (_IO_old_file_sync): Likewise.
18491         (_IO_old_file_seekoff): Likewise.
18492         (_IO_old_file_write): Likewise.
18493         (_IO_old_file_xsputn): Likewise.
18494         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18495         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18496         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18497         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18498         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18499         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18500         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18501         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18502         (_IO_old_popen): Likewise.
18503         (_IO_old_proc_close): Likewise.
18504         * libio/oldpclose.c (__old_pclose): Likewise.
18505         * libio/pclose.c (__new_pclose): Likewise.
18506         * libio/peekc.c (_IO_peekc_locked): Likewise.
18507         * libio/putc.c (_IO_putc): Likewise.
18508         * libio/putc_u.c (putc_unlocked): Likewise.
18509         * libio/putchar.c (putchar): Likewise.
18510         * libio/putchar_u.c (putchar_unlocked): Likewise.
18511         * libio/putwc.c (putwc): Likewise.
18512         * libio/putwc_u.c (putwc_unlocked): Likewise.
18513         * libio/putwchar.c (putwchar): Likewise.
18514         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18515         * libio/rewind.c (rewind): Likewise.
18516         * libio/setbuf.c (setbuf): Likewise.
18517         * libio/setlinebuf.c (setlinebuf): Likewise.
18518         * libio/vasprintf.c (_IO_vasprintf): Likewise.
18519         * libio/vscanf.c (_IO_vscanf): Likewise.
18520         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18521         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18522         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18523         * libio/wgenops.c (_IO_least_wmarker): Likewise.
18524         (_IO_switch_to_main_wget_area): Likewise.
18525         (_IO_switch_to_wbackup_area): Likewise.
18526         (_IO_wsetb): Likewise.
18527         (_IO_wdefault_pbackfail): Likewise.
18528         (_IO_wdefault_finish): Likewise.
18529         (_IO_wdefault_uflow): Likewise.
18530         (__woverflow): Likewise.
18531         (__wuflow): Likewise.
18532         (__wunderflow): Likewise.
18533         (_IO_wdefault_xsputn): Likewise.
18534         (_IO_wdefault_xsgetn): Likewise.
18535         (_IO_wdoallocbuf): Likewise.
18536         (_IO_wdefault_doallocate): Likewise.
18537         (_IO_switch_to_wget_mode): Likewise.
18538         (_IO_free_wbackup_area): Likewise.
18539         (_IO_switch_to_wput_mode): Likewise.
18540         (_IO_sputbackwc): Likewise.
18541         (_IO_sungetwc): Likewise.
18542         (_IO_adjust_wcolumn): Likewise.
18543         (_IO_init_wmarker): Likewise.
18544         (_IO_wmarker_delta): Likewise.
18545         (_IO_seekwmark): Likewise.
18546         (_IO_unsave_wmarkers): Likewise.
18547         * libio/wmemstream.c (open_wmemstream): Likewise.
18548         (_IO_wmem_sync): Likewise.
18549         (_IO_wmem_finish): Likewise.
18550         * locale/nl_langinfo.c (nl_langinfo): Likewise.
18551         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18552         * locale/programs/simple-hash.c (init_hash): Likewise.
18553         (delete_hash): Likewise.
18554         (insert_entry): Likewise.
18555         (set_entry): Likewise.
18556         (next_prime): Likewise.
18557         (is_prime): Likewise.
18558         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18559         (xmalloc): Likewise.
18560         (xrealloc): Likewise.
18561         * locale/programs/xstrdup.c (xstrdup): Likewise.
18562         * localedata/collate-test.c (xstrcoll): Likewise.
18563         * localedata/xfrm-test.c (xstrcmp): Likewise.
18564         * login/getlogin_r.c (__getlogin_r): Likewise.
18565         * login/getpt.c (__posix_openpt): Likewise.
18566         * login/login_tty.c (login_tty): Likewise.
18567         * login/setlogin.c (setlogin): Likewise.
18568         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18569         (mach_msg_destroy_port): Likewise.
18570         (mach_msg_destroy_memory): Likewise.
18571         * malloc/mcheck.c (flood): Likewise.
18572         * misc/acct.c (acct): Likewise.
18573         * misc/brk.c (__brk): Likewise.
18574         * misc/chflags.c (chflags): Likewise.
18575         * misc/chroot.c (chroot): Likewise.
18576         * misc/fchflags.c (fchflags): Likewise.
18577         * misc/fstab.c (getfsspec): Likewise.
18578         (getfsfile): Likewise.
18579         * misc/fsync.c (fsync): Likewise.
18580         * misc/ftruncate.c (__ftruncate): Likewise.
18581         * misc/ftruncate64.c (__ftruncate64): Likewise.
18582         * misc/getdomain.c (getdomainname): Likewise.
18583         (getdomainname): Likewise.
18584         * misc/gethostname.c (__gethostname): Likewise.
18585         * misc/getpass.c (getpass): Likewise.
18586         * misc/getttyent.c (skip): Likewise.
18587         (value): Likewise.
18588         * misc/gtty.c (gtty): Likewise.
18589         * misc/hsearch.c (hsearch): Likewise.
18590         (hcreate): Likewise.
18591         * misc/hsearch_r.c (__hcreate_r): Likewise.
18592         (__hdestroy_r): Likewise.
18593         * misc/ioctl.c (__ioctl): Likewise.
18594         * misc/mkdtemp.c (mkdtemp): Likewise.
18595         * misc/mkostemp.c (mkostemp): Likewise.
18596         * misc/mkostemp64.c (mkostemp64): Likewise.
18597         * misc/mkostemps.c (mkostemps): Likewise.
18598         * misc/mkostemps64.c (mkostemps64): Likewise.
18599         * misc/mkstemp.c (mkstemp): Likewise.
18600         * misc/mkstemp64.c (mkstemp64): Likewise.
18601         * misc/mkstemps.c (mkstemps): Likewise.
18602         * misc/mkstemps64.c (mkstemps64): Likewise.
18603         * misc/mktemp.c (__mktemp): Likewise.
18604         * misc/preadv.c (preadv): Likewise.
18605         * misc/preadv64.c (preadv64): Likewise.
18606         * misc/pwritev.c (pwritev): Likewise.
18607         * misc/pwritev64.c (pwritev64): Likewise.
18608         * misc/readv.c (__readv): Likewise.
18609         * misc/revoke.c (revoke): Likewise.
18610         * misc/setdomain.c (setdomainname): Likewise.
18611         * misc/setegid.c (setegid): Likewise.
18612         * misc/seteuid.c (seteuid): Likewise.
18613         * misc/sethostid.c (sethostid): Likewise.
18614         * misc/sethostname.c (sethostname): Likewise.
18615         * misc/setregid.c (__setregid): Likewise.
18616         * misc/setreuid.c (__setreuid): Likewise.
18617         * misc/sstk.c (sstk): Likewise.
18618         * misc/stty.c (stty): Likewise.
18619         * misc/syscall.c (syscall): Likewise.
18620         * misc/syslog.c (setlogmask): Likewise.
18621         * misc/truncate.c (__truncate): Likewise.
18622         * misc/truncate64.c (truncate64): Likewise.
18623         * misc/ualarm.c (ualarm): Likewise.
18624         * misc/usleep.c (usleep): Likewise.
18625         * misc/ustat.c (ustat): Likewise.
18626         * misc/writev.c (__writev): Likewise.
18627         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18628         * nptl/old_pthread_cond_broadcast.c
18629         (__pthread_cond_broadcast_2_0): Likewise.
18630         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18631         Likewise.
18632         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18633         Likewise.
18634         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18635         Likewise.
18636         * nptl/pt-raise.c (raise): Likewise.
18637         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18638         Likewise.
18639         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18640         * nptl/pthread_barrierattr_destroy.c
18641         (pthread_barrierattr_destroy): Likewise.
18642         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18643         Likewise.
18644         * nptl/pthread_barrierattr_setpshared.c
18645         (pthread_barrierattr_setpshared): Likewise.
18646         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18647         Likewise.
18648         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18649         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18650         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18651         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18652         Likewise.
18653         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18654         Likewise.
18655         * nptl/pthread_condattr_getpshared.c
18656         (pthread_condattr_getpshared): Likewise.
18657         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18658         Likewise.
18659         * nptl/pthread_condattr_setpshared.c
18660         (pthread_condattr_setpshared): Likewise.
18661         * nptl/pthread_detach.c (pthread_detach): Likewise.
18662         * nptl/pthread_equal.c (__pthread_equal): Likewise.
18663         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18664         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18665         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18666         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18667         Likewise.
18668         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18669         Likewise.
18670         * nptl/pthread_mutex_getprioceiling.c
18671         (pthread_mutex_getprioceiling): Likewise.
18672         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18673         Likewise.
18674         * nptl/pthread_mutexattr_getprotocol.c
18675         (pthread_mutexattr_getprotocol): Likewise.
18676         * nptl/pthread_mutexattr_getpshared.c
18677         (pthread_mutexattr_getpshared): Likewise.
18678         * nptl/pthread_mutexattr_getrobust.c
18679         (pthread_mutexattr_getrobust): Likewise.
18680         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18681         Likewise.
18682         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18683         Likewise.
18684         * nptl/pthread_mutexattr_setprioceiling.c
18685         (pthread_mutexattr_setprioceiling): Likewise.
18686         * nptl/pthread_mutexattr_setprotocol.c
18687         (pthread_mutexattr_setprotocol): Likewise.
18688         * nptl/pthread_mutexattr_setpshared.c
18689         (pthread_mutexattr_setpshared): Likewise.
18690         * nptl/pthread_mutexattr_setrobust.c
18691         (pthread_mutexattr_setrobust): Likewise.
18692         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18693         Likewise.
18694         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18695         Likewise.
18696         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18697         Likewise.
18698         * nptl/pthread_rwlockattr_getkind_np.c
18699         (pthread_rwlockattr_getkind_np): Likewise.
18700         * nptl/pthread_rwlockattr_getpshared.c
18701         (pthread_rwlockattr_getpshared): Likewise.
18702         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18703         Likewise.
18704         * nptl/pthread_rwlockattr_setkind_np.c
18705         (pthread_rwlockattr_setkind_np): Likewise.
18706         * nptl/pthread_rwlockattr_setpshared.c
18707         (pthread_rwlockattr_setpshared): Likewise.
18708         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18709         Likewise.
18710         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18711         Likewise.
18712         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18713         Likewise.
18714         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18715         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18716         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18717         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18718         * nptl/sem_close.c (sem_close): Likewise.
18719         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18720         * nptl/sem_init.c (__old_sem_init): Likewise.
18721         * nptl/sigaction.c (__sigaction): Likewise.
18722         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18723         * posix/_exit.c (_exit): Likewise.
18724         * posix/alarm.c (alarm): Likewise.
18725         * posix/confstr.c (confstr): Likewise.
18726         * posix/fpathconf.c (__fpathconf): Likewise.
18727         * posix/getgroups.c (__getgroups): Likewise.
18728         * posix/getpgid.c (__getpgid): Likewise.
18729         * posix/group_member.c (__group_member): Likewise.
18730         * posix/pathconf.c (__pathconf): Likewise.
18731         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18732         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18733         * posix/setgid.c (__setgid): Likewise.
18734         * posix/setpgid.c (__setpgid): Likewise.
18735         * posix/setuid.c (__setuid): Likewise.
18736         * posix/sleep.c (__sleep): Likewise.
18737         * posix/sysconf.c (__sysconf): Likewise.
18738         * posix/times.c (__times): Likewise.
18739         * posix/uname.c (__uname): Likewise.
18740         * posix/waitid.c (__waitid): Likewise.
18741         * pwd/getpw.c (__getpw): Likewise.
18742         * resolv/base64.c (b64_pton): Likewise.
18743         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18744         * resolv/gethnamaddr.c (Dprintf): Likewise.
18745         (gethostbyname): Likewise.
18746         (gethostbyname2): Likewise.
18747         (gethostbyaddr): Likewise.
18748         (_sethtent): Likewise.
18749         (_gethtbyname): Likewise.
18750         (_gethtbyname2): Likewise.
18751         (_gethtbyaddr): Likewise.
18752         (map_v4v6_address): Likewise.
18753         (map_v4v6_hostent): Likewise.
18754         (addrsort): Likewise.
18755         (ht_sethostent): Likewise.
18756         (ht_gethostbyname): Likewise.
18757         (ht_gethostbyaddr): Likewise.
18758         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18759         (inet_net_ntop_ipv4): Likewise.
18760         * resolv/inet_neta.c (inet_neta): Likewise.
18761         * resolv/inet_ntop.c (inet_ntop): Likewise.
18762         (inet_ntop4): Likewise.
18763         (inet_ntop6): Likewise.
18764         * resolv/inet_pton.c (__inet_pton): Likewise.
18765         (inet_pton4): Likewise.
18766         (inet_pton6): Likewise.
18767         * resolv/res_debug.c (loc_aton): Likewise.
18768         (loc_ntoa): Likewise.
18769         * resource/getpriority.c (__getpriority): Likewise.
18770         * resource/getrusage.c (__getrusage): Likewise.
18771         * resource/nice.c (nice): Likewise.
18772         * resource/setpriority.c (__setpriority): Likewise.
18773         * resource/setrlimit64.c (setrlimit64): Likewise.
18774         * resource/vlimit.c (vlimit): Likewise.
18775         * resource/vtimes.c (vtimes): Likewise.
18776         * rt/aio_error.c (aio_error): Likewise.
18777         * rt/aio_return.c (aio_return): Likewise.
18778         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18779         * signal/kill.c (__kill): Likewise.
18780         * signal/killpg.c (killpg): Likewise.
18781         * signal/raise.c (raise): Likewise.
18782         * signal/sigaction.c (__sigaction): Likewise.
18783         * signal/sigaddset.c (sigaddset): Likewise.
18784         * signal/sigaltstack.c (sigaltstack): Likewise.
18785         * signal/sigandset.c (sigandset): Likewise.
18786         * signal/sigblock.c (__sigblock): Likewise.
18787         * signal/sigdelset.c (sigdelset): Likewise.
18788         * signal/sigempty.c (sigemptyset): Likewise.
18789         * signal/sigfillset.c (sigfillset): Likewise.
18790         * signal/sighold.c (sighold): Likewise.
18791         * signal/sigignore.c (sigignore): Likewise.
18792         * signal/sigintr.c (siginterrupt): Likewise.
18793         * signal/sigisempty.c (sigisemptyset): Likewise.
18794         * signal/sigismem.c (sigismember): Likewise.
18795         * signal/signal.c (signal): Likewise.
18796         * signal/sigorset.c (sigorset): Likewise.
18797         * signal/sigpause.c (__sigpause): Likewise.
18798         * signal/sigpending.c (sigpending): Likewise.
18799         * signal/sigprocmask.c (__sigprocmask): Likewise.
18800         * signal/sigrelse.c (sigrelse): Likewise.
18801         * signal/sigreturn.c (__sigreturn): Likewise.
18802         * signal/sigset.c (sigset): Likewise.
18803         * signal/sigsetmask.c (__sigsetmask): Likewise.
18804         * signal/sigstack.c (sigstack): Likewise.
18805         * signal/sigsuspend.c (__sigsuspend): Likewise.
18806         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18807         * signal/sysv_signal.c (__sysv_signal): Likewise.
18808         * socket/accept.c (accept): Likewise.
18809         * socket/accept4.c (__libc_accept4): Likewise.
18810         * socket/bind.c (__bind): Likewise.
18811         * socket/connect.c (__connect): Likewise.
18812         * socket/getpeername.c (getpeername): Likewise.
18813         * socket/getsockname.c (__getsockname): Likewise.
18814         * socket/getsockopt.c (getsockopt): Likewise.
18815         * socket/listen.c (__listen): Likewise.
18816         * socket/recv.c (__recv): Likewise.
18817         * socket/recvmsg.c (__recvmsg): Likewise.
18818         * socket/send.c (__send): Likewise.
18819         * socket/sendmsg.c (__sendmsg): Likewise.
18820         * socket/shutdown.c (shutdown): Likewise.
18821         * socket/sockatmark.c (sockatmark): Likewise.
18822         * socket/socket.c (__socket): Likewise.
18823         * stdio-common/ctermid.c (ctermid): Likewise.
18824         * stdio-common/cuserid.c (cuserid): Likewise.
18825         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18826         * stdio-common/remove.c (remove): Likewise.
18827         * stdio-common/rename.c (rename): Likewise.
18828         * stdio-common/renameat.c (renameat): Likewise.
18829         * stdio-common/tempname.c (__gen_tempname): Likewise.
18830         * stdio-common/xbug.c (InitBuffer): Likewise.
18831         (AppendToBuffer): Likewise.
18832         (ReadFile): Likewise.
18833         * stdlib/a64l.c (a64l): Likewise.
18834         * stdlib/drand48_r.c (drand48_r): Likewise.
18835         * stdlib/getcontext.c (getcontext): Likewise.
18836         * stdlib/getenv.c (getenv): Likewise.
18837         * stdlib/l64a.c (l64a): Likewise.
18838         * stdlib/llabs.c (llabs): Likewise.
18839         * stdlib/lldiv.c (lldiv): Likewise.
18840         * stdlib/lrand48_r.c (lrand48_r): Likewise.
18841         * stdlib/mrand48_r.c (mrand48_r): Likewise.
18842         * stdlib/putenv.c (putenv): Likewise.
18843         * stdlib/random.c (__srandom): Likewise.
18844         (__initstate): Likewise.
18845         (__setstate): Likewise.
18846         * stdlib/random_r.c (__srandom_r): Likewise.
18847         (__setstate_r): Likewise.
18848         (__random_r): Likewise.
18849         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18850         * stdlib/setcontext.c (setcontext): Likewise.
18851         * stdlib/setenv.c (setenv): Likewise.
18852         (unsetenv): Likewise.
18853         * stdlib/srand48.c (srand48): Likewise.
18854         * stdlib/srand48_r.c (__srand48_r): Likewise.
18855         * stdlib/swapcontext.c (swapcontext): Likewise.
18856         * stdlib/system.c (__libc_system): Likewise.
18857         * stdlib/tst-strtod.c (expand): Likewise.
18858         * stdlib/tst-strtol.c (expand): Likewise.
18859         * stdlib/tst-strtoll.c (expand): Likewise.
18860         * streams/fattach.c (fattach): Likewise.
18861         * streams/fdetach.c (fdetach): Likewise.
18862         * streams/getmsg.c (getmsg): Likewise.
18863         * streams/isastream.c (isastream): Likewise.
18864         * string/ffs.c (__ffs): Likewise.
18865         * string/ffsll.c (ffsll): Likewise.
18866         * string/memcmp.c (memcmp_common_alignment): Likewise.
18867         (memcmp_not_common_alignment): Likewise.
18868         (MEMCMP): Likewise.
18869         * string/memcpy.c (memcpy): Likewise.
18870         * string/memmove.c (MEMMOVE): Likewise.
18871         * string/memset.c (memset): Likewise.
18872         * string/rawmemchr.c (RAWMEMCHR): Likewise.
18873         * string/strchrnul.c (STRCHRNUL): Likewise.
18874         * string/strerror.c (strerror): Likewise.
18875         * string/strndup.c (__strndup): Likewise.
18876         * string/strverscmp.c (__strverscmp): Likewise.
18877         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18878         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18879         (clnttcp_freeres): Likewise.
18880         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18881         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18882         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18883         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18884         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18885         (xdr_callhdr): Likewise.
18886         * sunrpc/rpcinfo.c (udpping): Likewise.
18887         (tcpping): Likewise.
18888         (pstatus): Likewise.
18889         (pmapdump): Likewise.
18890         (brdcst): Likewise.
18891         (deletereg): Likewise.
18892         (getprognum): Likewise.
18893         (getvers): Likewise.
18894         (get_inet_address): Likewise.
18895         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18896         * sunrpc/svc_udp.c (svcudp_create): Likewise.
18897         (svcudp_stat): Likewise.
18898         (svcudp_recv): Likewise.
18899         (svcudp_reply): Likewise.
18900         (svcudp_getargs): Likewise.
18901         (svcudp_freeargs): Likewise.
18902         (svcudp_destroy): Likewise.
18903         * sunrpc/xdr.c (xdr_bytes): Likewise.
18904         (xdr_netobj): Likewise.
18905         (xdr_string): Likewise.
18906         (xdr_wrapstring): Likewise.
18907         * sunrpc/xdr_float.c (xdr_float): Likewise.
18908         (xdr_double): Likewise.
18909         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18910         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18911         * sysvipc/ftok.c (ftok): Likewise.
18912         * sysvipc/msgctl.c (msgctl): Likewise.
18913         * sysvipc/msgget.c (msgget): Likewise.
18914         * sysvipc/msgrcv.c (msgrcv): Likewise.
18915         * sysvipc/msgsnd.c (msgsnd): Likewise.
18916         * sysvipc/semget.c (semget): Likewise.
18917         * sysvipc/semop.c (semop): Likewise.
18918         * sysvipc/shmat.c (shmat): Likewise.
18919         * sysvipc/shmctl.c (shmctl): Likewise.
18920         * sysvipc/shmdt.c (shmdt): Likewise.
18921         * sysvipc/shmget.c (shmget): Likewise.
18922         * termios/cfmakeraw.c (cfmakeraw): Likewise.
18923         * termios/speed.c (cfgetospeed): Likewise.
18924         (cfgetispeed): Likewise.
18925         (cfsetospeed): Likewise.
18926         (cfsetispeed): Likewise.
18927         * termios/tcflow.c (tcflow): Likewise.
18928         * termios/tcflush.c (tcflush): Likewise.
18929         * termios/tcgetattr.c (__tcgetattr): Likewise.
18930         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18931         * termios/tcgetsid.c (tcgetsid): Likewise.
18932         * termios/tcsendbrk.c (tcsendbreak): Likewise.
18933         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18934         * time/adjtime.c (__adjtime): Likewise.
18935         * time/dysize.c (dysize): Likewise.
18936         * time/ftime.c (ftime): Likewise.
18937         * time/getitimer.c (__getitimer): Likewise.
18938         * time/gettimeofday.c (__gettimeofday): Likewise.
18939         * time/gmtime.c (__gmtime_r): Likewise.
18940         (gmtime): Likewise.
18941         * time/localtime.c (__localtime_r): Likewise.
18942         (localtime): Likewise.
18943         * time/offtime.c (__offtime): Likewise.
18944         * time/settimeofday.c (__settimeofday): Likewise.
18945         * time/stime.c (stime): Likewise.
18946         * time/strftime_l.c (tm_diff): Likewise.
18947         (iso_week_days): Likewise.
18948         * time/strptime.c (strptime): Likewise.
18949         * time/time.c (time): Likewise.
18950         * time/timespec_get.c (timespec_get): Likewise.
18951         * time/tzset.c (tzset_internal): Likewise.
18952         (compute_change): Likewise.
18953         (__tz_compute): Likewise.
18954         * wcsmbs/btowc.c (__btowc): Likewise.
18955         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18956         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18957         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18958         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18959         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18960         * wcsmbs/wcscat.c (__wcscat): Likewise.
18961         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18962         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18963         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18964         * wcsmbs/wcscspn.c (wcscspn): Likewise.
18965         * wcsmbs/wcsdup.c (wcsdup): Likewise.
18966         * wcsmbs/wcslen.c (__wcslen): Likewise.
18967         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18968         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18969         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18970         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18971         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18972         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18973         * wcsmbs/wcsspn.c (wcsspn): Likewise.
18974         * wcsmbs/wcsstr.c (wcsstr): Likewise.
18975         * wcsmbs/wcstok.c (wcstok): Likewise.
18976         * wcsmbs/wctob.c (wctob): Likewise.
18977         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18978         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18979         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18980         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18981         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18982         * wcsmbs/wmemset.c (__wmemset): Likewise.
18983         * wctype/wcfuncs.c (__towlower): Likewise.
18984         (__towupper): Likewise.
18986         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18987         (lll_unlock_elision): Add adapt_count parameter.
18989 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
18991         * sysdeps/nptl/configure.ac: Do not give errors based on the
18992         results of top-level configure tests.
18993         * sysdeps/nptl/configure: Regenerated.
18995         * configure.ac (libc_cv_Bgroup): Remove configure test.
18996         * configure: Regenerated.
18997         * config.make.in (have-Bgroup): Remove variable.
18999         * configure.ac (sizeof_long_double): Remove configure test.
19000         * configure: Regenerated.
19001         * config.make.in (sizeof-long-double): Remove variable.
19003         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
19004         * configure: Regenerated.
19005         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
19006         variable.
19007         (exceptions): Likewise.
19008         * sysdeps/arm/configure: Regenerated.
19009         * config.make.in (exceptions): Remove variable.
19010         * Makeconfig (uses-callbacks): Use -fexceptions instead of
19011         $(exceptions).
19012         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
19013         (CFLAGS-vdprintf_chk.c): Likewise.
19014         (CFLAGS-printf_chk.c): Likewise.
19015         (CFLAGS-fprintf_chk.c): Likewise.
19016         (CFLAGS-vprintf_chk.c): Likewise.
19017         (CFLAGS-vfprintf_chk.c): Likewise.
19018         (CFLAGS-gets_chk.c): Likewise.
19019         (CFLAGS-fgets_chk.c): Likewise.
19020         (CFLAGS-fgets_u_chk.c): Likewise.
19021         (CFLAGS-fread_chk.c): Likewise.
19022         (CFLAGS-fread_u_chk.c): Likewise.
19023         (CFLAGS-wprintf_chk.c): Likewise.
19024         (CFLAGS-fwprintf_chk.c): Likewise.
19025         (CFLAGS-vwprintf_chk.c): Likewise.
19026         (CFLAGS-vfwprintf_chk.c): Likewise.
19027         (CFLAGS-fgetws_chk.c): Likewise.
19028         (CFLAGS-fgetws_u_chk.c): Likewise.
19029         * libio/Makefile (CFLAGS-fileops.c): Likewise.
19030         (CFLAGS-fputc.c): Likewise.
19031         (CFLAGS-fputwc.c): Likewise.
19032         (CFLAGS-freopen64.c): Likewise.
19033         (CFLAGS-freopen.c): Likewise.
19034         (CFLAGS-fseek.c): Likewise.
19035         (CFLAGS-fseeko64.c): Likewise.
19036         (CFLAGS-fseeko.c): Likewise.
19037         (CFLAGS-ftello64.c): Likewise.
19038         (CFLAGS-ftello.c): Likewise.
19039         (CFLAGS-fwide.c): Likewise.
19040         (CFLAGS-genops.c): Likewise.
19041         (CFLAGS-getc.c): Likewise.
19042         (CFLAGS-getchar.c): Likewise.
19043         (CFLAGS-getwc.c): Likewise.
19044         (CFLAGS-getwchar.c): Likewise.
19045         (CFLAGS-iofclose.c): Likewise.
19046         (CFLAGS-iofflush.c): Likewise.
19047         (CFLAGS-iofgetpos64.c): Likewise.
19048         (CFLAGS-iofgetpos.c): Likewise.
19049         (CFLAGS-iofgets.c): Likewise.
19050         (CFLAGS-iofgetws.c): Likewise.
19051         (CFLAGS-iofputs.c): Likewise.
19052         (CFLAGS-iofputws.c): Likewise.
19053         (CFLAGS-iofread.c): Likewise.
19054         (CFLAGS-iofsetpos64.c): Likewise.
19055         (CFLAGS-iofsetpos.c): Likewise.
19056         (CFLAGS-ioftell.c): Likewise.
19057         (CFLAGS-iofwrite.c): Likewise.
19058         (CFLAGS-iogetdelim.c): Likewise.
19059         (CFLAGS-iogetline.c): Likewise.
19060         (CFLAGS-iogets.c): Likewise.
19061         (CFLAGS-iogetwline.c): Likewise.
19062         (CFLAGS-ioputs.c): Likewise.
19063         (CFLAGS-ioseekoff.c): Likewise.
19064         (CFLAGS-ioseekpos.c): Likewise.
19065         (CFLAGS-iosetbuffer.c): Likewise.
19066         (CFLAGS-iosetvbuf.c): Likewise.
19067         (CFLAGS-ioungetc.c): Likewise.
19068         (CFLAGS-ioungetwc.c): Likewise.
19069         (CFLAGS-oldfileops.c): Likewise.
19070         (CFLAGS-oldiofclose.c): Likewise.
19071         (CFLAGS-oldiofgetpos64.c): Likewise.
19072         (CFLAGS-oldiofgetpos.c): Likewise.
19073         (CFLAGS-oldiofsetpos64.c): Likewise.
19074         (CFLAGS-oldiofsetpos.c): Likewise.
19075         (CFLAGS-peekc.c): Likewise.
19076         (CFLAGS-putc.c): Likewise.
19077         (CFLAGS-putchar.c): Likewise.
19078         (CFLAGS-putwc.c): Likewise.
19079         (CFLAGS-putwchar.c): Likewise.
19080         (CFLAGS-rewind.c): Likewise.
19081         (CFLAGS-wfileops.c): Likewise.
19082         (CFLAGS-wgenops.c): Likewise.
19083         (CFLAGS-oldiofopen.c): Likewise.
19084         (CFLAGS-iofopen.c): Likewise.
19085         (CFLAGS-iofopen64.c): Likewise.
19086         (CFLAGS-oldtmpfile.c): Likewise.
19087         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19088         (CFLAGS-fprintf.c): Likewise.
19089         (CFLAGS-printf.c): Likewise.
19090         (CFLAGS-vfwprintf.c): Likewise.
19091         (CFLAGS-vfscanf.c): Likewise.
19092         (CFLAGS-vfwscanf.c): Likewise.
19093         (CFLAGS-fscanf.c): Likewise.
19094         (CFLAGS-scanf.c): Likewise.
19095         (CFLAGS-isoc99_vfscanf.c): Likewise.
19096         (CFLAGS-isoc99_vscanf.c): Likewise.
19097         (CFLAGS-isoc99_fscanf.c): Likewise.
19098         (CFLAGS-isoc99_scanf.c): Likewise.
19099         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19100         (CFLAGS-isoc99_fwscanf.c): Likewise.
19101         (CFLAGS-isoc99_vwscanf.c): Likewise.
19102         (CFLAGS-isoc99_vfwscanf.c): Likewise.
19104         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19105         after mkstemp64.
19106         * login/tst-utmp.c (do_prepare): Likewise.
19107         * rt/tst-aio.c (do_prepare): Likewise.
19108         * rt/tst-aio64.c (do_prepare): Likewise.
19110 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19112         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19113         (__lll_lock_elision): Remove adapt_count decrement...
19114         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19115         (__lll_trylock_elision): Likewise.
19116         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19117         (__lll_unlock_elision): ... to here. And utilize
19118         new adapt_count parameter.
19119         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19120         (__lll_unlock_elision): Update to include adapt_count
19121         parameter.
19122         (lll_unlock_elision): Pass pointer to adapt_count
19123         variable.
19125 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19127         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19128         Add elision adapt_count parameter to list of arguments.
19129         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19130         (lll_unlock_elision): Update with new parameter list
19131         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19132         (lll_unlock_elision): Likewise.
19133         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19134         (lll_unlock_elision): Likewise.
19136 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19138         [BZ #19122]
19139         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
19140         attribute_hidden.
19142         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19143         attribute_hidden.
19144         [IS_IN (rtld)] (__strdup): Likewise.
19145         [IS_IN (rtld)] (__strerror_r): Likewise.
19146         [IS_IN (rtld)] (__strsep_g): Likewise.
19147         [IS_IN (rtld)] (memchr): Likewise.
19148         [IS_IN (rtld)] (memcmp): Likewise.
19149         [IS_IN (rtld)] (memcpy): Likewise.
19150         [IS_IN (rtld)] (memmove): Likewise.
19151         [IS_IN (rtld)] (memset): Likewise.
19152         [IS_IN (rtld)] (rawmemchr): Likewise.
19153         [IS_IN (rtld)] (stpcpy): Likewise.
19154         [IS_IN (rtld)] (strchr): Likewise.
19155         [IS_IN (rtld)] (strcmp): Likewise.
19156         [IS_IN (rtld)] (strlen): Likewise.
19157         [IS_IN (rtld)] (strnlen): Likewise.
19158         [IS_IN (rtld)] (strsep): Likewise.
19160         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
19161         attribute_hidden.
19162         [IS_IN (rtld)] (__strtoul_internal): Likewise.
19164         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
19165         attribute_hidden.
19166         [IS_IN (rtld)] (__libc_sigaction): Likewise.
19168         * include/setjmp.h (__longjmp): Add attribute_hidden.
19169         [IS_IN (rtld)] (__sigsetjmp): Likewise.
19171         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
19172         Add attribute_hidden.
19174         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
19175         [IS_IN (rtld)] (__open): Likewise.
19176         [IS_IN (rtld)] (__fcntl): Likewise.
19178         * include/dirent.h (__opendirat): Add attribute_hidden.
19179         (__getdents): Likewise.
19180         (__getdents64): Likewise.
19181         (__alloc_dir): Likewise.
19182         [IS_IN (rtld)] (__closedir): Likewise.
19183         [IS_IN (rtld)] (__fdopendir): Likewise.
19184         [IS_IN (rtld)] (__readdir): Likewise.
19185         [IS_IN (rtld)] (__readdir64): Likewise.
19186         [IS_IN (rtld)] (__rewinddir): Likewise.
19188         * include/dlfcn.h (_dl_catch_error): Moved to ...
19189         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
19190         attribute_hidden.
19192         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
19193         (_itoa_word): Likewise.
19195         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
19196         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
19197         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
19198         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
19199         (_dl_higher_prime_number): Likewise.
19200         (_dl_debug_printf_c): Likewise.
19201         (_dl_signal_cerror): Likewise.
19202         (_dl_receive_error): Likewise.
19203         (_dl_reloc_bad_type): Likewise.
19204         (_dl_resolve_conflicts): Likewise.
19205         (_dl_check_all_versions): Likewise.
19206         (_dl_check_map_versions): Likewise.
19207         (_dl_sort_fini): Likewise.
19208         (_dl_debug_initialize): Likewise.
19209         (_dl_init_paths): Likewise.
19210         (_dl_show_auxv): Likewise.
19211         (_dl_next_ld_env_entry): Likewise.
19212         (_dl_important_hwcaps): Likewise.
19213         (_dl_load_cache_lookup): Likewise.
19214         (_dl_update_slotinfo): Likewise.
19215         (_dl_show_scope): Likewise.
19217         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
19218         attribute_hidden.
19219         (_wordcopy_fwd_dest_aligned): Likewise.
19220         (_wordcopy_bwd_aligned): Likewise.
19221         (_wordcopy_bwd_dest_aligned): Likewise.
19223         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19224         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19225         Likewise.
19226         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19227         Likewise.
19228         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
19230 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19232         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
19233         GCC 5 requirement.
19235 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
19237         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
19238         test.
19239         * sysdeps/i386/configure: Regenerated.
19240         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
19241         code unconditional.
19243         * configure.ac (libc_cv_asm_previous_directive): Remove configure
19244         test.
19245         (libc_cv_asm_popsection_directive): Likewise.
19246         * configure: Regenerated.
19247         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
19248         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
19249         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
19250         (__make_section_unallocated): Make definition unconditional.
19251         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
19252         Remove conditional definition.
19253         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
19254         (__make_section_unallocated): Likewise.
19256         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
19257         * configure: Regenerated.
19258         * config.make.in (static-libgcc): Remove variable.
19259         * Makerules (build-shlib-helper): Use -static-libgcc instead of
19260         $(static-libgcc).
19261         (build-module-helper): Likewise.
19263         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
19264         * configure: Regenerated.
19266 2015-10-15  Florian Weimer  <fweimer@redhat.com>
19268         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
19269         (struct char_buffer): New type.
19270         (char_buffer_start, char_buffer_size, char_buffer_error)
19271         (char_buffer_rewind, char_buffer_add): New functions.
19272         (ADDW): Remove macro, replaced by the char_buffer_add function.
19273         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
19274         of extend_alloca.  Make control flow more explicit.
19276 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19278         [BZ #19137]
19279         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19280         Add -fomit-frame-pointer.
19281         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
19283 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19285         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
19286         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
19287         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
19288         only if !__GNUC_PREREQ (5,0).
19289         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
19290         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19291         (INTERNAL_SYSCALL_NCS): Likewise.
19292         (LOADREGS_0): New macro for GCC 5.
19293         (ASMARGS_0): Likewise.
19294         (LOADREGS_1): Likewise.
19295         (ASMARGS_1): Likewise.
19296         (LOADREGS_2): Likewise.
19297         (ASMARGS_2): Likewise.
19298         (LOADREGS_3): Likewise.
19299         (ASMARGS_3): Likewise.
19300         (LOADREGS_4): Likewise.
19301         (ASMARGS_4): Likewise.
19302         (LOADREGS_5): Likewise.
19303         (ASMARGS_5): Likewise.
19304         (LOADREGS_6): Likewise.
19305         (ASMARGS_6): Likewise.
19307 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
19309         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19310         -fomit-frame-pointer.
19311         (CFLAGS-mmap64.c): Likewise.
19312         (CFLAGS-semtimedop.c): Likewise.
19313         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19314         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19315         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19316         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19318 2015-10-15  Florian Weimer  <fweimer@redhat.com>
19320         [BZ #18928]
19321         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19322         _dl_pointer_guard member.
19323         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19324         initializer.
19325         (security_init): Always set up pointer guard.
19326         (process_envvars): Do not process LD_POINTER_GUARD.
19328 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
19330         [BZ #19134]
19331         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19332         (.LC2): Likewise.
19333         (.LC3): Likewise.
19334         (__lround): Do not add 0.5 to integer or out-of-range arguments.
19336 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19338         [BZ #19129]
19339         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19340         r0 and r1.
19342 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
19344         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19346 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
19348         * include/stap-probe.h: Fix macro definition formatting.
19350 2015-10-14  Florian Weimer  <fweimer@redhat.com>
19352         [BZ #19074]
19353         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19354         load and store num_ifs.
19356 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19358         [BZ #18822]
19359         * sysdeps/unix/sysv/linux/sched_getaffinity.c
19360         (__sched_getaffinity_new): Add libc_hidden_proto and
19361         libc_hidden_def.
19363 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19365         [BZ #19007]
19366         * scripts/localplt.awk: Also allow GOT references.
19367         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19368         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19369         with "+ REL R_386_GLOB_DAT".
19370         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19371         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19373 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
19375         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19376         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19377         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19378         Likewise.
19379         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19380         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19381         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19382         INTERNAL_SYSCALLINTERNAL_SYSCALL and
19383         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19384         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19385         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19386         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19387         Likewise.
19388         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19390 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19392         [BZ #19125]
19393         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19394         <math_private.h> and <stdint.h>.
19395         (__llround): Avoid conversions to and from long long int, and
19396         subtractions, where those might raise spurious exceptions.
19397         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19398         <math_private.h> and <stdint.h>.
19399         (__llroundf): Avoid conversions to and from long long int, and
19400         subtractions, where those might raise spurious exceptions.
19402 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19404         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19405         INLINE_SYSCALL_ERROR_RETURN_VALUE.
19406         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19407         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19408         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19409         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19410         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19411         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19412         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19413         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19414         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19415         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19416         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19417         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19418         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19419         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19420         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19421         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19422         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19423         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19424         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19425         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19426         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19427         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19428         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19429         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19430         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19431         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19432         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19433         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19434         (__xstat64_conv): Likewise.
19435         (__xstat32_conv): Likewise.
19437 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19439         * sysdeps/unix/sysv/linux/sysdep.h: New file.
19440         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19441         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19442         <sysdeps/unix/sysv/linux/sysdep.h>.
19443         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19444         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19445         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19446         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19447         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19448         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19449         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19450         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19451         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19454         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19455         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19456         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19457         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19458         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19459         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19460         (sysdep-dl-routines): Add sysdep.
19461         [$(subdir) == nptl] (libpthread-routines): Likewise.
19462         [$(subdir) == rt] (librt-routines): Likewise.
19463         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19464         PIC when branching to SYSCALL_ERROR_LABEL.
19465         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19466         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19467         <sysdeps/unix/sysv/linux/sysdep.h>.
19468         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19469         (SYSCALL_ERROR_ERRNO): Removed.
19470         (SYSCALL_ERROR_HANDLER): Changed to empty.
19471         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19472         (__syscall_error): New prototype.
19473         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19474         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19476 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
19478         [BZ #19124]
19479         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19480         (_dl_runtime_resolve_avx512): Make it a hidden alias of
19481         _dl_runtime_resolve_avx.
19482         (_dl_runtime_profile_avx512): Make it a hidden alias of
19483         _dl_runtime_profile_avx.
19485 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
19487         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19488         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19489         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19490         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19492         [BZ #16422]
19493         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19494         New configure test.
19495         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19496         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19497         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19498         <math_private.h> and <stdint.h>.
19499         (__llrint): Avoid conversions to long long int where those might
19500         raise spurious exceptions.
19501         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19502         <math_private.h> and <stdint.h>.
19503         (__llrintf): Avoid conversions to long long int where those might
19504         raise spurious exceptions.
19506 2015-10-12  Andreas Schwab  <schwab@suse.de>
19508         [BZ #18969]
19509         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
19510         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19511         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
19512         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19513         $(gen-locales).
19514         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
19515         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19516         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19517         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19518         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19519         $(gen-locales).
19520         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
19521         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19522         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19523         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19524         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19525         ($(objpfx)tst-ftell-active-handler.out)
19526         ($(objpfx)tst-ftell-append.out)
19527         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19528         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19529         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19530         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19531         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
19532         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19533         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19534         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19535         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19536         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19537         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19538         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19539         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19540         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19541         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19542         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19543         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19544         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19545         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
19546         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19547         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19548         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19549         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19550         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
19551         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19552         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19553         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19554         $(gen-locales).
19555         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
19556         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19557         $(gen-locales).
19558         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
19559         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19560         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19561         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19562         $(gen-locales).
19563         * libio/tst_wprintf2.c (main): Use explicit locale.
19564         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19566 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19568         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19569         __msg_sig_post.
19570         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19572 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19574         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19575         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19577         * sysdeps/arm/libm-test-ulps: Regenerated.
19579         [BZ #15470]
19580         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19582         [BZ #16399]
19583         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19584         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19585         and <fix-fp-int-convert-overflow.h>.
19586         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19587         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19588         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19589         and <fix-fp-int-convert-overflow.h>.
19590         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19591         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19592         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19593         <fix-fp-int-convert-overflow.h>.
19594         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19595         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19596         * sysdeps/ieee754/dbl-64/s_lround.c: Include
19597         <fix-fp-int-convert-overflow.h>.
19598         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19599         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19600         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19601         and <fix-fp-int-convert-overflow.h>.
19602         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19603         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19604         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19605         <limits.h> and <fix-fp-int-convert-overflow.h>.
19606         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19607         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19608         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19609         and <fix-fp-int-convert-overflow.h>.
19610         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19611         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19612         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19613         and <fix-fp-int-convert-overflow.h>.
19614         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19615         FIX_DBL_LLONG_CONVERT_OVERFLOW.
19616         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19618 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
19620         [BZ #18589]
19621         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19622         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19623         $(gen-locales).
19625 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19626             Phil Blundell <pb@pbcl.net>
19628         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19629         * nptl/tst-cancel26.c: New file.
19630         * nptl/tst-cancel27.c: Likewise.
19632 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
19634         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19635         __ILP32__ isn't defined.
19636         (lrint): Likewise.
19637         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19638         (lrintf): Likewise.
19639         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19640         (lrintl): Likewise.
19641         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19642         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19643         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19645 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19647         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19648         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19650         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19651         file.
19652         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19653         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19655 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
19657         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19658         configure test.
19659         * sysdeps/i386/configure: Regenerated.
19660         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19661         configure test.
19662         * sysdeps/x86_64/configure: Regenerated.
19663         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19664         Make code unconditional.
19666         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19667         test.
19668         * sysdeps/i386/configure: Regenerated.
19669         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19670         test.
19671         * sysdeps/x86_64/configure: Regenerated.
19672         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19673         Make code unconditional.
19674         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19675         Likewise.
19676         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19677         Likewise.
19678         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19679         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19680         code unconditional.
19681         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19682         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19683         code unconditional.
19684         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19685         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19686         code unconditional.
19687         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19688         code unconditional.
19689         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19690         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19691         code unconditional.
19692         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19693         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19694         code unconditional.
19695         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19696         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19697         code unconditional.
19698         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19699         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19700         code unconditional.
19701         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19702         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19704         [BZ #19095]
19705         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19706         mantissa to long int before shifting left.
19708 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19710         [BZ #19094]
19711         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19712         <limits.h>.
19713         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19714         when result overflows but exception would not result from cast.
19715         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19716         <limits.h>.
19717         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19718         when result overflows but exception would not result from cast.
19719         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19720         <limits.h>.
19721         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19722         when result overflows but exception would not result from cast.
19723         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19724         <limits.h>.
19725         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19726         when result overflows but exception would not result from cast.
19727         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19728         <limits.h>.
19729         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19730         when result overflows but exception would not result from cast.
19731         * math/libm-test.inc (lrint_test_data): Add more tests.
19732         (llrint_test_data): Likewise.
19734 2015-10-08  Roland McGrath  <roland@hack.frob.com>
19736         [BZ #18872]
19737         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19738         Move out from under [$(run-built-tests) = yes] conditional.
19739         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19740         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19742 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
19744         [BZ #18589]
19745         * string/Makefile (tests): Add bug-strcoll2.
19746         (LOCALES): Add cs_CZ.UTF-8.
19747         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19749         [BZ #18589]
19750         * string/bug-strcoll2.c: New file.
19751         * locale/categories.def: Revert commit
19752         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19753         * locale/langinfo.h: Likewise.
19754         * locale/localeinfo.h: Likewise.
19755         * locale/C-collate.c: Likewise.
19756         * locale/programs/ld-collate.c (collate_output): Likewise.
19757         * string/strcoll_l.c (STRDIFF): Likewise.
19758         (STRCOLL): Likewise.
19759         * wcsmbs/wcscoll_l.c: Likewise.
19761 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
19763         * math/libm-test.inc (lround_test_data): Do not expect the absence
19764         of "inexact" for some tests with non-integer arguments.
19765         (llround_test_data): Likewise.
19767         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19768         test.
19769         (libc_cv_cc_sse2avx): Likewise.
19770         * sysdeps/i386/configure: Regenerated.
19771         * sysdeps/i386/i686/multiarch/Makefile
19772         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19773         [$(subdir) = math].
19774         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19775         code unconditional.
19776         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19777         Likewise.
19778         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19779         Likewise.
19780         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19781         Likewise.
19782         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19783         test.
19784         (libc_cv_cc_sse2avx): Likewise.
19785         * sysdeps/x86_64/configure: Regenerated.
19786         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19787         unconditional.
19788         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19789         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19790         unconditional.
19791         (_dl_runtime_profile)
19792         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19793         conditional code.
19794         * sysdeps/x86_64/fpu/multiarch/Makefile
19795         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19796         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19797         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19798         * sysdeps/x86_64/fpu/multiarch/e_exp.c
19799         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19800         * sysdeps/x86_64/fpu/multiarch/e_log.c
19801         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19802         * sysdeps/x86_64/fpu/multiarch/s_atan.c
19803         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19804         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19805         Likewise.
19806         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19807         Likewise.
19808         * sysdeps/x86_64/fpu/multiarch/s_sin.c
19809         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19810         * sysdeps/x86_64/fpu/multiarch/s_tan.c
19811         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19812         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19813         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19814         (HAVE_SSE2AVX_SUPPORT): Likewise.
19816 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
19818         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19819         instead of #pragma optimize.
19821 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19823         [BZ #17195]
19824         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19825         as is similarly done in systrim and _int_free already.
19827 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19829         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19831 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19833         [BZ #19088]
19834         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19835         <limits.h>.
19836         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19837         overflows but exception would not result from cast.
19838         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19839         and <limits.h>.
19840         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19841         overflows but exception would not result from cast.
19842         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19843         <limits.h>.
19844         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19845         overflows but exception would not result from cast.
19846         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19847         <limits.h>.
19848         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19849         overflows but exception would not result from cast.
19850         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19851         <limits.h>.
19852         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19853         overflows but exception would not result from cast.
19854         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19855         <limits.h>.
19856         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19857         overflows but exception would not result from cast.
19858         * math/libm-test.inc (lround_test_data): Add more tests.
19859         (llround_test_data): Likewise.
19861 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
19863         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19864         (CFLAGS-ialloc.c): Ditto.
19865         (CFLAGS-scheck.c): Ditto.
19867 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
19869         [BZ #19086]
19870         * manual/filesys.texi (Storage Allocation): Fix argument order for
19871         posix_fallocate64.
19873 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19875         [BZ #19085]
19876         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19877         exponent below 48 inside case for non-overflowing exponent.
19878         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19880 2015-10-07  Florian Weimer  <fweimer@redhat.com>
19882         * iconvdata/cp737.h (from_idx): Add const.
19883         * iconvdata/cp775.h (from_idx): Likewise.
19885 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
19887         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19888         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19889         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19891         [BZ #19079]
19892         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19893         file, conditioned on [!_LP64].
19894         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19895         [!_LP64] (__lround): Do not define as function or alias.
19896         [!_LP64] (lround): Likewise.
19897         [!_LP64] (__lroundl): Likewise.
19898         [!_LP64] (lroundl): Likewise.
19899         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19900         macro.
19901         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19902         Likewise.
19904 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19906         * math/libm-test.inc (lrint_test_data): Add more tests.
19907         (llrint_test_data): Likewise.
19908         (lround_test_data): Likewise.
19909         (llround_test_data): Likewise.
19911         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19912         (llrint_test_data): Add tests used for lrint.
19914         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19915         test.
19916         * sysdeps/i386/configure: Regenerated.
19917         * sysdeps/i386/i686/multiarch/Makefile
19918         [$(config-cflags-sse4) = yes]: Make code unconditional.
19919         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19920         Likewise.
19921         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19922         Likewise.
19923         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19924         test.
19925         * sysdeps/x86_64/configure: Regenerated.
19926         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19927         Make code unconditional.
19928         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19929         Likewise.
19930         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19931         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19933         * scripts/rpm2dynsym.sh: Remove file.
19935 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19937         * configure.ac (libc_cv_cxx_thread_local): Define.
19938         * configure: Regenerate.
19939         * config.make.in (have-cxx-thread_local): Define.
19940         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19941         (LDLIBS-tst-thread_local1): Define.
19942         (tests): Add tst-thread_local1.
19943         [have-cxx-thread_local != yes] (tests-unsupported): Add
19944         tst-thread_local1.
19945         * nptl/tst-thread_local1.cc: New file.
19947 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
19949         [BZ #19078]
19950         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19951         (u_thres): Likewise.
19952         (__expl): Determine whether to call __kernel_standard_l based on
19953         value of result, not argument.
19955         * math/libm-test.inc (scalb_test_data): Add more expectations for
19956         the "inexact" exception.
19958         [BZ #19077]
19959         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19960         0.0L for argument 1.0L.
19962         [BZ #19076]
19963         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19964         constant 0.0L when computing infinite result.
19966 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19968         [BZ #10432]
19969         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19970         malloc_usable_size.
19972 2015-10-06  Florian Weimer  <fweimer@redhat.com>
19974         [BZ #19018]
19975         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19976         Mangle function pointer before storing it.
19977         (__call_tls_dtors): Demangle function pointer before calling it.
19979 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
19981         [BZ #19012]
19982         * iconv/gconv_db.c (gen_steps): Check for additional errors.
19983         Clean up on failure.
19985 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
19987         [BZ #19071]
19988         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19989         long int variable to store possibly incremented high part of
19990         mantissa.
19991         * math/libm-test.inc (lround_test_data): Add tests used for
19992         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
19993         for tests requiring 64-bit long.  Do not condition tests on
19994         [TEST_FLOAT] unnecessarily.
19995         (llround_test_data): Add tests used for lround.  Add another
19996         expectation for the "inexact" exception.  Do not condition tests
19997         on [TEST_FLOAT] unnecessarily.
19999         [BZ #887]
20000         [BZ #19049]
20001         [BZ #19050]
20002         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
20003         * sysdeps/ieee754/dbl-64/e_log10.c: Include
20004         <fix-int-fp-convert-zero.h>.
20005         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20006         * sysdeps/ieee754/dbl-64/e_log2.c: Include
20007         <fix-int-fp-convert-zero.h>.
20008         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20009         * sysdeps/ieee754/dbl-64/s_erf.c: Include
20010         <fix-int-fp-convert-zero.h>.
20011         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20012         * sysdeps/ieee754/dbl-64/s_logb.c: Include
20013         <fix-int-fp-convert-zero.h>.
20014         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20015         * sysdeps/ieee754/flt-32/e_log10f.c: Include
20016         <fix-int-fp-convert-zero.h>.
20017         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20018         * sysdeps/ieee754/flt-32/e_log2f.c: Include
20019         <fix-int-fp-convert-zero.h>.
20020         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20021         * sysdeps/ieee754/flt-32/s_erff.c: Include
20022         <fix-int-fp-convert-zero.h>.
20023         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20024         * sysdeps/ieee754/flt-32/s_logbf.c: Include
20025         <fix-int-fp-convert-zero.h>.
20026         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20027         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
20028         <fix-int-fp-convert-zero.h>.
20029         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20030         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
20031         <fix-int-fp-convert-zero.h>.
20032         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
20033         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
20034         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
20035         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
20036         file.
20037         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
20039 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
20041         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20043 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
20045         [BZ #19059]
20046         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
20047         overflowing computation.
20048         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20049         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20050         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
20051         Likewise.
20052         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
20053         Likewise.
20054         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20055         Likewise.
20056         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20057         Likewise.
20058         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
20059         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20060         Likewise.
20061         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20062         Likewise.
20063         * math/libm-test.inc (nexttoward_test_data): Add more tests.
20065         * nss/rewrite_field.c (__nss_rewrite_field): Use
20066         internal_function.
20067         * nss/valid_field.c (__nss_valid_field): Likewise.
20068         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20070 2015-10-02  Florian Weimer  <fweimer@redhat.com>
20072         [BZ #18724]
20073         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
20074         (__nss_invalid_field_characters, __nss_valid_field)
20075         (__nss_valid_list_field, __nss_rewrite_field): Declare.
20076         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20077         tst-field.c: New file.
20078         * nss/Makefile (routines): Add valid_field, rewrite_field.
20079         (tests-static): Define unconditionally.
20080         (tests): Include tests-static.
20081         [build-static-nss] (tests-static): Use append.
20082         [build-static-nss] (tests): Remove modification.
20083         * nss/getent.c (print_group): Call putgrent.  Report error.
20084         (print_gshadow): Call putsgent.  Report error.
20085         (print_passwd): Call putpwent.  Report error.
20086         (print_shadow): Call putspent.  Report error.
20087         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20088         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20089         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
20090         name, password, directory, shell fields for valid syntax.  Rewrite
20091         GECOS field to match syntax.
20092         * pwd/Makefile (tests): Add tst-putpwent.
20093         * pwd/tst-putpwent.c: New file.
20094         * grp/putgrent.c (putgrent): Convert to ISO function definition.
20095         Check grName, grpasswd, gr_mem fields for valid syntax.
20096         Change loop variable i to size_t.
20097         * grp/Makefile (tests): Add tst-putgrent.
20098         * grp/tst-putgrent.c: New file.
20099         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20100         valid syntax.
20101         * shadow/Makefile (tests): Add tst-putspent.
20102         * shadow/tst-putspent.c: New file.
20103         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20104         sg_mem fields for valid syntax.
20105         * gshadow/Makefile (tests): Add tst-putsgent.
20106         * gshadow/tst-putsgent.c: New file.
20108 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20110         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20111         assembly instructions.
20113 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20115         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20116         prefix from operands.
20118 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
20120         [BZ #16347]
20121         [BZ #19046]
20122         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20123         <libc-internal.h>.
20124         (MAXLGM): Do not use diagnostic control macros.
20125         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20126         threshold for ldbl-128ibm.
20127         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20128         instead of multiplying by log then subtracting.
20129         * math/auto-libm-test-in: Add more tests of lgamma.
20130         * math/auto-libm-test-out: Regenerated.
20132         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20133         (TYPE_HEX_DIG): Likewise.
20134         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20135         precisions when printing floating-point numbers.
20136         (check_float_internal): Likewise.
20138 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
20140         [BZ #16620]
20141         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
20142         of log (10) rounded downward to 48 bits.
20143         (log10_low): Use corresponding low part of log (10).
20145         [BZ #19032]
20146         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
20147         compute result as (x - x) / (x - x) not as 0 / 0.
20148         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20149         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
20151         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20152         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
20153         and expm1.
20154         * math/auto-libm-test-out: Regenerated.
20155         * math/libm-test.inc (acos_test_data): Add more tests.
20156         (asin_test_data): Likewise.
20157         (asinh_test_data): Likewise.
20158         (atan_test_data): Likewise.
20159         (atanh_test_data): Likewise.
20160         (atan2_test_data): Likewise.
20161         (cbrt_test_data): Likewise.
20162         (ceil_test_data): Likewise.
20163         (copysign_test_data): Likewise.
20164         (cos_test_data): Likewise.
20165         (cosh_test_data): Likewise.
20166         (erf_test_data): Likewise.
20167         (erfc_test_data): Likewise.
20168         (exp_test_data): Likewise.
20169         (exp10_test_data): Likewise.
20170         (exp2_test_data): Likewise.
20171         (expm1_test_data): Likewise.
20172         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20174 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
20176         [BZ #19006]
20177         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
20178         to ...
20179         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
20180         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
20181         to ...
20182         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
20183         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
20184         to ...
20185         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
20186         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
20187         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
20188         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
20189         to ...
20190         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
20191         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20192         Moved to ...
20193         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
20194         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20195         Moved to ...
20196         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
20197         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
20198         to ...
20199         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
20200         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20201         Moved to ...
20202         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
20203         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
20204         to ...
20205         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
20206         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
20207         Removed.
20208         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
20209         Likewise.
20210         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
20211         Likewise.
20212         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
20213         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
20214         Likewise.
20215         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20216         Likewise.
20217         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20218         Likewise.
20219         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20220         Likewise.
20221         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20222         Likewise.
20223         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
20224         Likewise.
20225         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
20226         Likewise.
20227         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
20228         Likewise.
20229         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
20230         Likewise.
20231         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
20232         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
20233         Likewise.
20234         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20235         Likewise.
20236         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20237         Likewise.
20238         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20239         Likewise.
20240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
20241         Likewise.
20242         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20243         Replace ../i486/pthread_cond_timedwait.S with
20244         ../pthread_cond_timedwait.S.
20246 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
20248         * math/libm-test.inc (acos_test_data): Refine expectations for
20249         errno and "inexact" exceptions.
20250         (acosh_test_data): Likewise.
20251         (asin_test_data): Likewise.
20252         (asinh_test_data): Likewise.
20253         (atan_test_data): Likewise.
20254         (atanh_test_data): Likewise.
20255         (atan2_test_data): Likewise.
20256         (cbrt_test_data): Likewise.
20257         (ceil_test_data): Likewise.
20258         (copysign_test_data): Likewise.
20259         (cosh_test_data): Likewise.
20260         (erf_test_data): Likewise.
20261         (erfc_test_data): Likewise.
20262         (exp_test_data): Likewise.
20263         (exp10_test_data): Likewise.
20264         (exp2_test_data): Likewise.
20265         (expm1_test_data): Likewise.
20266         (fabs_test_data): Likewise.
20267         (floor_test_data): Likewise.
20268         (fma_test_data): Likewise.
20269         (fmax_test_data): Likewise.
20270         (fmin_test_data): Likewise.
20271         (fmod_test_data): Likewise.
20272         (fpclassify_test_data): Likewise.
20273         (frexp_test_data): Likewise.
20274         (hypot_test_data): Likewise.
20275         (ilogb_test_data): Likewise.
20276         (isgreater_test_data): Likewise.
20277         (isgreaterequal_test_data): Likewise.
20278         (isinf_test_data): Likewise.
20279         (isless_test_data): Likewise.
20280         (islessequal_test_data): Likewise.
20281         (islessgreater_test_data): Likewise.
20282         (isnan_test_data): Likewise.
20283         (isnormal_test_data): Likewise.
20284         (issignaling_test_data): Likewise.
20285         (isunordered_test_data): Likewise.
20286         (j0_test_data): Likewise.
20287         (j1_test_data): Likewise.
20288         (jn_test_data): Likewise.
20289         (lgamma_test_data): Likewise.
20290         (lrint_test_data): Likewise.
20291         (llrint_test_data): Likewise.
20292         (log_test_data): Likewise.
20293         (log10_test_data): Likewise.
20294         (log1p_test_data): Likewise.
20295         (log2_test_data): Likewise.
20296         (logb_test_data): Likewise.
20297         (lround_test_data): Likewise.
20298         (llround_test_data): Likewise.
20299         (modf_test_data): Likewise.
20300         (nearbyint_test_data): Likewise.
20301         (nextafter_test_data): Likewise.
20302         (nexttoward_test_data): Likewise.
20303         (pow_test_data): Likewise.
20304         (remainder_test_data): Likewise.
20305         (remquo_test_data): Likewise.
20306         (rint_test_data): Likewise.
20307         (round_test_data): Likewise.
20308         (signbit_test_data): Likewise.
20309         (sinh_test_data): Likewise.
20310         (sqrt_test_data): Likewise.
20311         (tanh_test_data): Likewise.
20312         (tgamma_test_data): Likewise.
20313         (trunc_test_data): Likewise.
20314         (y0_test_data): Likewise.
20315         (y1_test_data): Likewise.
20316         (yn_test_data): Likewise.
20317         (significand_test_data): Likewise.
20319 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
20321         * manual/filesys.texi (Storage Allocation): Document that
20322         posix_fallocate emulation fails when fd is open with O_WRONLY.
20324 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
20326         [BZ #19016]
20327         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20328         allow more cases with X^2 + Y^2 >= 0.5.
20329         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
20330         normal element in sum instead of special-casing based on values of
20331         arguments.
20332         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20333         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
20334         -1 as normal element in sum instead of special-casing based on
20335         values of arguments.
20336         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20337         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20338         (__x2y2m1): Update comment.
20339         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
20340         as normal element in sum instead of special-casing based on values
20341         of arguments.
20342         * math/s_clog.c (__clog): Handle more cases using log1p without
20343         hypot.
20344         * math/s_clog10.c (__clog10): Likewise.
20345         * math/s_clog10f.c (__clog10f): Likewise.
20346         * math/s_clog10l.c (__clog10l): Likewise.
20347         * math/s_clogf.c (__clogf): Likewise.
20348         * math/s_clogl.c (__clogl): Likewise.
20349         * math/auto-libm-test-in: Add more tests of clog and clog10.
20350         * math/auto-libm-test-out: Regenerated.
20351         * sysdeps/i386/fpu/libm-test-ulps: Update.
20352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20354 2015-09-28  Martin Sebor  <msebor@redhat.com>
20356         [BZ #18969]
20357         * string/Makefile (LOCALES): Define.
20358         (gen-locales.mk): Include.
20359         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20360         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20361         * string/tst-strxfrm2.c (do_test): Print the name of the locale
20362         on setlocale failure.
20364 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
20366         [BZ #18985]
20367         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20368         (__strftime_internal): Likewise.
20369         * time/tst-strftime.c (do_bz18985): New test.
20370         (do_test): Call it.
20372 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
20374         [BZ #18956]
20375         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20376         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
20377         extracting high part.
20378         * math/auto-libm-test-in: Add another test of pow.
20379         * math/auto-libm-test-out: Regenerated.
20380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20382 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20384         [BZ #18825]
20385         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20386         New macro.
20387         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20388         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20389         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20390         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20391         DBL_NARROW_EVAL, reloading the PIC register as needed.
20392         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20393         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20394         FLT_NARROW_EVAL.  Use separate return path for case when first
20395         argument is NaN.
20396         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
20397         DEFINE_LDBL_MIN.
20398         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20399         PIC register.
20400         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20401         math_check_force_underflow_nonneg.
20402         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20403         underflow for subnormal result.
20404         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20405         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20406         math_check_force_underflow_nonneg.
20407         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20408         math_check_force_underflow.
20409         * sysdeps/x86_64/fpu/x86_64-math-asm.h
20410         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20411         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
20412         DEFINE_LDBL_MIN.
20413         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20414         * math/auto-libm-test-in: Add more tests of pow.
20415         * math/auto-libm-test-out: Regenerated.
20417 2015-09-25  Florian Weimer  <fweimer@redhat.com>
20419         * nss/bug17079.c (init_test_items): Add diagnostic for
20420         inconsistent entries.
20421         (test_buffer_size): Skip inconsistent entries.
20423 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #13304]
20426         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20427         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20428         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20430         [BZ #13304]
20431         * sysdeps/microblaze/s_fma.c: New file.
20432         * sysdeps/microblaze/s_fmaf.c: Likewise.
20433         * sysdeps/microblaze/sfp-machine.h: Likewise.
20435 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
20437         [BZ #17250]
20438         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20439         member.
20441 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20443         [BZ #18803]
20444         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20445         (MO): New macro.
20446         (__ieee754_hypot) [PIC]: Load PIC register.
20447         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20448         DBL_NARROW_EVAL.
20449         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20450         math_check_force_underflow_nonneg in case where result might be
20451         tiny.
20452         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20453         Likewise.
20454         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20455         Likewise.
20456         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20457         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20458         * math/auto-libm-test-in: Add more tests of hypot.
20459         * math/auto-libm-test-out: Regenerated.
20461 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
20463         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20465 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
20467         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20468         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20469         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20470         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20471         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20472         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20473         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20475         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20476         LOAD_PIC_REG.
20478         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20479         (FLT_CHECK_FORCE_UFLOW): Likewise.
20480         (DBL_CHECK_FORCE_UFLOW): Likewise.
20481         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20482         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20483         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20484         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20485         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20486         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20487         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20488         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20489         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20490         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20491         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20492         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20493         (flt_min): Replace with use of DEFINE_FLT_MIN.
20494         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20495         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20496         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20497         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20498         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20499         (flt_min): Replace with use of DEFINE_FLT_MIN.
20500         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20501         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20502         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20503         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20504         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20505         (flt_min): Replace with use of DEFINE_FLT_MIN.
20506         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20507         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20508         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20509         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20510         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20511         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20512         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20513         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20514         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20515         (__atan): Use DBL_CHECK_FORCE_UFLOW.
20516         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20517         (flt_min): Replace with use of DEFINE_FLT_MIN.
20518         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20519         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20520         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20521         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
20522         main computation.
20523         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20524         (flt_min): Replace with use of DEFINE_FLT_MIN.
20525         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
20526         main computation.
20527         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20528         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20529         (MO): New macro.
20530         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20531         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20532         (flt_min): Replace with use of DEFINE_FLT_MIN.
20533         (MO): New macro.
20534         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20535         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20536         (__log1pl): Use MO.
20538         [BZ #19003]
20539         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20540         $(config-cflags-nofma).
20542 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20544         * sysdeps/aarch64/libm-test-ulps: Regenerated.
20546 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
20548         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20549         (TWO127): Likewise.
20551         * sysdeps/generic/math_private.h (fabs_tg): New macro.
20552         (min_of_type): Likewise.
20553         (math_check_force_underflow): Likewise.
20554         (math_check_force_underflow_nonneg): Likewise.
20555         (math_check_force_underflow_complex): Likewise.
20556         * math/e_exp2l.c (__ieee754_exp2l): Use
20557         math_check_force_underflow_nonneg.
20558         * math/k_casinh.c (__kernel_casinh): Likewise.
20559         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20560         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20561         * math/s_catan.c (__catan): Use
20562         math_check_force_underflow_complex.
20563         * math/s_catanf.c (__catanf): Likewise.
20564         * math/s_catanh.c (__catanh): Likewise.
20565         * math/s_catanhf.c (__catanhf): Likewise.
20566         * math/s_catanhl.c (__catanhl): Likewise.
20567         * math/s_catanl.c (__catanl): Likewise.
20568         * math/s_ccosh.c (__ccosh): Likewise.
20569         * math/s_ccoshf.c (__ccoshf): Likewise.
20570         * math/s_ccoshl.c (__ccoshl): Likewise.
20571         * math/s_cexp.c (__cexp): Likewise.
20572         * math/s_cexpf.c (__cexpf): Likewise.
20573         * math/s_cexpl.c (__cexpl): Likewise.
20574         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20575         * math/s_clog10.c (__clog10): Likewise.
20576         * math/s_clog10f.c (__clog10f): Likewise.
20577         * math/s_clog10l.c (__clog10l): Likewise.
20578         * math/s_clogf.c (__clogf): Likewise.
20579         * math/s_clogl.c (__clogl): Likewise.
20580         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20581         * math/s_csinf.c (__csinf): Likewise.
20582         * math/s_csinh.c (__csinh): Likewise.
20583         * math/s_csinhf.c (__csinhf): Likewise.
20584         * math/s_csinhl.c (__csinhl): Likewise.
20585         * math/s_csinl.c (__csinl): Likewise.
20586         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20587         * math/s_csqrtf.c (__csqrtf): Likewise.
20588         * math/s_csqrtl.c (__csqrtl): Likewise.
20589         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20590         * math/s_ctanf.c (__ctanf): Likewise.
20591         * math/s_ctanh.c (__ctanh): Likewise.
20592         * math/s_ctanhf.c (__ctanhf): Likewise.
20593         * math/s_ctanhl.c (__ctanhl): Likewise.
20594         * math/s_ctanl.c (__ctanl): Likewise.
20595         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20596         instead of volatile.
20597         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20598         math_check_force_underflow.
20599         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20600         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20601         volatile when forcing underflow.
20602         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20603         math_check_force_underflow_nonneg.
20604         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20605         Likewise.
20606         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20607         math_check_force_underflow.
20608         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20609         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20610         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20611         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20612         math_check_force_underflow_nonneg.
20613         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20614         math_check_force_underflow.
20615         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20616         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20617         instead of volatile.
20618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20619         math_check_force_underflow.
20620         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20621         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20622         math_check_force_underflow_nonneg.
20623         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20624         math_check_force_underflow.
20625         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20626         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20627         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20628         math_check_force_underflow_nonneg.
20629         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20630         Likewise.
20631         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20632         math_check_force_underflow.
20633         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20634         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20635         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20636         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20637         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20638         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20639         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20640         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20641         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20642         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20643         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20644         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20645         Likewise.
20646         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20647         math_check_force_underflow_nonneg.
20648         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20649         Likewise.
20650         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20651         math_check_force_underflow.
20652         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20653         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20654         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20655         Likewise.
20656         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20657         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20658         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20659         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20660         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20661         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20662         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20663         instead of volatile.
20664         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20665         math_check_force_underflow.
20666         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20667         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20668         math_check_force_underflow.
20669         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20670         Likewise.
20671         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20672         Use math_check_force_underflow_nonneg.
20673         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20674         math_check_force_underflow.
20675         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20676         Likewise.
20677         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20678         Likewise.
20679         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20680         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20681         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20682         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20683         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20684         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20685         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20686         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20687         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20688         math_check_force_underflow_nonneg.
20689         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20690         math_check_force_underflow.
20691         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20692         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20693         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20694         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20695         math_check_force_underflow_nonneg.
20696         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20697         math_check_force_underflow.
20698         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20700         instead of volatile.
20701         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20702         math_check_force_underflow.
20704         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20705         * stdlib/strtod_l.c: Include <math_private.h>.
20706         (overflow_value): Use math_narrow_eval.
20707         (underflow_value): Likewise.
20708         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20709         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20710         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20711         (__ieee754_gamma_r): Likewise.
20712         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20713         Likewise.
20714         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20715         Likewise.
20716         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20717         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20718         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20719         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20720         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20721         (__ieee754_gammaf_r): Likewise.
20722         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20723         Likewise.
20724         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20725         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20726         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20727         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20728         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20729         volatile.
20730         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20731         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20732         math_narrow_eval.
20733         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20734         Likewise.
20735         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20736         Likewise.
20737         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20738         Likewise.
20739         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20740         volatile.
20741         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20742         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20743         math_narrow_eval.
20744         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20745         Likewise.
20746         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20747         Likewise.
20749 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
20751         * nptl/Versions: Remove ignored symbols.
20753 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20755         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
20756         * nss/Makefile (tests): Update.
20758 2015-09-22  Florian Weimer  <fweimer@redhat.com>
20760         * nss/bug18287.c: New file.
20761         * nss/Makefile (tests): Add bug18287.
20763 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20765         * mach/Versions (__mach_host_self_): Add symbol.
20767 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20769         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20770         vm_page_size.
20772 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20774         Really fix sysdeps/i386/fpu/s_scalbn.S build
20776         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20777         (libc: GLIBC_2_22): Remove unused version set.
20779 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20781         * config.make.in (enable-timezone-tools): New variable.
20782         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20783         (enable_timezone_tools): Export to generated files.
20784         * configure: Regenerate.
20785         * INSTALL: Regenerate.
20786         * manual/install.texi (--disable-timezone-tools): Document new flag.
20787         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20788         ifeq ($(enable-timezone-tools),yes) check.
20790 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20792         * timezone/Makefile: Revert previous change.
20794         [BZ #18980]
20795         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20796         (DEFINE_DBL_MIN): Likewise.
20797         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20798         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20799         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20800         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20801         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20802         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20803         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20804         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20805         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20806         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20807         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20808         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20809         (flt_min): Replace with use of DEFINE_FLT_MIN.
20810         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20811         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20812         (dbl_min): Replace with use of DEFINE_DBL_MIN.
20813         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20814         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20815         (flt_min): Replace with use of DEFINE_FLT_MIN.
20816         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20817         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20818         (flt_min): Replace with use of DEFINE_FLT_MIN.
20819         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20820         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20821         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20822         (__ieee754_hypot): Use DBL_NARROW_EVAL.
20823         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20824         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20825         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20826         (__ieee754_pow): Use DBL_NARROW_EVAL.
20827         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20828         (__ieee754_powf): Use FLT_NARROW_EVAL.
20829         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20830         (__ieee754_expf_sse2): Convert double-precision result to single
20831         precision.
20832         * sysdeps/i386/fpu/libm-test-ulps: Update.
20834 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20836         * timezone/Makefile: Ignore unused variable errors due to private.h
20837         (time_t_min) and (time_t_max).
20838         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
20839         Likewise.
20841 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20843         [BZ #18981]
20844         * sysdeps/i386/fpu/i386-math-asm.h: New file.
20845         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20846         (__ieee754_scalb): Use DBL_NARROW_EVAL.
20847         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20848         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20849         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20850         (__scalbn): Use DBL_NARROW_EVAL.
20851         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20852         (__scalbnf): Use FLT_NARROW_EVAL.
20854 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20856         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20857         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20858         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20859         * stdio-common/printf_fp.c (___printf_fp):
20860         Use signbit to get the sign. Use isinf macro to allow inlining.
20861         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20862         * stdio-common/printf_size.c (__printf_size): Likewise.
20864 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
20866         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20868 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
20870         [BZ #18980]
20871         * sysdeps/generic/math_private.h: Include <float.h>.
20872         (math_narrow_eval): New macro.
20873         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20874         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20875         math_narrow_eval on overflowing return value.
20876         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20877         Likewise.
20878         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20879         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20880         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20881         Likewise.
20882         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20884 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20886         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20887         * math/Makefile: Remove isinf_ns.c.
20888         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20889         * math/multc3.c (__multc3): Likewise.
20890         * math/s_casin.c (__casin): Likewise.
20891         * math/s_casinf.c (__casinf): Likewise.
20892         * math/s_casinl.c (__casinl): Likewise.
20893         * math/s_cproj.c (__cproj): Likewise.
20894         * math/s_cprojf.c (__cprojf): Likewise.
20895         * math/s_cprojl.c (__cprofl): Likewise.
20896         * math/s_ctan.c (__ctan): Likewise.
20897         * math/s_ctanf.c (__ctanf): Likewise.
20898         * math/s_ctanh.c (__ctanh): Likewise.
20899         * math/s_ctanhf.c (__ctanhf): Likewise.
20900         * math/s_ctanhl.c (__ctanhl): Likewise.
20901         * math/s_ctanl.c (__ctanl): Likewise.
20902         * math/w_fmod.c (__fmod): Likewise.
20903         * math/w_fmodf.c (__fmodf): Likewise.
20904         * math/w_fmodl.c (_fmodl): Likewise.
20905         * math/w_remainder.c (__remainder): Likewise.
20906         * math/w_remainderf.c (__remainderf): Likewise.
20907         * math/w_remainderl.c (__remainderl): Likewise.
20908         * math/w_scalb.c (__scalb): Likewise.
20909         * math/w_scalbf.c (__scalbf): Likewise.
20910         * math/w_scalbl.c (__scalbl): Likewise.
20911         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20912         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20913         with isinf.
20914         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20915         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20916         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20917         __isinf_nsf with isinf.
20918         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20919         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20920         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20921         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20922         with isinf.
20923         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20924         __isinf_nsl with isinf.
20925         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20926         with isinf.
20927         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20928         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20929         __isinf_nsl with isinf.
20930         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20931         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20932         with isinf.
20934 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20936         * resolv/base64.c (rcsid): Remove unused static.
20937         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20938         static.  (tqpi1): Likewise.
20939         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20940         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20941         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20942         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20943         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20944         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20945         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20946         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
20947         Likewise.
20949 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
20951         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20952         <nptl/pthreadP.h>.
20953         (_longjmp_unwind): Use __libc_ptf_call.
20954         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20956 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
20958         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20959         * sysdeps/arm/__longjmp.S: Likewise.
20961 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20963         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20964         Use __builtin_signbit.
20965         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20966         Use __builtin_signbitf.
20967         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20968         Use __builtin_signbitl.
20969         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20970         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20972 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20974         [BZ #15367]
20975         [BZ #17441]
20977         * math/Makefile: Build test-snan.c with -fsignaling-nans.
20978         * math/math.h (fpclassify): Use __builtin_fpclassify when
20979         available.  (signbit): Use __builtin_signbit(f/l).
20980         (isfinite): Use__builtin_isfinite.  (isnormal): Use
20981         __builtin_isnormal.  (isnan): Use __builtin_isnan.
20982         (isinf): Use __builtin_isinf_sign.
20984 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
20986         * benchtests/Makefile: Add bench-math-inlines, link with libm.
20987         * benchtests/bench-math-inlines.c: New benchmark.
20988         * benchtests/bench-util.h: New file.
20989         * benchtests/bench-util.c: New file.
20990         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20992 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
20994         * elf/tst-dlmopen1.c: Define TEST_SO.
20995         (do_test): Use TEST_SO.
20997         * elf/dl-load.c: Include libc-internal.h.
20998         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
21000 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21002         [BZ #17887]
21003         * time/strptime_l.c (__strptime_internal): Make %z accept
21004         [+-]HH:MM time zones.
21006 2015-09-18  Vincent Bernat  <vincent@bernat.im>
21008         [BZ #17886]
21009         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
21010         valid time zone.
21012 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
21014         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
21015         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
21016         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21017         (__ASSUME_FDATASYNC): Delete.
21019 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21021         * conform/linknamespace.pl: Require weak undefined symbols to be
21022         in the standard namespace.
21023         (%strong_syms): Rename to %seen_syms.
21024         (%strong_seen): Rename to %seen_where.
21026 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
21028         [BZ #18970]
21029         * misc/error.c (error): Replace pthread_setcancelstate with
21030         __pthread_setcancelstate.
21031         (error_at_line): Likewise.
21032         * posix/wordexp.c (parse_comm): Likewise.
21033         * stdlib/fmtmsg.c (fmtmsg): Likewise.
21034         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
21035         (__pthread_setcancelstate): This.
21036         (pthread_setcancelstate): Add an alias.
21037         * nptl/nptl-init.c (pthread_functions): Replace
21038         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
21039         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
21040         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
21041         hidden_proto.
21042         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
21043         it with hidden_def.
21044         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
21045         (pthread_setcancelstate): Renamed to ...
21046         (__pthread_setcancelstate): This.
21047         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
21048         __libc_ptf_call with __pthread_setcancelstate.
21050 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21051             Andreas Schwab  <schwab@suse.de>
21053         [BZ #17118]
21054         * math/s_ctan.c (__ctan): Determine sign of zero real part of
21055         result when imaginary part of argument is infinite using sine and
21056         cosine.
21057         * math/s_ctanf.c (__ctanf): Likewise.
21058         * math/s_ctanl.c (__ctanl): Likewise.
21059         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
21060         of result when real part of argument is infinite using sine and
21061         cosine.
21062         * math/s_ctanhf.c (__ctanhf): Likewise.
21063         * math/s_ctanhl.c (__ctanhl): Likewise.
21064         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
21065         (ctanh_test_data): Add more tests of ctanh.
21067 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
21069         [BZ #15384]
21070         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
21071         bit-mask as in subtraction.
21072         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
21073         Likewise.
21074         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
21075         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
21076         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21078         [BZ #18951]
21079         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21080         underflow exception for small results.
21081         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21082         Likewise.
21083         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21084         Likewise.
21085         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21086         Likewise.
21087         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21088         Likewise.
21089         * math/auto-libm-test-in: Add more tests of tgamma.
21090         * math/auto-libm-test-out: Regenerated.
21092 2015-09-17  Andreas Schwab  <schwab@suse.de>
21094         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21096 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
21098         [BZ #18977]
21099         * math/bits/mathcalls.h
21100         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21101         not declare.
21102         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21103         Likewise.
21104         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21105         Likewise.
21106         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21107         Likewise.
21108         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21109         Likewise.
21110         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21111         Likewise.
21112         * conform/data/math.h-data
21113         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21114         function.
21115         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21116         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21117         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21118         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21119         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21120         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21121         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21122         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21123         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21124         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21125         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21127         [BZ #6803]
21128         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21129         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21130         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21131         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21132         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21133         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21134         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21135         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21136         [NO_LONG_DOUBLE] (scalbnl): Likewise.
21137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
21138         Likewise.
21139         [NO_LONG_DOUBLE] (scalbnl): Likewise.
21140         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
21141         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
21142         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
21143         long_double_symbol calls.
21144         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
21145         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
21146         strong alias of __ldexpl.
21147         (scalbnl): Define using long_double_symbol.
21148         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
21149         Remove alias.
21150         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
21151         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
21152         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
21153         (scalbln_test_data): Add more errno expectations.
21155 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
21157         Cache the host port like we cache the task port.  This way we do not
21158         need to call the kernel just to get the port.  Furthermore, we no
21159         longer increase the reference count on every invocation of
21160         `mach_host_self'.
21162         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
21163         Protect declarations against the macro expansion.
21164         * mach/mach_init.c (__mach_host_self_): New variable.
21165         (mach_init): Initialize `__mach_host_self_'.
21166         * mach/mach_init.h (__mach_host_self_): New declaration.
21167         (__mach_host_self, mach_host_self): New macros.
21168         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
21169         Release reference.
21171 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
21173         [BZ #4404]
21174         * po/de.po: Update from Translation Project.
21176         [BZ #16415]
21177         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
21178         (__expm1l): Remove code to handle positive infinity and overflow.
21179         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
21180         variable.
21181         (__expm1l): Remove code to handle positive infinity and overflow.
21183 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
21184             Paul Pluzhnikov  <ppluzhnikov@google.com>
21186         [BZ #18872]
21187         * stdio-common/Makefile (tst-printf-bz18872): New test.
21188         (tst-printf-bz18872-mem.out): Likewise.
21189         * stdio-common/tst-printf-bz18872.sh: Generate new test.
21190         * stdio-common/vfprintf.c: Fix memory leaks.
21192 2015-09-16  Andreas Schwab  <schwab@suse.de>
21194         [BZ #17244]
21195         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
21196         Remove extra va_start/va_end calls.
21198         [BZ #17243]
21199         * posix/execl.c (execl): Add missing va_end.
21200         * posix/execle.c (execle): Likewise.
21201         * posix/execlp.c (execlp): Likewise.
21203 2015-09-15  Roland McGrath  <roland@hack.frob.com>
21205         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
21206         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
21208 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
21210         [BZ #18967]
21211         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
21212         undefine around includes of <bits/mathcalls.h>.
21213         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
21214         not declare function.
21215         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
21216         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
21217         (scalb): Likewise.
21218         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
21219         not define macro.
21220         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
21221         variable.
21222         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21223         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21224         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21226         [BZ #18857]
21227         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
21228         return non-finite argument without doing ordered comparisons on
21229         it.
21231         [BZ #16296]
21232         * math/fenv.h (fegetround): Use __attribute_pure__.
21233         * include/fenv.h (__fegetround): Likewise.
21235         [BZ #18595]
21236         * math/s_ctan.c (__ctan): Force underflow exception for results
21237         whose real or imaginary part has small absolute value.
21238         * math/s_ctanf.c (__ctanf): Likewise.
21239         * math/s_ctanh.c (__ctanh): Likewise.
21240         * math/s_ctanhf.c (__ctanhf): Likewise.
21241         * math/s_ctanhl.c (__ctanhl): Likewise.
21242         * math/s_ctanl.c (__ctanl): Likewise.
21243         * math/auto-libm-test-in: Do not allow missing underflow for ctan
21244         and ctanh.  Add more tests of ctan and ctanh.
21246         [BZ #15918]
21247         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
21248         handling of cases where one argument is an infinity.
21250         [BZ #18875]
21251         [BZ #18966]
21252         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
21253         (MO): New macro.
21254         (__ieee754_exp10): For small results, force underflow exception
21255         and remove excess range and precision from return value.
21256         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
21257         (MO): New macro.
21258         (__ieee754_exp10f): For small results, force underflow exception
21259         and remove excess range and precision from return value.
21260         * math/auto-libm-test-in: Add more tests of exp10.
21261         * math/auto-libm-test-out: Regenerated.
21263 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
21265         [BZ #18875]
21266         [BZ #18961]
21267         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
21268         (MO): New macro.
21269         (__ieee754_exp): For small results, force underflow exception and
21270         remove excess range and precision from return value.
21271         (__exp_finite): Likewise.
21272         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
21273         (MO): New macro.
21274         (__ieee754_expf): For small results, force underflow exception and
21275         remove excess range and precision from return value.
21276         (__expf_finite): Likewise.
21277         * math/auto-libm-test-in: Add more tests of exp.
21278         * math/auto-libm-test-out: Regenerated.
21280         [BZ #16521]
21281         [BZ #18875]
21282         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
21283         small results.
21284         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
21285         (MO): New macro.
21286         (__ieee754_exp2): For small results, force underflow exception and
21287         remove excess range and precision from return value.
21288         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
21289         (MO): New macro.
21290         (__ieee754_exp2f): For small results, force underflow exception
21291         and remove excess range and precision from return value.
21292         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
21293         (MO): New macro.
21294         (__ieee754_exp2l): Force underflow exception for small results.
21295         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21296         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21297         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
21298         (MO): New macro.
21299         (__ieee754_exp2l): Force underflow exception for small results.
21300         * math/auto-libm-test-in: Add more tests or exp2.
21301         * math/auto-libm-test-out: Regenerated.
21303 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
21305         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
21307         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21308         /dev/null.
21310 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21312         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21313         io fs process)): Drop spurious backslash.
21315 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
21317         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21318         Use sysinfo system call instead of parsing /proc/meminfo.
21319         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21320         Likewise.
21322 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
21324         [BZ #16985]
21325         * programs/localedef.c (main): Display argv[remaining] when
21326         output_path is NULL.
21328 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21330         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21331         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21332         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21333         tanh.
21334         * math/auto-libm-test-out: Regenerated.
21335         * sysdeps/i386/fpu/libm-test-ulps: Update.
21336         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21337         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21340 2015-09-11  Roland McGrath  <roland@hack.frob.com>
21342         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21343         Use 'override' keyword to freeze the value here, preventing
21344         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21346 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
21348         [BZ #14912]
21349         * sysdeps/aarch64/bits/atomic.h: Move to ...
21350         * sysdeps/aarch64/atomic-machine.h: ...here.
21351         (_AARCH64_BITS_ATOMIC_H): Rename macro to
21352         _AARCH64_ATOMIC_MACHINE_H.
21353         * sysdeps/alpha/bits/atomic.h: Move to ...
21354         * sysdeps/alpha/atomic-machine.h: ...here.
21355         * sysdeps/arm/bits/atomic.h: Move to ...
21356         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
21357         * bits/atomic.h: Move to ...
21358         * sysdeps/generic/atomic-machine.h: ...here.
21359         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21360         * sysdeps/i386/bits/atomic.h: Move to ...
21361         * sysdeps/i386/atomic-machine.h: ...here.
21362         * sysdeps/ia64/bits/atomic.h: Move to ...
21363         * sysdeps/ia64/atomic-machine.h: ...here.
21364         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21365         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21366         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21367         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21368         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21369         * sysdeps/microblaze/bits/atomic.h: Move to ...
21370         * sysdeps/microblaze/atomic-machine.h: ...here.
21371         * sysdeps/mips/bits/atomic.h: Move to ...
21372         * sysdeps/mips/atomic-machine.h: ...here.
21373         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21374         * sysdeps/powerpc/bits/atomic.h: Move to ...
21375         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
21376         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21377         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
21378         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
21379         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21380         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
21381         <atomic-machine.h> instead of <bits/atomic.h>.
21382         * sysdeps/s390/bits/atomic.h: Move to ...
21383         * sysdeps/s390/atomic-machine.h: ...here.
21384         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21385         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21386         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21387         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21388         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21389         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21390         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21391         * sysdeps/tile/bits/atomic.h: Move to ...
21392         * sysdeps/tile/atomic-machine.h: ...here.
21393         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21394         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
21395         <sysdeps/tile/atomic-machine.h> instead of
21396         <sysdeps/tile/bits/atomic.h>.
21397         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21398         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21399         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
21400         <sysdeps/tile/atomic-machine.h> instead of
21401         <sysdeps/tile/bits/atomic.h>.
21402         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21403         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21404         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
21405         <sysdeps/arm/atomic-machine.h> instead of
21406         <sysdeps/arm/bits/atomic.h>.
21407         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21408         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21409         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21410         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21411         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21412         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21413         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21414         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21415         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21416         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21417         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21418         * sysdeps/x86_64/bits/atomic.h: Move to ...
21419         * sysdeps/x86_64/atomic-machine.h: ...here.
21420         * include/atomic.h: Include <atomic-machine.h> instead of
21421         <bits/atomic.h>.
21423         * sysdeps/mips/mips32/libm-test-ulps: Update.
21424         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21426         [BZ #18952]
21427         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21428         not convert non-integer negative arguments to int to determine the
21429         value of signgam.
21430         * math/auto-libm-test-in: Add more tests of lgamma.
21431         * math/auto-libm-test-out: Regenerated.
21433         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21434         cosh, csqrt, erfc, expm1 and lgamma.
21435         * math/auto-libm-test-out: Regenerated.
21436         * sysdeps/i386/fpu/libm-test-ulps: Update.
21437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21439 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
21441         [BZ #2542]
21442         [BZ #2543]
21443         [BZ #2558]
21444         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21445         __lgamma_neg for arguments from -28.0 to -2.0.
21446         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21447         __lgamma_negf for arguments from -15.0 to -2.0.
21448         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21449         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21450         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21451         Call __lgamma_negl for arguments from -33.0 to -2.0.
21452         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21453         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21454         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21455         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21456         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21457         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21458         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21459         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21460         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21461         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21462         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21463         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21464         (__lgamma_neg): Likewise.
21465         (__lgamma_negl): Likewise.
21466         (__lgamma_product): Likewise.
21467         (__lgamma_productl): Likewise.
21468         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21469         * math/auto-libm-test-in: Add more tests of lgamma.
21470         * math/auto-libm-test-out: Regenerated.
21471         * sysdeps/i386/fpu/libm-test-ulps: Update.
21472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21474 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
21476         [BZ #18675]
21477         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21479 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
21481         [BZ #14912]
21482         * bits/libc-lock.h: Move to ...
21483         * sysdeps/generic/libc-lock.h: ...here.
21484         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21485         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21486         * sysdeps/mach/hurd/libc-lock.h: ...here.
21487         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21488         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21489         * sysdeps/mach/bits/libc-lock.h: Move to ...
21490         * sysdeps/mach/libc-lock.h: ...here.
21491         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21492         * sysdeps/nptl/bits/libc-lock.h: Move to ...
21493         * sysdeps/nptl/libc-lock.h: ...here.
21494         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21495         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21496         * sysdeps/nptl/libc-lockP.h: ...here.
21497         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21498         * crypt/crypt_util.c: Include <libc-lock.h> instead of
21499         <bits/libc-lock.h>.
21500         * dirent/scandir-tail.c: Likewise.
21501         * dlfcn/dlerror.c: Likewise.
21502         * elf/dl-close.c: Likewise.
21503         * elf/dl-iteratephdr.c: Likewise.
21504         * elf/dl-lookup.c: Likewise.
21505         * elf/dl-open.c: Likewise.
21506         * elf/dl-support.c: Likewise.
21507         * elf/dl-writev.h: Likewise.
21508         * elf/rtld.c: Likewise.
21509         * grp/fgetgrent.c: Likewise.
21510         * gshadow/fgetsgent.c: Likewise.
21511         * gshadow/sgetsgent.c: Likewise.
21512         * iconv/gconv_conf.c: Likewise.
21513         * iconv/gconv_db.c: Likewise.
21514         * iconv/gconv_dl.c: Likewise.
21515         * iconv/gconv_int.h: Likewise.
21516         * iconv/gconv_trans.c: Likewise.
21517         * include/link.h: Likewise.
21518         * inet/getnameinfo.c: Likewise.
21519         * inet/getnetgrent.c: Likewise.
21520         * inet/getnetgrent_r.c: Likewise.
21521         * intl/bindtextdom.c: Likewise.
21522         * intl/dcigettext.c: Likewise.
21523         * intl/finddomain.c: Likewise.
21524         * intl/gettextP.h: Likewise.
21525         * intl/loadmsgcat.c: Likewise.
21526         * intl/localealias.c: Likewise.
21527         * intl/textdomain.c: Likewise.
21528         * libidn/idn-stub.c: Likewise.
21529         * libio/libioP.h: Likewise.
21530         * locale/duplocale.c: Likewise.
21531         * locale/freelocale.c: Likewise.
21532         * locale/newlocale.c: Likewise.
21533         * locale/setlocale.c: Likewise.
21534         * login/getutent_r.c: Likewise.
21535         * login/getutid_r.c: Likewise.
21536         * login/getutline_r.c: Likewise.
21537         * login/utmp-private.h: Likewise.
21538         * login/utmpname.c: Likewise.
21539         * malloc/mtrace.c: Likewise.
21540         * misc/efgcvt.c: Likewise.
21541         * misc/error.c: Likewise.
21542         * misc/fstab.c: Likewise.
21543         * misc/getpass.c: Likewise.
21544         * misc/mntent.c: Likewise.
21545         * misc/syslog.c: Likewise.
21546         * nis/nis_call.c: Likewise.
21547         * nis/nis_callback.c: Likewise.
21548         * nis/nss-default.c: Likewise.
21549         * nis/nss_compat/compat-grp.c: Likewise.
21550         * nis/nss_compat/compat-initgroups.c: Likewise.
21551         * nis/nss_compat/compat-pwd.c: Likewise.
21552         * nis/nss_compat/compat-spwd.c: Likewise.
21553         * nis/nss_nis/nis-alias.c: Likewise.
21554         * nis/nss_nis/nis-ethers.c: Likewise.
21555         * nis/nss_nis/nis-grp.c: Likewise.
21556         * nis/nss_nis/nis-hosts.c: Likewise.
21557         * nis/nss_nis/nis-network.c: Likewise.
21558         * nis/nss_nis/nis-proto.c: Likewise.
21559         * nis/nss_nis/nis-pwd.c: Likewise.
21560         * nis/nss_nis/nis-rpc.c: Likewise.
21561         * nis/nss_nis/nis-service.c: Likewise.
21562         * nis/nss_nis/nis-spwd.c: Likewise.
21563         * nis/nss_nisplus/nisplus-alias.c: Likewise.
21564         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21565         * nis/nss_nisplus/nisplus-grp.c: Likewise.
21566         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21567         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21568         * nis/nss_nisplus/nisplus-network.c: Likewise.
21569         * nis/nss_nisplus/nisplus-proto.c: Likewise.
21570         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21571         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21572         * nis/nss_nisplus/nisplus-service.c: Likewise.
21573         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21574         * nis/ypclnt.c: Likewise.
21575         * nptl/libc_pthread_init.c: Likewise.
21576         * nss/getXXbyYY.c: Likewise.
21577         * nss/getXXent.c: Likewise.
21578         * nss/getXXent_r.c: Likewise.
21579         * nss/nss_db/db-XXX.c: Likewise.
21580         * nss/nss_db/db-netgrp.c: Likewise.
21581         * nss/nss_db/nss_db.h: Likewise.
21582         * nss/nss_files/files-XXX.c: Likewise.
21583         * nss/nss_files/files-alias.c: Likewise.
21584         * nss/nsswitch.c: Likewise.
21585         * posix/regex_internal.h: Likewise.
21586         * posix/wordexp.c: Likewise.
21587         * pwd/fgetpwent.c: Likewise.
21588         * resolv/res_hconf.c: Likewise.
21589         * resolv/res_libc.c: Likewise.
21590         * shadow/fgetspent.c: Likewise.
21591         * shadow/lckpwdf.c: Likewise.
21592         * shadow/sgetspent.c: Likewise.
21593         * socket/opensock.c: Likewise.
21594         * stdio-common/reg-modifier.c: Likewise.
21595         * stdio-common/reg-printf.c: Likewise.
21596         * stdio-common/reg-type.c: Likewise.
21597         * stdio-common/vfprintf.c: Likewise.
21598         * stdio-common/vfscanf.c: Likewise.
21599         * stdlib/abort.c: Likewise.
21600         * stdlib/cxa_atexit.c: Likewise.
21601         * stdlib/fmtmsg.c: Likewise.
21602         * stdlib/random.c: Likewise.
21603         * stdlib/setenv.c: Likewise.
21604         * string/strsignal.c: Likewise.
21605         * sunrpc/auth_none.c: Likewise.
21606         * sunrpc/bindrsvprt.c: Likewise.
21607         * sunrpc/create_xid.c: Likewise.
21608         * sunrpc/key_call.c: Likewise.
21609         * sunrpc/rpc_thread.c: Likewise.
21610         * sysdeps/arm/backtrace.c: Likewise.
21611         * sysdeps/generic/ldsodefs.h: Likewise.
21612         * sysdeps/generic/stdio-lock.h: Likewise.
21613         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21614         * sysdeps/i386/backtrace.c: Likewise.
21615         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21616         * sysdeps/m68k/backtrace.c: Likewise.
21617         * sysdeps/mach/hurd/cthreads.c: Likewise.
21618         * sysdeps/mach/hurd/dirstream.h: Likewise.
21619         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21620         * sysdeps/nptl/malloc-machine.h: Likewise.
21621         * sysdeps/nptl/stdio-lock.h: Likewise.
21622         * sysdeps/posix/dirstream.h: Likewise.
21623         * sysdeps/posix/getaddrinfo.c: Likewise.
21624         * sysdeps/posix/system.c: Likewise.
21625         * sysdeps/pthread/aio_suspend.c: Likewise.
21626         * sysdeps/s390/s390-32/backtrace.c: Likewise.
21627         * sysdeps/s390/s390-64/backtrace.c: Likewise.
21628         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21629         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21630         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21631         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21632         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21633         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21634         * sysdeps/unix/sysv/linux/system.c: Likewise.
21635         * sysdeps/x86_64/backtrace.c: Likewise.
21636         * time/alt_digit.c: Likewise.
21637         * time/era.c: Likewise.
21638         * time/tzset.c: Likewise.
21639         * wcsmbs/wcsmbsload.c: Likewise.
21640         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21641         instead of <bits/libc-lock.h> in comment.
21643 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
21645         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21646         Only use .set mips2 if the current ISA is below mips2.
21647         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21648         Likewise.
21649         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21650         mips32r2 if the current ISA is below mips32r2.
21651         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21652         (TLS_IE): Updated to use the TLD_RDHWR macro.
21653         (TLS_LE): Likewise.
21654         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21655         __ASSEMBLER__ condition.
21657 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21659         Fix parallel build of before-compile targets.
21661         * sysdeps/mach/Makefile ($(patsubst
21662         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21663         mach-before-compile target.
21664         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21665         io fs process)): Move rule to dedicated hurd-before-compile target.
21667 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
21669         Fix rules generating headers in hurd/ and mach/ when initial make call
21670         has subdir= explicitly set.
21672         * sysdeps/mach/Makefile ($(patsubst
21673         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21674         calling $(MAKE).
21675         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21676         io fs process)): Force subdir to hurd when calling $(MAKE).
21677         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21678         subdir to mach when calling $(MAKE).
21680 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
21682         Check sysheaders when looking for Mach and Hurd headers
21684         * sysdeps/mach/configure.ac: Add sysheaders check.
21685         * sysdeps/mach/configure: Regenerate.
21686         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21687         * sysdeps/mach/hurd/configure: Regenerate.
21689 2015-09-04  Roland McGrath  <roland@hack.frob.com>
21691         [BZ #18921]
21692         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21693         Fix inverted sense of test of 'o_directory_works' value.
21694         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21695         Bernhard Voelker <mail@bernhard-voelker.de>.
21697 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21699         [BZ #14912]
21700         * bits/linkmap.h: Move to ...
21701         * sysdeps/generic/linkmap.h: ...here.
21702         * sysdeps/aarch64/bits/linkmap.h: Move to ...
21703         * sysdeps/aarch64/linkmap.h: ...here.
21704         * sysdeps/arm/bits/linkmap.h: Move to ...
21705         * sysdeps/arm/linkmap.h: ...here.
21706         * sysdeps/hppa/bits/linkmap.h: Move to ...
21707         * sysdeps/hppa/linkmap.h: ...here.
21708         * sysdeps/ia64/bits/linkmap.h: Move to ...
21709         * sysdeps/ia64/linkmap.h: ...here.
21710         * sysdeps/mips/bits/linkmap.h: Move to ...
21711         * sysdeps/mips/linkmap.h: ...here.
21712         * sysdeps/s390/bits/linkmap.h: Move to ...
21713         * sysdeps/s390/linkmap.h: ...here.
21714         * sysdeps/sh/bits/linkmap.h: Move to ...
21715         * sysdeps/sh/linkmap.h: ...here.
21716         * sysdeps/x86/bits/linkmap.h: Move to ...
21717         * sysdeps/x86/linkmap.h: ...here.
21718         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21720 2015-09-04  Andreas Schwab  <schwab@suse.de>
21722         [BZ #18635]
21723         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21724         (__makecontext): Terminate FDE before return label.
21725         (__novec_makecontext): Likewise.
21727 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21729         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21730         first member of struct sv in syscall macro.
21732 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
21734         [BZ #14912]
21735         * bits/stdio-lock.h: Move to ...
21736         * sysdeps/generic/stdio-lock.h: ...here.
21737         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21738         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21739         * sysdeps/nptl/stdio-lock.h: ...here.
21740         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21741         * include/libio.h: Include <stdio-lock.h> instead of
21742         <bits/stdio-lock.h>.
21743         * sysdeps/nptl/fork.c: Likewise.
21744         * sysdeps/pthread/flockfile.c: Likewise.
21745         * sysdeps/pthread/ftrylockfile.c: Likewise.
21746         * sysdeps/pthread/funlockfile.c: Likewise.
21748         [BZ #14912]
21749         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21750         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21751         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21752         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21753         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21754         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21755         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21757 2015-09-03  Roland McGrath  <roland@hack.frob.com>
21759         * elf/Makefile (test-xfail-tst-protected1a): New variable.
21760         (test-xfail-tst-protected1b): New variable.
21762 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
21764         [BZ #14912]
21765         * bits/libc-tsd.h: Move to ...
21766         * sysdeps/generic/libc-tsd.h: ...here.
21767         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21768         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21769         * sysdeps/mach/hurd/libc-tsd.h: ...here.
21770         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21771         * include/ctype.h: Include <libc-tsd.h> instead of
21772         <bits/libc-tsd.h>.
21773         * include/rpc/rpc.h: Likewise.
21774         * locale/localeinfo.h: Likewise.
21775         * sunrpc/rpc_thread.c: Likewise.
21776         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21777         * sysdeps/nptl/malloc-machine.h: Likewise.
21779         * Makefile (headers): Remove bits/libc-lock.h.
21780         * libio/Makefile (headers): Remove bits/stdio-lock.h.
21782         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21783         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21784         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21785         <bits/stdio-lock.h>.
21786         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21787         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21789 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21791         [BZ #18757]
21792         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21793         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21794         BZ #18757.
21796 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
21798         * malloc/mtrace.pl: Filter out NULL entries.
21800 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
21802         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21803         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21804         macro.
21806         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21807         (TCP_CC_INFO): Likewise.
21808         (TCP_SAVE_SYN): Likewise.
21809         (TCP_SAVED_SYN): Likewise.
21811 2015-08-31  Brett Neumeier <brett@neumeier.us>
21813         [BZ #18870]
21814         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21816 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
21818         [BZ #18873]
21819         Fix broken overflow check in posix_fallocate
21820         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21821         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21822         Fix parenthesization typo.
21824 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
21826         [BZ #18887]
21827         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21828         tst-mntent-blank-passno.
21829         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21830         * misc/tst-mntent-blank-corrupt.c: New test.
21831         * misc/tst-mntent-blank-passno.c: New test ripped from ...
21832         * misc/tst-mntent.c (do_test): ... here.
21834 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
21836         [BZ #4404]
21837         * po/de.po: Fix SIGALRM typo.
21839 2015-08-28  James Perkins  <james@loowit.net>
21841         * time/tst-strptime2.c (tests): Replace short list of test
21842         strings for strptime %z specifier with code which exhaustively
21843         tests every combination of sign and 0 to 5 digits. Tests for
21844         rejection of invalid strings.
21846 2015-08-28  James Perkins  <james@loowit.net>
21848         [BZ #16141]
21849         * time/strptime_l.c (__strptime_internal): Fix %z minutes
21850         calculation, removing incorrect decimal time rounding, so that
21851         all minute values result in a valid seconds value.
21852         * time/strptime_l.c (__strptime_internal): Extend %z time zone
21853         offset range limits to UTC-99:59 through UTC+99:59 to parse
21854         current and historical use cases.
21855         * time/tst-strptime2.c (tests): Modify and add tests for the
21856         strptime %z input field descriptor, specifically conversion of
21857         minutes to seconds and validating an offset range of -9959 to
21858         +9959.
21860 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21861             Dmitry V. Levin  <ldv@altlinux.org>
21863         [BZ #18877]
21864         * posix/Makefile (tests): Add tst-mmap-offset.
21865         * posix/tst-mmap.c: New file.
21866         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21867         offset calculation for negative values.
21869 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21871         * sysdeps/i386/init-arch.h: New file.
21872         * sysdeps/i386/i586/init-arch.h: Likewise.
21873         * sysdeps/i386/i686/init-arch.h: Likewise.
21874         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21875         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
21876         * sysdeps/x86/cpu-features.h (bit_I586): New.
21877         (bit_I686): Likewise.
21878         (bit_CX8): Likewise.
21879         (bit_CMOV): Likewise.
21880         (index_CX8): Likewise.
21881         (index_CMOV): Likewise.
21882         (index_I586): Likewise.
21883         (index_I686): Likewise.
21884         (reg_CX8): Likewise.
21885         (reg_CMOV): Likewise.
21886         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21887         available at compile-time.
21888         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21889         available at compile-time.
21890         * sysdeps/x86/init-arch.h (USE_I586): New macro.
21891         (USE_I686): Likewise.
21893 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21895         * sysdeps/i386/bcopy.S: New file.
21896         * sysdeps/i386/bzero.S: Likewise.
21897         * sysdeps/i386/memcpy.S: Likewise.
21898         * sysdeps/i386/memmove.S: Likewise.
21899         * sysdeps/i386/mempcpy.S: Likewise.
21900         * sysdeps/i386/memset.S: Likewise.
21901         * sysdeps/i386/bzero.c: Removed.
21902         * sysdeps/i386/memset.c: Likewise.
21903         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21904         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21905         * sysdeps/i386/i586/memset_chk.S: Likewise.
21906         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21907         * sysdeps/i386/memcpy_chk.S: Here.
21908         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21909         * sysdeps/i386/memmove_chk.S: Here.
21910         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21911         * sysdeps/i386/mempcpy_chk.S: Likewise.
21912         * sysdeps/i386/i686/memset_chk.S: Moved to ...
21913         * sysdeps/i386/memset_chk.S: Likewise.
21915 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
21917         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21918         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21919         file, move DIAG_POP_NEEDS_COMMENT to end of file.
21920         * soft-fp/fmadf4.c: Ditto.
21921         * soft-fp/fmatf4.c: Ditto.
21923 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21925         * sysdeps/i386/i586/Implies: Removed.
21926         * sysdeps/i386/i686/Implies: Likewise.
21928 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21930         * sysdeps/i386/i486/strlen.S: Moved to ...
21931         * sysdeps/i386/strlen.S: Here.
21933 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21935         * sysdeps/i386/i486/strcat.S: Moved to ...
21936         * sysdeps/i386/strcat.S: Here.
21938 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21940         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21941         * sysdeps/i386/pthread_spin_trylock.S: Here.
21942         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21943         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21945 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21947         * sysdeps/i386/i486/string-inlines.c: Moved to ...
21948         * sysdeps/i386/string-inlines.c: Here.
21950 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21952         * sysdeps/i386/i486/htonl.S: Moved ...
21953         * sysdeps/i386/htonl.S: here.
21955 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21957         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21958         * sysdeps/i386/bits/atomic.h: Here.
21960 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
21962         * sysdeps/i386/i486/Versions: Removed.
21964 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21966         [BZ #2898]
21967         * misc/mktemp.c: Add mkdtemp to the link_warning message.
21968         Based on patch by Aurelien Jarno.
21970 2015-08-26  Stan Shebs  <stanshebs@google.com>
21972         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21973         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21975 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
21977         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21978         * sysdeps/powerpc/dl-procinfo.c:
21979         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21980         feature so it shows when LD_SHOW_AUXV=1.
21982 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21984         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21985         (__arch_compare_and_exchange_val_32_acq): Remove and use common
21986         definition.  ISA 2.07B no longer requires full sync.
21988 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
21990         [BZ #18863]
21991         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21992         (si_call_addr): Define.
21993         (si_syscall): Define.
21994         (si_arch): Define.
21996 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
21998         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21999         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
22000         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
22001         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22002         (__memset_zero_constant_len_parameter): New.
22003         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
22004         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
22005         (__memset_zero_constant_len_parameter): Don't define if
22006         __memset_chk or USE_AS_BZERO are defined.
22008         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
22009         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
22010         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
22012         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
22013         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
22014         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
22015         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
22016         comments.
22017         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
22018         -mno-mmx for $(all-rtld-routines).
22019         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
22020         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
22021         i386.
22023 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
22025         * sysdeps/generic/unwind.h
22026         (_Unwind_Word): Use __mode__(__unwind_word__)
22027         instead of __mode__(__word__).
22028         (_Unwind_Sword): Likewise.
22030         * sysdeps/s390/s390-64/utf8-utf16-z9.c
22031         (MAX_NEEDED_INPUT): New define.
22032         (MAX_NEEDED_OUTPUT): New define.
22034         * NEWS: New item for IBM z13 string optimizations.
22036         * sysdeps/s390/multiarch/memrchr-c.c: New File.
22037         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
22038         * sysdeps/s390/multiarch/memrchr.c: Likewise.
22039         * sysdeps/s390/multiarch/Makefile
22040         (sysdep_routines): Add memrchr functions.
22041         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22042         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
22044         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
22045         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
22046         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
22047         * sysdeps/s390/multiarch/Makefile
22048         (sysdep_routines): Add wmemcmp functions.
22049         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22050         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
22051         * benchtests/bench-wmemcmp.c: New File.
22052         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
22054         * sysdeps/s390/multiarch/wmemset-c.c: New File.
22055         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
22056         * sysdeps/s390/multiarch/wmemset.c: Likewise.
22057         * sysdeps/s390/multiarch/Makefile
22058         (sysdep_routines): Add wmemset functions.
22059         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22060         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
22061         * wcsmbs/wmemset.c: Use WMEMSET if defined.
22062         * string/test-memset.c: Add wmemset support.
22063         * wcsmbs/test-wmemset.c: New File.
22064         * wcsmbs/Makefile (strop-tests): Add wmemset.
22065         * benchtests/bench-memset.c: Add wmemset support.
22066         * benchtests/bench-wmemset.c: New File.
22067         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
22069         * sysdeps/s390/multiarch/memccpy-c.c: New File.
22070         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22071         * sysdeps/s390/multiarch/memccpy.c: Likewise.
22072         * sysdeps/s390/multiarch/Makefile
22073         (sysdep_routines): Add memccpy functions.
22074         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22075         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
22076         * string/memccpy.c: Use MEMCCPY if defined.
22078         * sysdeps/s390/multiarch/memchr-vx.S: New File.
22079         * sysdeps/s390/multiarch/memchr.c: Likewise.
22080         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22081         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22082         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22083         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22084         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22085         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22086         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22087         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22088         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22089         and rawmemchr functions.
22090         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22091         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22092         and wmemchr.
22093         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22094         * string/test-memchr.c: Add wmemchr support.
22095         * wcsmbs/test-wmemchr.c: New File.
22096         * wcsmbs/Makefile (strop-tests): Add wmemchr.
22097         * benchtests/bench-memchr.c: Add wmemchr support.
22098         * benchtests/bench-wmemchr.c: New File.
22099         * benchtests/Makefile (wcsmbs-bench): wmemchr.
22101         * sysdeps/s390/multiarch/strcspn-c.c: New File.
22102         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22103         * sysdeps/s390/multiarch/strcspn.c: Likewise.
22104         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22105         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22106         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22107         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22108         wcscspn functions.
22109         * sysdeps/s390/multiarch/ifunc-impl-list.c
22110         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22111         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22112         * string/test-strcspn.c: Add wcscspn support.
22113         * wcsmbs/test-wcscspn.c: New File.
22114         * wcsmbs/Makefile (strop-tests): Add wcscspn.
22115         * benchtests/bench-strcspn.c: Add wcscspn support.
22116         * benchtests/bench-wcscspn.c: New File.
22117         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22119         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22120         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22121         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22122         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22123         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22124         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22125         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22126         wcspbrk functions.
22127         * sysdeps/s390/multiarch/ifunc-impl-list.c
22128         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22129         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22130         * string/test-strpbrk.c: Add wcspbrk support.
22131         * wcsmbs/test-wcspbrk.c: New File.
22132         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22133         * benchtests/bench-strpbrk.c: Add wcspbrk support.
22134         * benchtests/bench-wcspbrk.c: New File.
22135         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
22137         * sysdeps/s390/multiarch/strspn-c.c: New File.
22138         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
22139         * sysdeps/s390/multiarch/strspn.c: Likewise.
22140         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
22141         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
22142         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
22143         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
22144         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
22145         wcsspn functions.
22146         * sysdeps/s390/multiarch/ifunc-impl-list.c
22147         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
22148         * string/test-strspn.c: Add wcsspn support.
22149         * wcsmbs/test-wcsspn.c: New File.
22150         * wcsmbs/Makefile (strop-tests): Add wcsspn.
22151         * benchtests/bench-strspn.c: Add wcsspn support.
22152         * benchtests/bench-wcsspn.c: New File.
22153         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
22155         * sysdeps/s390/multiarch/strrchr-c.c: New File.
22156         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
22157         * sysdeps/s390/multiarch/strrchr.c: Likewise.
22158         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
22159         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
22160         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
22161         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
22162         wcsrchr functions.
22163         * sysdeps/s390/multiarch/ifunc-impl-list.c
22164         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
22165         * benchtests/bench-wcsrchr.c: New File.
22166         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
22168         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
22169         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
22170         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
22171         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
22172         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
22173         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
22174         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
22175         wcschrnul functions.
22176         * sysdeps/s390/multiarch/ifunc-impl-list.c
22177         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
22178         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
22179         * string/test-strchr.c: Add wcschrnul support.
22180         * wcsmbs/test-wcschrnul.c: New File.
22181         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
22182         * benchtests/bench-strchr.c: Add wcschrnul support.
22183         * benchtests/bench-wcschrnul.c: New File.
22184         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
22186         * sysdeps/s390/multiarch/strchr-c.c: New File.
22187         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
22188         * sysdeps/s390/multiarch/strchr.c: Likewise.
22189         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
22190         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
22191         * sysdeps/s390/multiarch/wcschr.c: Likewise.
22192         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
22193         wcschr functions.
22194         * sysdeps/s390/multiarch/ifunc-impl-list.c
22195         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
22196         * string/strchr.c (STRCHR): Define and use macro.
22197         * benchtests/bench-wcschr.c: New File.
22198         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
22200         * sysdeps/s390/multiarch/strncmp-c.c: New File.
22201         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
22202         * sysdeps/s390/multiarch/strncmp.c: Likewise.
22203         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
22204         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
22205         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
22206         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
22207         wcsncmp functions.
22208         * sysdeps/s390/multiarch/ifunc-impl-list.c
22209         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
22210         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
22211         * benchtests/bench-strncmp.c: Add wcsncmp support.
22212         * benchtests/bench-wcsncmp.c: New File.
22213         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
22215         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
22216         * sysdeps/s390/multiarch/strcmp.c: Likewise.
22217         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
22218         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
22219         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
22220         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
22221         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
22222         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
22223         wcscmp functions.
22224         * sysdeps/s390/multiarch/ifunc-impl-list.c
22225         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
22226         * string/strcmp.c (STRCMP): Define and use macro.
22227         * benchtests/bench-wcscmp.c: New File.
22228         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
22229         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
22230         instead of _HAVE_STRING_ARCH_memchr.
22232         * sysdeps/s390/multiarch/strncat-c.c: New File.
22233         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
22234         * sysdeps/s390/multiarch/strncat.c: Likewise.
22235         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
22236         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
22237         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
22238         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
22239         wcsncat functions.
22240         * sysdeps/s390/multiarch/ifunc-impl-list.c
22241         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
22242         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
22243         * string/test-strncat.c: Add wcsncat support.
22244         * wcsmbs/test-wcsncat.c: New File.
22245         * wcsmbs/Makefile (strop-tests): Add wcsncat.
22246         * benchtests/bench-strncat.c: Add wcsncat support.
22247         * benchtests/bench-wcsncat.c: New File.
22248         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
22250         * sysdeps/s390/multiarch/strcat-c.c: New File.
22251         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
22252         * sysdeps/s390/multiarch/strcat.c: Likewise.
22253         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
22254         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
22255         * sysdeps/s390/multiarch/wcscat.c: Likewise.
22256         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
22257         wcscat functions.
22258         * sysdeps/s390/multiarch/ifunc-impl-list.c
22259         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
22260         * string/strcat.c (STRCAT): Define and use macro.
22261         * wcsmbs/wcscat.c: Use WCSCAT if defined.
22262         * string/test-strcat.c: Add wcscat support.
22263         * wcsmbs/test-wcscat.c: New File.
22264         * wcsmbs/Makefile (strop-tests): Add wcscat.
22265         * benchtests/bench-strcat.c: Add wcscat support.
22266         * benchtests/bench-wcscat.c: New File.
22267         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
22269         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
22270         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
22271         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
22272         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
22273         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
22274         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
22275         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
22276         wcpncpy functions.
22277         * sysdeps/s390/multiarch/ifunc-impl-list.c
22278         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
22279         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
22280         * string/test-stpncpy.c: Add wcpncpy support.
22281         * wcsmbs/test-wcpncpy.c: New File.
22282         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
22283         * benchtests/bench-stpncpy.c: Add wcpncpy support.
22284         * benchtests/bench-wcpncpy.c: New File.
22285         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
22287         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
22288         * sysdeps/s390/multiarch/strncpy.c: Likewise.
22289         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
22290         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
22291         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
22292         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
22293         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
22294         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
22295         wcsncpy functions.
22296         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
22297         * sysdeps/s390/multiarch/ifunc-impl-list.c
22298         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
22299         * string/test-strncpy.c: Add wcsncpy support.
22300         * wcsmbs/test-wcsncpy.c: New File.
22301         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
22302         * benchtests/bench-strncpy.c: Add wcsncpy support.
22303         * benchtests/bench-wcsncpy.c: New File.
22304         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
22306         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
22307         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22308         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22309         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22310         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22311         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22312         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22313         wcpcpy functions.
22314         * string/stpcpy.c: Use STPCPY if defined.
22315         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22316         * sysdeps/s390/multiarch/ifunc-impl-list.c
22317         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22318         * string/test-stpcpy.c: Add wcpcpy support.
22319         * wcsmbs/test-wcpcpy.c: New File.
22320         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22321         * benchtests/bench-stpcpy.c: Add wcpcpy support.
22322         * benchtests/bench-wcpcpy.c: New File.
22323         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22325         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22326         * sysdeps/s390/multiarch/strcpy.c: Likewise.
22327         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22328         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22329         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22330         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22331         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22332         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22333         wcscpy functions.
22334         * sysdeps/s390/multiarch/ifunc-impl-list.c
22335         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22336         * benchtests/bench-wcscpy.c: New File.
22337         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22339         * sysdeps/s390/multiarch/strnlen-c.c: New File.
22340         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22341         * sysdeps/s390/multiarch/strnlen.c: Likewise.
22342         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22343         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22344         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22345         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22346         wcsnlen functions.
22347         * sysdeps/s390/multiarch/ifunc-impl-list.c
22348         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22349         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22350         * string/test-strnlen.c: Add wcsnlen support.
22351         * wcsmbs/test-wcsnlen.c: New File.
22352         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22353         * benchtests/bench-strnlen.c: Add wcsnlen support.
22354         * benchtests/bench-wcsnlen.c: New File.
22355         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22357         * sysdeps/s390/multiarch/Makefile: New File.
22358         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22359         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22360         * sysdeps/s390/multiarch/strlen.c: Likewise.
22361         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22362         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22363         * sysdeps/s390/multiarch/wcslen.c: Likewise.
22364         * string/strlen.c (STRLEN): Define and use macro.
22365         * sysdeps/s390/multiarch/ifunc-impl-list.c
22366         (IFUNC_VX_IMPL): New macro function.
22367         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22368         * benchtests/Makefile (wcsmbs-bench): New variable.
22369         (string-bench-all): Added wcsmbs-bench.
22370         * benchtests/bench-wcslen.c: New File.
22372         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22373         s390_vx_libc_ifunc2): New macro function.
22375         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22376         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22377         assembler support.
22378         * sysdeps/s390/configure: Regenerated.
22380         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22381         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22383         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22384         * sysdeps/s390/dl-procinfo.h: Add vector capability.
22385         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22387         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22388         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22389         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22390         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22391         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22392         (memcmp, bcmp): Use __memcmp_default as alias source.
22393         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22394         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22395         Rename to __memcmp_default.
22396         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22397         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22398         (memcpy): Use __memcpy_default as alias source.
22399         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22400         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22401         Rename to __memcpy_default.
22402         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22403         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22404         (memset): Use __memset_default as alias source.
22405         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22406         * sysdeps/s390/s390-32/memset.S (__memset_g5):
22407         Rename to __memset_default.
22408         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22409         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22411         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22412         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22413         (memcmp, bcmp): Use __memcmp_default as alias source.
22414         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22415         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22416         Rename to __memcmp_default.
22417         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22418         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22419         (memcpy): Use __memcpy_default as alias source.
22420         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22421         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22422         Rename to __memcpy_default.
22423         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22424         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22425         (memset): Use __memset_default as alias source.
22426         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22427         * sysdeps/s390/s390-64/memset.S (__memset_z900):
22428         Rename to __memset_default.
22429         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22430         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22432         [BZ #18610]
22433         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22434         __ieee_instruction_pointer to __unused.
22435         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22436         __ieee_instruction_pointer.
22437         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22438         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22439         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22440         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22441         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22442         Mark dxc-field as reserved.
22444 2015-08-25  Roland McGrath  <roland@hack.frob.com>
22446         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22447         if the weak reference is not null.
22449 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22451         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22453         [BZ #11214]
22454         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22456 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22458         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22459         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22460         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22461         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22462         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22463         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22464         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22465         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22466         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22467         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22468         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22469         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22470         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22471         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22472         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22473         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22474         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22475         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22477 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22479         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22480         register other than r0 for tabort, it has special meaning.
22481         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22482         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22483         transaction before starting syscall.
22485 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22487         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22489 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22491         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22493         * sysdeps/x86_64/rtld-memcmp.c: Removed.
22494         * sysdeps/x86_64/rtld-memset.S: Likewise.
22495         * sysdeps/x86_64/rtld-strchr.S: Likewise.
22496         * sysdeps/x86_64/rtld-strlen.S: Likewise.
22497         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22498         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22500         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22502 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
22504         * debug/strcpy_chk.c: Improve performance.
22505         * debug/stpcpy_chk.c: Likewise.
22506         * sysdeps/x86_64/strcpy_chk.S: Remove.
22507         * sysdeps/x86_64/stpcpy_chk.S: Remove.
22509         [BZ #18240]
22510         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22512 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
22514         [BZ #15128]
22515         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22516         ifuncmain8.
22517         (modules-names): Add ifuncmod8.
22518         ($(objpfx)ifuncmain8): New rule.
22519         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22520         <cpuid.h>.
22521         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22522         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22523         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22524         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22525         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22526         * sysdeps/x86_64/dl-trampoline.h: Likewise.
22527         * sysdeps/x86_64/ifuncmain8.c: New file.
22528         * sysdeps/x86_64/ifuncmod8.c: Likewise.
22529         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22530         Removed.
22531         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22532         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22533         Change rtld_savespace_sse to __glibc_unused2.
22534         (RTLD_CHECK_FOREIGN_CALL): Removed.
22535         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22536         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22537         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22539 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22541         * sysdeps/aarch64/bzero.S (__bzero): Remove.
22543 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
22545         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22546         Unconditionally set __fpcr to avoid uninialized warning.
22547         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22549 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22551         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22552         is corrupt.
22554         * malloc/arena.c (arena_get2): Drop unused argument.
22555         (arena_lock): Adjust.
22556         (arena_get_retry): Likewise.
22558 2015-08-24  Andreas Schwab  <schwab@suse.de>
22560         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22561         Don't define.
22562         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22563         (__ASSUME_IPC64): Don't undef.
22564         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22565         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22566         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22567         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22568         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22569         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22570         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22571         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22572         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22573         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22574         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22575         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22576         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22577         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22578         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22579         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22580         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22581         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22582         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22583         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22584         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22586 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
22588         * manual/Makefile (install): Only build manual when perl is available.
22590 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22592         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22593         '#undef memcpy' by '#undef memchr'.
22595 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22597         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22598         memchr not point to the internal __GI_memchr implementation.
22600 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22602         * timezone/Makefile (CFLAGS-zdump.c): Remove
22603         -Wno-strict-prototypes.
22604         (CFLAGS-zic.c): Likewise.
22605         (CFLAGS-ialloc.c): Likewise.
22606         (CFLAGS-scheck.c): Likewise.
22608         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22609         -Wno-error=undef.
22611 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22613         * i386/i686/multiarch/strcasestr-c.c: Removed.
22614         * x86_64/multiarch/strcasestr.c: Likewise.
22615         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22616         Remove strcasestr.
22618 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
22620         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22622         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22623         variables for high and low parts before possibly modifying them.
22625 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22627         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22628         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22629         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22630         of "multiarch/init-arch.h".
22631         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22632         * sysdeps/x86/init-arch.h: This.
22634 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
22636         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22637         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22639 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
22641         [BZ #17787]
22642         * manual/macros.texi: Add twoexp macro.
22643         * manual/filesys.texi: Fix exponents.
22644         * manual/llio.texi: Likewise.
22645         * manual/stdio.texi: Likewise.
22647 2015-08-20  Florian Weimer  <fweimer@redhat.com>
22649         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22650         incorrect use.
22652 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22654         [BZ #18370]
22655         * math/s_csqrt.c (__csqrt): Force underflow exception for results
22656         whose real or imaginary part has small absolute value.
22657         * math/s_csqrtf.c (__csqrtf): Likewise.
22658         * math/s_csqrtl.c (__csqrtl): Likewise.
22659         * math/auto-libm-test-in: Add more tests of csqrt.
22660         * math/auto-libm-test-out: Regenerated.
22661         * sysdeps/i386/fpu/libm-test-ulps: Update.
22663 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
22665         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22666         __ppc_set_ppr_very_low): New functions.
22667         * manual/platform.texi: Add documentation about
22668         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22670 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
22672         * string/stpncpy.c (stpncpy): Improve performance using
22673         __strnlen/memcpy/memset.
22675 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22677         [BZ #18796]
22678         * scripts/test-installation.pl: Don't add -lmvec to build options if
22679         libmvec wasn't built.
22681 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
22683         [BZ #14341]
22684         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22685         case when there is a gap between DT_REL and DT_JMPREL sections.
22686         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22687         (LDFLAGS-tst-split-dynreloc): New.
22688         (tst-split-dynreloc-ENV): Likewise.
22689         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22690         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22692 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22694         [BZ #18822]
22695         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22696         attribute_hidden.
22697         (__xstat64_conv): Likewise.
22698         (__xstat32_conv): Likewise.
22700 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22702         [BZ #18822]
22703         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22704         Don't load %ebx when calling __setcontext.  Call __setcontext
22705         with HIDDEN_JUMPTARGET.
22706         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22707         libc_hidden_def.
22709 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22711         * sysdeps/i386/i686/Makefile
22712         [$(subdir) == string] (sysdep_routines): Moved to ...
22713         * sysdeps/i386/Makefile: Here.
22714         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22715         * sysdeps/i386/cacheinfo.c: Here.
22716         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22717         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22718         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22719         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22721 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
22723         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22724         __i586__ is defined.
22725         (HAS_I686): Defined to 1 if __i686__ is defined.
22727 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
22729         * elf/Makefile [$(have-z-execstack) = yes]
22730         (CPPFLAGS-tst-execstack.c): New variable.
22732         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22733         conditional to [defined UTMPX || _HAVE_UT_TYPE].
22734         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22735         UTMPX || _HAVE_UT_TV].
22736         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22737         UTMPX || _HAVE_UT_TV - 0].
22739 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
22741         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22742         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22743         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22745 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22747         * sysdeps/powerpc/dl-procinfo.c:
22748         (_dl_powerpc_cap_flags): Added missing strings for some
22749         hwcap features.
22750         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22752 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
22754         Port the 0x7efe...feff pattern to GCC 6.
22755         See Steve Ellcey's bug report in:
22756         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22757         * string/memrchr.c (MEMRCHR):
22758         * string/rawmemchr.c (RAWMEMCHR):
22759         * string/strchr.c (strchr):
22760         * string/strchrnul.c (STRCHRNUL):
22761         Rewrite code to avoid issues with signed shift overflow.
22763 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
22765         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22766         whether cpuid is available only if HAS_CPUID is 0.
22767         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22768         (HAS_I586): Likewise.
22769         (HAS_I686): Likewise.
22771 2015-08-18  Zack Weinberg  <zackw@panix.com>
22773         * misc/Versions (libc): Add GLIBC_2.23.
22775 2015-08-18  Alan Modra  <amodra@gmail.com>
22777         [BZ #18421]
22778         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22779         .Lp__global.
22780         (_start): Load %dp via .Lp__global.
22781         [!SHARED]: Use .section .rodata.
22783 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22785         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22786         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22788 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22790         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22791         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22793 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22795         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22796         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22798 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22800         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22801         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22803 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22805         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22806         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22808 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22810         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22811         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22813 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22815         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22817 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22819         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22820         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
22821         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22822         (__ASSUME_LWS_CAS): Delete.
22824 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
22826         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22827         * sysdeps/hppa/configure: Regenerated.
22828         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22829         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22830         * sysdeps/hppa/nptl/tls.h: Likewise.
22832 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
22834         [BZ #18823]
22835         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22836         for scaling up small arguments.
22837         * math/s_csqrtf.c (__csqrtf): Likewise.
22838         * math/s_csqrtl.c (__csqrtl): Likewise.
22839         * math/auto-libm-test-in: Add more tests of csqrt.
22840         * math/auto-libm-test-out: Regenerated.
22842 2015-08-17  Andreas Schwab  <schwab@suse.de>
22844         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22845         version set GLIBC_2.19.
22847 2015-08-16  Zack Weinberg  <zackw@panix.com>
22849         [BZ #18681]
22850         * misc/regexp.h: This interface is no longer supported.
22851         Remove all contents, leaving only an #error directive.
22852         * misc/regexp.c (loc1, loc2, locs, step, advance):
22853         Demote to compatibility symbols.
22855 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
22857         [BZ #18084]
22858         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22859         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22860         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22861         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22862         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22863         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22864         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22865         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22866         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22868 2015-08-15  Zack Weinberg  <zackw@panix.com>
22870         [BZ #18795]
22871         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22872         buffer length is known to be too large, not if it's known to be
22873         small enough.
22874         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22875         overflow at runtime, involving a length parameter, twice: once
22876         with a compile-time constant length parameter, once without.
22878 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
22880         [BZ #18824]
22881         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22882         scaling x * y up instead of down.
22883         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22884         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22885         * math/auto-libm-test-in: Add more tests of fma.
22886         * math/auto-libm-test-out: Regenerated.
22888 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
22890         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22892 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22894         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22895         unnecessary movq.
22896         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22897         Likewise.
22899 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
22901         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22902         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22903         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22904         and tgamma.
22905         * math/auto-libm-test-out: Regenerated.
22906         * sysdeps/i386/fpu/libm-test-ulps: Update.
22907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22909         [BZ #16520]
22910         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22911         (__tanh): Force underflow exception for arguments with small
22912         absolute value.
22913         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22914         (__tanhf): Force underflow exception for arguments with small
22915         absolute value.
22916         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22917         (__tanhl): Force underflow exception for arguments with small
22918         absolute value.
22919         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22920         (__tanhl): Force underflow exception for arguments with small
22921         absolute value.
22922         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22923         (__tanhl): Force underflow exception for arguments with small
22924         absolute value.
22925         * math/auto-libm-test-in: Add more tests of tanh.
22926         * math/auto-libm-test-out: Regenerated.
22927         * sysdeps/i386/fpu/libm-test-ulps: Update.
22929 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22931         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22932         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22934 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22936         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22937         <cpuid.h>.
22939 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22941         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22942         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22944 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22946         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22947         Remove $(objpfx)init-arch.o.
22948         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22949         init-arch.
22950         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22951         (INIT_ARCH_EXT): Defined as empty.
22952         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22953         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22954         __init_cpu_features call.  Replace HAS_XXX with
22955         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22956         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22957         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22958         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22959         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22960         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22961         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22962         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22963         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22964         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22965         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22966         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22967         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22968         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22969         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22970         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22971         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22972         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22973         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22974         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22975         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22977         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22978         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22979         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22980         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22981         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22982         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22983         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22984         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22985         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22986         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22987         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22988         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22989         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22990         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22992 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
22994         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22995         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22996         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22997         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22998         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22999         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
23000         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
23001         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
23002         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
23003         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
23004         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
23005         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
23006         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23007         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23008         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23009         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23010         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23011         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23012         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23013         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23014         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23015         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23016         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23017         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23018         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23019         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23020         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23021         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23022         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23023         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23024         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23025         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23026         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23027         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23028         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23029         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23030         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23031         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23032         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23033         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23034         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23035         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23036         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23038 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23040         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
23041         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23042         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
23043         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
23044         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
23045         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
23046         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
23047         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
23048         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
23049         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
23050         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
23051         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
23052         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
23053         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
23054         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
23055         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
23056         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
23057         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
23058         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
23059         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
23060         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
23061         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
23062         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
23063         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23064         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23065         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
23066         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
23067         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
23068         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23069         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23070         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23071         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23072         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23073         * sysdeps/x86_64/multiarch/memset.S: Likewise.
23074         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23075         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23076         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23077         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23078         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23079         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23080         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23081         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23082         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23084 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
23086         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23087         (dl_platform_init): Call init_cpu_features.
23088         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23089         * sysdeps/i386/i686/cacheinfo.c
23090         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23091         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23092         * sysdeps/i386/i686/multiarch/Versions: Removed.
23093         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23094         Removed.
23095         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23096         * sysdeps/unix/sysv/linux/x86/Makefile
23097         (libpthread-sysdep_routines): Remove init-arch.
23098         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23099         <sysdeps/x86_64/dl-procinfo.c> instead of
23100         sysdeps/generic/dl-procinfo.c>.
23101         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23102         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23103         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23104         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23105         [$(subdir) == elf] (tests-static): Add
23106         tst-get-cpu-features-static.
23107         * sysdeps/x86/Versions: New file.
23108         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23109         * sysdeps/x86/cpu-features.c: Likewise.
23110         * sysdeps/x86/cpu-features.h: Likewise.
23111         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23112         * sysdeps/x86/libc-start.c: Likewise.
23113         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23114         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23115         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23116         * sysdeps/x86_64/dl-procinfo.c: Likewise.
23117         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23118         Assume USE_MULTIARCH is defined and don't check it.
23119         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23120         (is_amd): Likewise.
23121         (max_cpuid): Likewise.
23122         (intel_check_word): Likewise.
23123         (__cache_sysconf): Don't call __init_cpu_features.
23124         (__x86_preferred_memory_instruction): Removed.
23125         (init_cacheinfo): Don't call __init_cpu_features. Replace
23126         __cpu_features with GLRO(dl_x86_cpu_features).
23127         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23128         (dl_platform_init): Call init_cpu_features.
23129         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23130         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23131         * sysdeps/x86_64/multiarch/Versions: Removed.
23132         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23133         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23134         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23135         Removed.
23136         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
23138 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23140         [BZ #18820]
23141         * libio/Makefile (test-fmemopen-mem): New test.
23142         * libio/test-fmemopen.c (do_bz18820): New test.
23143         * libio/fmemopen.c (__fmemopen): Fix memory leak.
23144         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
23146 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
23148         [BZ #16734]
23149         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
23150         (FREE_BUF): Delete.
23151         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
23152         * libio/genops.c (_IO_setb): Use malloc and free directly.
23153         (_IO_default_doallocate, _IO_default_finish): Likewise.
23154         ( _IO_unbuffer_all): Likewise.
23155         ( libc_freeres_fn): Likewise.
23156         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23157         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23158         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
23159         (_IO_wdefault_doallocate): Likewise.
23161 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
23163         [BZ #18086]
23164         * sysdeps/posix/nice.c (nice): Restore old errno.
23165         * posix/tst-nice.c (do_test): Add test for BZ #18086.
23167 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
23169         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
23171 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23173         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
23174         __bcopy and add a weak_alias to bcopy.
23175         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
23176         for static build.
23178         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
23179         cleanup macro usage.
23180         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
23181         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
23182         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23183         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
23184         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23185         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
23186         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
23187         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23188         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23189         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
23190         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23191         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
23192         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23193         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
23194         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23195         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
23196         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
23197         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
23198         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23200         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
23201         libc_hidden_def.
23202         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
23204         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
23205         (sysdep_routines): Add strstr-ppc64.
23206         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
23208 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
23210         [BZ #18778]
23211         * elf/Makefile (tests): Add Add tst-nodelete2.
23212         (modules-names): Add tst-nodelete2mod.
23213         (tst-nodelete2mod.so-no-z-defs): New.
23214         ($(objpfx)tst-nodelete2): Likewise.
23215         ($(objpfx)tst-nodelete2.out): Likewise.
23216         (LDFLAGS-tst-nodelete2): Likewise.
23217         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
23218         out of loop through all loaded libraries.
23219         * elf/tst-nodelete2.c: New file.
23220         * elf/tst-nodelete2mod.c: Likewise.
23221         * elf/tst-znodelete-zlib.cc: Delete.
23223 2015-08-11  Andreas Schwab  <schwab@suse.de>
23225         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
23226         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
23227         (__openat64_nocancel): Likewise.
23229 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
23231         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
23232         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
23233         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
23234         * math/auto-libm-test-out: Regenerated.
23235         * sysdeps/i386/fpu/libm-test-ulps: Update.
23236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23238 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
23240         [BZ #18790]
23241         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
23242         threshold for returning +/- 1.
23243         * math/auto-libm-test-in: Add more tests of tanh.
23244         * math/auto-libm-test-out: Regenerated.
23245         * sysdeps/i386/fpu/libm-test-ulps: Update.
23247 2015-08-10  Andreas Schwab  <schwab@suse.de>
23249         [BZ #18781]
23250         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
23251         MORE_OFLAGS to oflag.
23252         * io/test-lfs.c (do_test): Test openat64.
23254 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
23256         [BZ #18789]
23257         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
23258         smaller threshold for returning the argument.
23259         * math/auto-libm-test-in: Add more tests of sinh.
23260         * math/auto-libm-test-out: Regenerated.
23261         * sysdeps/i386/fpu/libm-test-ulps: Update.
23263 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
23265         [BZ #18674]
23266         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
23267         break.
23269 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
23271         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
23272         (generated): Don't add $(addprefix z.,$(tzfiles)).
23274 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23276         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
23277         * scripts/sysd-rules.awk: Likewise.
23279 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23281         * iconvdata/tst-tables.sh: Change echo -n to printf.
23282         * nss/db-Makefile: Likewise.
23283         * posix/tst-getconf.sh: Likewise.
23284         * stdio-common/tst-unbputc.sh: Likewise.
23286 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
23288         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
23289         MADV_*_PAGES defines behind this feature check.
23291 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
23293         [BZ #18480]
23294         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
23295         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
23296         Define.
23297         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
23298         LOAD_REGS_5, LOAD_REGS_6): Update.
23299         (INTERNAL_SYSCALL): Update using new LOAD defines.
23300         (INTERNAL_SYSCALL_NCS): Likewise.
23301         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
23303 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23305         [BZ #16734]
23306         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23308 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
23310         [BZ #17905]
23311         * catgets/Makefile (tst-catgets-mem): New test.
23312         * catgets/catgets.c (catopen): Don't use unbounded alloca.
23313         * catgets/open_catalog.c (__open_catalog): Likewise.
23314         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23316 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
23318         [BZ #18787]
23319         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23320         clobber registers.
23321         (atomic_compare_and_exchange_val_acq): Use register asms to assign
23322         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
23323         Cast return to __typeof (oldval).
23325 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
23327         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23328         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
23329         and delete sys/syscall.h include.
23331 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
23333         [BZ #16517]
23334         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23335         (tan): Force underflow exception for arguments with small absolute
23336         value.
23337         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23338         (__kernel_tanf): Force underflow exception for arguments with
23339         small absolute value.
23340         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23341         (__kernel_tanl): Force underflow exception for arguments with
23342         small absolute value.
23343         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23344         (__kernel_tanl): Force underflow exception for arguments with
23345         small absolute value.
23346         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23347         (__kernel_tanl): Force underflow exception for arguments with
23348         small absolute value.
23349         * math/auto-libm-test-in: Add more tests of tan.
23350         * math/auto-libm-test-out: Regenerated.
23352 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23354         Fix sysdeps/i386/fpu/s_scalbn.S build
23356         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23358 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
23360         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23362 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23364         Fix gcrt0.o compilation
23366         When static-start-installed-name is different from
23367         start-installed-name, we must not use the shared objects.
23369         * csu/Makefile
23370         (extra-objs): Add gmon-start.o when building shared library and
23371         $(static-start-installed-name) is different from
23372         $(start-installed-name).
23373         $(objpfx)g$(static-start-installed-name): When building shared
23374         library and $(static-start-installed-name) is different from
23375         $(static-start-installed-name), revert to non-shared rule,
23376         i.e. using $(objpfx)% and gmon-start.o.
23378 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
23380         [BZ #16519]
23381         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23382         (__ieee754_sinh): Force underflow exception for arguments with
23383         small absolute value.
23384         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23385         (__ieee754_sinhf): Force underflow exception for arguments with
23386         small absolute value.
23387         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23388         (__ieee754_sinhl): Force underflow exception for arguments with
23389         small absolute value.
23390         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23391         (__ieee754_sinhl): Force underflow exception for arguments with
23392         small absolute value.
23393         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23394         (__ieee754_sinhl): Force underflow exception for arguments with
23395         small absolute value.
23396         * math/auto-libm-test-in: Add more tests of sinh.
23397         * math/auto-libm-test-out: Regenerated.
23398         * sysdeps/i386/fpu/libm-test-ulps: Update.
23400 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
23402         * libio/oldfileops.c: Include unistd.h.
23404 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
23406         * stdlib/isomac.c: Include ctype.h.
23408 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
23410         * dirent/tst-seekdir.c (main): Converted to ...
23411         (do_test): ... this.
23412         (TEST_FUNCTION): New macro.
23413         Include test-skeleton.c.
23414         * elf/tst-dlmodcount.c (main): Converted to ...
23415         (do_test): ... this.
23416         (TEST_FUNCTION): New macro.
23417         Include test-skeleton.c.
23418         * elf/tst-order-main.c (main): Converted to ...
23419         (do_test): ... this.
23420         (TEST_FUNCTION): New macro.
23421         Include test-skeleton.c.
23422         * elf/tst-pie2.c (main): Converted to ...
23423         (do_test): ... this.
23424         (TEST_FUNCTION): New macro.
23425         Include test-skeleton.c.
23426         * inet/tst-ether_aton.c (main): Converted to ...
23427         (do_test): ... this.
23428         (TEST_FUNCTION): New macro.
23429         Include test-skeleton.c.
23430         * misc/tst-mntent.c (main): Converted to ...
23431         (do_test): ... this.
23432         (TEST_FUNCTION): New macro.
23433         Include test-skeleton.c.
23434         * misc/tst-tsearch.c (main): Converted to ...
23435         (do_test): ... this.
23436         (TEST_FUNCTION): New macro.
23437         Include test-skeleton.c.
23438         * posix/tst-regexloc.c (main): Converted to ...
23439         (do_test): ... this.
23440         (TEST_FUNCTION): New macro.
23441         Include test-skeleton.c.
23442         * resolv/tst-aton.c (main): Converted to ...
23443         (do_test): ... this.
23444         (TEST_FUNCTION): New macro.
23445         Include test-skeleton.c.
23446         * stdio-common/test-fwrite.c (main): Converted to ...
23447         (do_test): ... this.
23448         (TEST_FUNCTION): New macro.
23449         Include test-skeleton.c.
23450         * stdio-common/tst-ferror.c (main): Converted to ...
23451         (do_test): ... this.
23452         (TEST_FUNCTION): New macro.
23453         Include test-skeleton.c.
23454         * stdio-common/tst-printf.c (main): Converted to ...
23455         (do_test): ... this.
23456         (TEST_FUNCTION): New macro.
23457         Include test-skeleton.c.
23458         * stdio-common/tst-printfsz.c (main): Converted to ...
23459         (do_test): ... this.
23460         (TEST_FUNCTION): New macro.
23461         Include test-skeleton.c.
23462         * stdlib/tst-strtod.c (main): Converted to ...
23463         (do_test): ... this.
23464         (TEST_FUNCTION): New macro.
23465         Include test-skeleton.c.
23466         * string/tst-strlen.c (main): Converted to ...
23467         (do_test): ... this.
23468         (TEST_FUNCTION): New macro.
23469         Include test-skeleton.c.
23470         * string/tst-svc.c (main): Converted to ...
23471         (do_test): ... this.
23472         (TEST_FUNCTION): New macro.
23473         Include test-skeleton.c.
23474         * time/tst-strptime.c (main): Converted to ...
23475         (do_test): ... this.
23476         (TEST_FUNCTION): New macro.
23477         Include test-skeleton.c.
23478         * timezone/tst-timezone.c (main): Converted to ...
23479         (do_test): ... this.
23480         (TEST_FUNCTION): New macro.
23481         Include test-skeleton.c.
23483 2015-08-05  Zack Weinberg  <zackw@panix.com>
23485         * misc/regexp.h: Update comments.
23487 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
23489         [BZ #18635]
23490         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23491         before return label.
23493 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23495         [BZ #18661]
23496         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23497         when calling __errno_location.
23498         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23499         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23501 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23503         [BZ #18661]
23504         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23505         (__lll_timedwait_tid): Align stack to 16 bytes when calling
23506         __gettimeofday.
23508 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23510         [BZ #18661]
23511         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23512         (__start_context): Don't use pop to restore %rdi so that stack
23513         is aligned to 16 bytes when calling __setcontext.
23515 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23517         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23518         only for libc.
23519         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23521 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23523         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23524         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
23525         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23527 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23529         * string/memccpy.c (memccpy):
23530         Improve performance by using memchr/memcpy/__mempcpy.
23532 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23534         * string/strncpy.c (strncpy):
23535         Improve performance by using __strnlen/memcpy.
23537 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23539         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23540         Optimize to avoid an unnecessary FPCR read.
23542 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
23544         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23545         Optimize to reduce FPCR/FPSR accesses.
23547 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
23549         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23550         dead->data[category] != NULL.
23552 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
23554         [BZ #18647]
23555         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23556         and |x| close to 1, use absolute value of x when computing log.
23557         * math/auto-libm-test-in: Add more tests of pow.
23558         * math/auto-libm-test-out: Regenerated.
23560 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23562         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23563         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23564         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23566 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
23568         [BZ #18525]
23569         * locales/km_KH: Remove timezone definition.
23570         * locales/lo_LA: Likewise.
23571         * locales/my_MM: Likewise.
23572         * locales/nan_TW@latin: Likewise.
23573         * locales/th_TH: Likewise.
23574         * locales/uk_UA: Likewise.
23576 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23578         [BZ #18265]
23579         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23580         (wcsncat): Likewise.
23581         (wcscmp): Likewise.
23582         (wcsncmp): Likewise.
23584 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23586         * test-skeleton.c (usage): New function.
23587         (main): Call usage when opt is '?'.
23589 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23591         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23592         before first use.
23594 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
23596         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23597         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
23598         in there too.
23600 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
23602         * version.h (RELEASE): Set to "development".
23603         (VERSION): Set to "2.22.90"
23605         * version.h (RELEASE): Set to "stable".
23606         (VERSION): Set to "2.22"
23607         * include/features.h (__GLIBC_MINOR__): Set to 22.
23609 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
23611         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23612         Restructure macro to avoid "value computed is not used" warning.
23613         (atomic_compare_and_exchange_val_acq): Likewise.
23615 2015-08-04  Andreas Schwab  <schwab@suse.de>
23617         [BZ #18635]
23618         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23619         ret.
23620         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23622 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
23624         * po/pl.po: Updated translation.
23625         * po/uk.po: Likewise.
23626         * po/fi.po: Likewise.
23627         * po/ko.po: Likewise.
23628         * po/ru.po: Likewise.
23629         * po/vi.po: Likewise.
23631 2015-07-31  Zack Weinberg  <zackw@panix.com>
23633         [BZ #18681]
23634         * regexp.h: Add unconditional #warning stating that this header
23635         will be removed soon.  Revise banner comment to match.
23636         (compile): Consistently use ERROR instead of RETURN to report
23637         errors (partial fix for bz#18681).
23638         * regexp.c: Don't include regexp.h. Remove some unnecessary
23639         declarations.
23641 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
23643         * po/libc.pot: Regenerated.
23645 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
23647         [BZ #18740]
23648         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23649         float-vlen4-arch-ext-cflags): Removed.
23650         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23651         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23653 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23655         [BZ #14113]
23656         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23657         aligned to __aligned__.
23658         (pthread_cond_t, pthread_rwlock_t): Likewise.
23660 2015-07-30  Torvald Riegel  <triegel@redhat.com>
23662         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23664 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23666         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23667         (struct sigaction): Change sa_flags from a long to an int, and add
23668         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23670 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23672         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23673         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23674         sysdeps/generic/sysdep.h include.
23675         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23676         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
23677         sysdeps/hppa/sysdep.h.
23678         (ENTRY, PSEUDO): Undefine before defining.
23680 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
23682         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23683         from scratch to use INTERNAL_SYSCALL.
23685 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
23687         [BZ #18078]
23688         * scripts/check-localplt.awk: Support alternate relocations.
23689         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23690         sections.
23691         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23692         malloc entries with + REL R_386_GLOB_DAT.
23693         * sysdeps/x86_64/localplt.data: New file.
23695 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
23697         [BZ #18731]
23698         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23699         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23700         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23702 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23704         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23706 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23708         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23709         directly in terms of __sync_fetch_and_add and delete (int) cast.
23711 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23713         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23714         the -D_ASM_IA64_CURRENT_H flag.
23716 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
23718         [BZ #18641]
23719         * pwd/pwd.h (putpwent): Delete __nonnull markings.
23721 2015-07-27  Andreas Schwab  <schwab@suse.de>
23723         * conform/conformtest.pl (checknamespace): Filter out string
23724         literals while tokenizing.
23726 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23728         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23729         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23730         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23732 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
23734         * nptl/tst-join7mod.c: Add #include <string.h>.
23736 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23738         * sysdeps/nios2/libm-test-ulps: Update.
23740 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
23742         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23743         Fix order of arguments to the rt_sigprocmask syscall.
23744         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23745         Likewise.
23747 2015-07-24  Roland McGrath  <roland@hack.frob.com>
23749         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23751 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23753         [BZ #18457]
23754         * nptl/Makefile (tests): New test case tst-join7.
23755         (modules-names): New test case module tst-join7mod.
23756         * nptl/tst-join7.c: New file.
23757         * nptl/tst-join7mod.c: New file.
23758         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23759         all translation units in libc.so, libpthread.so and rtld.
23761 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23765 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
23767         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23768         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23769         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23770         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23771         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23772         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23773         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23774         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23775         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23776         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23777         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23778         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23779         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23780         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23781         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23782         implementation.
23784 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23786         [BZ #17711]
23787         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23788         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23789         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23790         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23791         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23792         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23794 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23796         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23797         instead of just saying load lock in the comments.
23799 2015-07-23  Roland McGrath  <roland@hack.frob.com>
23801         * sysdeps/unix/Subdirs: Moved ...
23802         * sysdeps/posix/Subdirs: ... here.
23803         * login/pty.h (struct termios, struct winsize): Add forward decls.
23804         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23805         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23806         * sysdeps/arm/nacl/libc.abilist: Updated.
23807         * sysdeps/nacl/libutil.abilist: New file.
23809         * bits/signum.h: Update comments to mention 1003.1-2013 too.
23810         (SIGWINCH): New macro.
23812         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23813         * sysdeps/arm/nacl/libc.abilist: Add it.
23815 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23817         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23819 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
23821         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23822         Swap __glibc_reserved0 and sa_flags order.
23824 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23826         [BZ #18657]
23827         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23828         are pending TLS destructor calls.
23829         * include/link.h (struct link_map): Add concurrency note for
23830         L_TLS_DTOR_COUNT.
23831         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23832         Don't touch the link map flag.  Atomically increment
23833         l_tls_dtor_count.
23834         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23835         Avoid taking the load lock and don't touch the link map flag.
23836         * stdlib/tst-tls-atexit-nodelete.c: New test case.
23837         * stdlib/Makefile (tests): Use it.
23838         * stdlib/tst-tls-atexit.c (do_test): dlopen
23839         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
23840         to allow tst-tls-atexit-nodelete test case to use it.
23842 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23844         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23845         to bits/types.h.
23846         (msgqnum_t): New typedef.
23847         (msglen_t): Likewise.
23848         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
23849         and msg_qbytes type to msglen_t.
23851 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23853         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23854         pad0 to __glibc_reserved0.
23855         (struct stat64): Likewise.
23857 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23859         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23860         Change sa_flags from a long to an int and add __glibc_reserved0 before
23861         it for padding.
23863 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
23865         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23866         anonymous by deleting "siginfo" name.
23868 2015-07-21  Roland McGrath  <roland@hack.frob.com>
23870         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23871         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23872         rather than __nacl_irt_filename.
23873         * sysdeps/nacl/xstat.c (__xstat): Likewise.
23875         * NEWS: New item for arm-nacl port.
23876         * sysdeps/arm/nacl/libc.abilist: New file.
23877         * sysdeps/nacl/ld.abilist: New file.
23878         * sysdeps/nacl/libBrokenLocale.abilist: New file.
23879         * sysdeps/nacl/libanl.abilist: New file.
23880         * sysdeps/nacl/libcrypt.abilist: New file.
23881         * sysdeps/nacl/libdl.abilist: New file.
23882         * sysdeps/nacl/libm.abilist: New file.
23883         * sysdeps/nacl/libpthread.abilist: New file.
23884         * sysdeps/nacl/libresolv.abilist: New file.
23885         * sysdeps/nacl/librt.abilist: New file.
23887 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
23889         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23890         __startcontext to initialize the new context.
23891         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23892         up CFI directive to forbid further backtracing.
23894 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
23896         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23897         reference.
23898         * charmaps/ANSI_X3.4-1968: Likewise.
23899         * charmaps/BS_4730: Likewise.
23900         * charmaps/BS_VIEWDATA: Likewise.
23901         * charmaps/CP1250: Likewise.
23902         * charmaps/CP1251: Likewise.
23903         * charmaps/CP1252: Likewise.
23904         * charmaps/CP1253: Likewise.
23905         * charmaps/CP1254: Likewise.
23906         * charmaps/CP1255: Likewise.
23907         * charmaps/CP1256: Likewise.
23908         * charmaps/CSN_369103: Likewise.
23909         * charmaps/EBCDIC-DK-NO: Likewise.
23910         * charmaps/GB_1988-80: Likewise.
23911         * charmaps/GREEK-CCITT: Likewise.
23912         * charmaps/GREEK7: Likewise.
23913         * charmaps/INIS-8: Likewise.
23914         * charmaps/ISIRI-3342: Likewise.
23915         * charmaps/ISO_2033-1983: Likewise.
23916         * charmaps/ISO_5427-EXT: Likewise.
23917         * locales/POSIX: Likewise.
23918         * locales/ar_SA: Likewise.
23919         * locales/be_BY: Likewise.
23920         * locales/be_BY@latin: Likewise.
23921         * locales/ca_ES: Likewise.
23922         * locales/cs_CZ: Likewise.
23923         * locales/da_DK: Likewise.
23924         * locales/de_BE: Likewise.
23925         * locales/de_CH: Likewise.
23926         * locales/de_LU: Likewise.
23927         * locales/en_AU: Likewise.
23928         * locales/en_BW: Likewise.
23929         * locales/en_CA: Likewise.
23930         * locales/en_DK: Likewise.
23931         * locales/en_GB: Likewise.
23932         * locales/en_IE: Likewise.
23933         * locales/en_NZ: Likewise.
23934         * locales/en_ZA: Likewise.
23935         * locales/en_ZW: Likewise.
23936         * locales/es_AR: Likewise.
23937         * locales/es_BO: Likewise.
23938         * locales/es_CL: Likewise.
23939         * locales/es_CO: Likewise.
23940         * locales/es_DO: Likewise.
23941         * locales/es_EC: Likewise.
23942         * locales/es_ES: Likewise.
23943         * locales/es_HN: Likewise.
23944         * locales/es_MX: Likewise.
23945         * locales/es_PA: Likewise.
23946         * locales/es_PE: Likewise.
23947         * locales/es_PY: Likewise.
23948         * locales/es_SV: Likewise.
23949         * locales/es_US: Likewise.
23950         * locales/es_UY: Likewise.
23951         * locales/es_VE: Likewise.
23952         * locales/et_EE: Likewise.
23953         * locales/fa_IR: Likewise.
23954         * locales/fo_FO: Likewise.
23955         * locales/fr_CA: Likewise.
23956         * locales/fr_CH: Likewise.
23957         * locales/gv_GB: Likewise.
23958         * locales/he_IL: Likewise.
23959         * locales/hr_HR: Likewise.
23960         * locales/id_ID: Likewise.
23961         * locales/is_IS: Likewise.
23962         * locales/it_CH: Likewise.
23963         * locales/iw_IL: Likewise.
23964         * locales/kl_GL: Likewise.
23965         * locales/ko_KR: Likewise.
23966         * locales/kw_GB: Likewise.
23967         * locales/lg_UG: Likewise.
23968         * locales/lt_LT: Likewise.
23969         * locales/lv_LV: Likewise.
23970         * locales/mi_NZ: Likewise.
23971         * locales/nhn_MX: Likewise.
23972         * locales/nl_BE: Likewise.
23973         * locales/pl_PL: Likewise.
23974         * locales/sk_SK: Likewise.
23975         * locales/sl_SI: Likewise.
23976         * locales/sv_FI: Likewise.
23977         * locales/tl_PH: Likewise.
23978         * locales/tr_TR: Likewise.
23979         * locales/vi_VN: Likewise.
23981 2015-07-21  Khem Raj  <raj.khem@gmail.com>
23983         [BZ #17475]
23984         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23985         of tu_IN and bh_IN.
23987 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
23989         [BZ #18694]
23990         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23991         bits/wordsize.h.
23992         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23994 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23996         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23997         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23998         (spawn_thread): New function.
23999         (load): Rename to reg_dtor_and_close.  Move dlopen to...
24000         (do_test): ... here.  Use IS_LOADED to test for its
24001         availability.
24003 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
24005         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
24007 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
24009         [BZ #18696]
24010         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
24011         si_addr_bnd.
24012         (si_lower): New.
24013         (si_upper): Likewise.
24015 2015-07-16  David S. Miller  <davem@davemloft.net>
24017         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
24019 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24021         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
24022         buffer.
24023         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
24024         fail output information.
24026 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24028         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
24029         and strstr-ppc64..
24030         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
24031         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
24032         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
24033         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
24034         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
24036 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24038         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24039         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24040         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
24041         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
24043 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
24045         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
24046         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
24047         rtld_hidden_proto.
24048         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
24050 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24052         * tst-nodelete-opened.c (do_test): Add comment to clarify how
24053         the test can fail.
24055         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
24057         [BZ #18676]
24058         * elf/tst-nodelete-opened.c: New test case.
24059         * elf/tst-nodelete-opened-lib.c: New test case module.
24060         * elf/Makefile (tests, modules-names): Use them.
24061         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
24062         early.
24064 2015-07-15  David S. Miller  <davem@davemloft.net>
24066         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
24067         futex-intenal.h
24068         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
24069         * sysdeps/sparc/sparc64/Makefile: Likewise.
24070         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24071         Remove space from macro define.
24072         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
24074 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
24076         [BZ #17475]
24077         * locale/iso-639.def: Update Bhili and Tulu language codes as
24078         per iso639-3.
24080 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
24082         * elf/tst-leaks1.c (main): Converted to ...
24083         (do_test): ... this.
24084         (TEST_FUNCTION): New macro.
24085         Include test-skeleton.c.
24086         * localedata/tst-langinfo.c (main): Converted to ...
24087         (do_test): ... this.
24088         (TEST_FUNCTION): New macro.
24089         Include test-skeleton.c.
24090         * math/test-fpucw.c (main): Converted to ...
24091         (do_test): ... this.
24092         (TEST_FUNCTION): New macro.
24093         Include test-skeleton.c.
24094         * math/test-tgmath.c (main): Converted to ...
24095         (do_test): ... this.
24096         (TEST_FUNCTION): New macro.
24097         Include test-skeleton.c.
24098         * math/test-tgmath2.c (main): Converted to ...
24099         (do_test): ... this.
24100         (TEST_FUNCTION): New macro.
24101         Include test-skeleton.c.
24102         * setjmp/tst-setjmp.c (main): Converted to ...
24103         (do_test): ... this.
24104         (TEST_FUNCTION): New macro.
24105         Include test-skeleton.c.
24106         * stdio-common/tst-sscanf.c (main): Converted to ...
24107         (do_test): ... this.
24108         (TEST_FUNCTION): New macro.
24109         Include test-skeleton.c.
24110         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24111         (do_test): ... this.
24112         (TEST_FUNCTION): New macro.
24113         Include test-skeleton.c.
24115         * elf/tst-audit9.c (main): Converted to ...
24116         (do_test): ... this.
24117         (TEST_FUNCTION): New macro.
24118         Include test-skeleton.c.
24120 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
24122         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24124 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24126         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24127         New variable.
24129 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24131         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24133 2015-07-14  Roland McGrath  <roland@hack.frob.com>
24135         * sysdeps/generic/dl-fileid.h: New file.
24136         * sysdeps/posix/dl-fileid.h: New file.
24137         * sysdeps/nacl/dl-fileid.h: New file.
24138         * include/link.h: Include <dl-fileid.h>.
24139         (struct link_map): Replace l_dev and l_ino with l_file_id.
24140         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
24141         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
24142         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
24144 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24146         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
24148 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24150         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
24151         Add iff $CXX is set.
24152         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
24153         Likewise.
24154         (tst-nodelete-zmodiff): Likewise.
24155         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
24157 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
24161 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
24163         * sysdeps/aarch64/fpu/math_private.h
24164         (define math_opt_barrier): Add AArch64 version.
24165         (math_force_eval): Likewise.
24167 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
24169         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
24171 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
24173         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
24174         %ld with %jd and cast to intmax_t.
24175         (do_test_length_zero): Likewise.
24177 2015-07-10  Roland McGrath  <roland@hack.frob.com>
24179         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
24181 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
24183         * sysdeps/tile/libm-test-ulps: Regenerated.
24185         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
24186         Comment out the whole function, not just its body.
24188 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24190         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
24191         locks.
24193         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
24195 2015-07-10  Torvald Riegel  <triegel@redhat.com>
24197         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
24198         (sem_assume_only_signals_cause_futex_EINTR): Remove.
24200 2015-07-10  Torvald Riegel  <triegel@redhat.com>
24202         * sysdeps/nptl/futex-internal.h: New file.
24203         * sysdeps/nacl/futex-internal.h: New file.
24204         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
24205         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
24206         error checking.
24207         (setxid_unmark_thread): Likewise.
24208         (__nptl_setxid): Likewise.
24209         (__wait_lookup_done): Likewise.
24210         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
24211         * nptl/nptl-init.c (sighandler_setxid): Likewise.
24212         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24213         * nptl/pthread_once.c (clear_once_control): Likewise.
24214         (__pthread_once_slow): Likewise.
24215         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24216         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
24217         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
24218         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24219         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
24220         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
24221         Likewise.
24222         (__pthread_rwlock_rdlock): Likewise.
24223         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24224         Likewise.
24225         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24226         Likewise.
24227         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24228         Likewise.
24229         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
24230         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
24231         Likewise.
24232         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
24233         __ASSUME_PRIVATE_FUTEX check.
24234         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
24235         Check that shared futexes are supported.
24236         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
24237         wrappers with error checking.
24238         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
24239         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
24240         * nptl/pthread_barrierattr_setpshared.c
24241         (pthread_barrierattr_setpshared): Check that shared futexes are
24242         supported.
24243         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
24244         Likewise.
24245         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
24246         Likewise.
24247         * nptl/sem_init.c (futex_private_if_supported): Remove.
24248         (__new_sem_init): Adapt and check that shared futexes are supported.
24249         * nptl/sem_open.c (sem_open): Likewise.
24250         * nptl/sem_post.c (futex_wake): Remove.
24251         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
24252         (do_futex_wait): Use futex wrappers with error checking.
24253         * nptl/sem_wait.c: Include lowlevellock.h.
24254         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
24255         Use futex_supports_pshared.
24256         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
24257         Use futex wrappers with error checking.
24258         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
24259         Likewise.
24260         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
24261         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
24262         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
24263         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
24264         (futex_wake): Likewise.
24265         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
24266         (do_futex_wait): Use futex wrappers with error checking.
24267         (__new_sem_wait_slow): Update EINTR handling.
24268         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
24270 2015-07-09  Martin Sebor  <msebor@redhat.com>
24272         [BZ #18435]
24273         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24274         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
24275         * nptl/Makefile (test-xfail-tst-once5): Define.
24277 2015-07-09  Roland McGrath  <roland@hack.frob.com>
24279         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
24280         * elf/dl-minimal.c: For readability, reorder some definitions and
24281         introduce more page breaks.  Include <stdio.h>.
24282         (__libc_fatal): New function.
24284         * include/unistd.h: Add rtld_hidden_proto for _exit.
24285         * posix/_exit.c: Add rtld_hidden_def.
24286         * sysdeps/mach/hurd/_exit.c: Likewise.
24287         * sysdeps/nacl/_exit.c: Likewise.
24288         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
24289         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
24291 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
24293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
24294         bndmov encoding with zero displacement.
24296 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
24297             H.J. Lu  <hongjiu.lu@intel.com>
24299         [BZ #18134]
24300         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
24301         * sysdeps/i386/configure: Regenerated.
24302         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24303         (_dl_runtime_profile): Save and restore Intel MPX return bound
24304         registers when calling _dl_call_pltexit.  Add
24305         PRESERVE_BND_REGS_PREFIX before return.
24306         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
24307         (LRV_BND1_OFFSET): Likewise.
24308         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24309         lrv_bnd1.
24310         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24311         typo in bndmov encoding.
24312         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24313         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
24314         branch instructions to preserve bounds.
24316 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24319         [GLIBC_2.22]: Add fmemopen.
24321 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24323         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24324         returns an error, also try to use host port from __mach_host_self for
24325         the __vm_wire call.
24326         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24328 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24330         [BZ #18400]
24331         [BZ #18648]
24332         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24333         Fix pr_uid and pr_gid members.
24334         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24335         definition to elf_greg_t.
24337 2015-07-08  Roland McGrath  <roland@hack.frob.com>
24339         [BZ #18383]
24340         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24341         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24342         * sysdeps/arm/configure: Regenerated.
24343         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24344         (test-xfail-tst-tlsalign-static): Variable removed.
24346         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24347         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24348         rather than explicit 'ln -s'.
24350         * resolv/rpc/netdb.h: New file.
24351         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24353 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24355         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24356         length buffers.
24357         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24358         test-skeleton.c.
24360         [BZ #6544]
24361         [BZ #11216]
24362         [BZ #12836]
24363         [BZ #13151]
24364         [BZ #13152]
24365         [BZ #14292]
24366         * include/stdio.h (fmemopen): Remove hidden prototype.
24367         (__fmemopen): Add new hidden prototype.
24368         * libio/Makefile: Add oldfmemopen object.
24369         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24370         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24371         compliance.
24372         * libio/oldfmemopen.c: New file: old fmemopen implementation for
24373         symbol compatibility.
24374         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24375         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24376         fmemopen.
24377         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24378         on append and read mode.
24379         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24380         fmemopen.
24381         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24382         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24383         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24384         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24385         Likewise.
24386         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24387         [GLIBC_2.22]: Likewise.
24388         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24389         Likewise.
24390         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24391         Likewise.
24392         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24393         [GLIBC_2.22]: Likewise.
24394         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24395         [GLIBC_2.22]: Likewise.
24396         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24397         [GLIBC_2.22]: Likewise.
24398         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24399         [GLIBC_2.22]: Likewise.
24400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24401         [GLIBC_2.22]: Likewise.
24402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24403         [GLIBC_2.22]: Likewise.
24404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24405         [GLIBC_2.22]: Likewise.
24406         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24407         Likewise.
24408         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24409         Likewise.
24410         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24411         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24412         [GLIBC_2.22]: Likewise.
24413         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24414         [GLIBC_2.22]: Likewise.
24415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24416         [GLIBC_2.22]: Likewise.
24417         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24418         [GLIBC_2.22]: Likewise.
24419         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24420         Likewise.
24421         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24422         Likewise.
24423         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24424         Likewise.
24425         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24426         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24428 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24430         [BZ #18643]
24431         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24432         IPV6_PATHMTU, and IPV6_DONTFRAG.
24434 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
24436         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24437         and _IO_UNBUFFERED.
24438         * libio/oldfileops.c: Likewise.
24439         * libio/wfileops.c: Likewise.
24441 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24443         * nscd/selinux.c: Delete selinux/flask.h include.
24445 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
24447         [BZ #18641]
24448         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24449         (putpwent): Likewise.
24450         (getpwnam): Likewise.
24451         (getpwent_r): Likewise.
24452         (getpwuid_r): Likewise.
24453         (getpwnam_r): Likewise.
24454         (fgetpwent_r): Likewise.
24456 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
24458         [BZ #18557]
24459         * inet/rcmd.c (__validuser2_sa): Check user first to
24460         short-circuit host check.
24462 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
24463             Mikhail Ilin  <m.ilin@samsung.com>
24465         [BZ #17833]
24466         * elf/Makefile (tests): Add tst-nodelete.
24467         (modules-names): Add tst-nodelete-uniquemod.
24468         (tst-nodelete-uniquemod.so-no-z-defs): New.
24469         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24470         (tst-nodelete-zmod.so-no-z-defs): Likewise.
24471         ($(objpfx)tst-nodelete): Likewise.
24472         ($(objpfx)tst-nodelete.out): Likewise.
24473         (LDFLAGS-tst-nodelete): Likewise.
24474         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24475         * elf/dl-close.c (_dl_close_worker): Add a parameter to
24476         implement forced object deletion.
24477         (_dl_close): Pass false to _dl_close_worker.
24478         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24479         * elf/tst-nodelete.cc: New file.
24480         * elf/tst-nodeletelib.cc: Likewise.
24481         * elf/tst-znodeletelib.cc: Likewise.
24482         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24484 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24486         [BZ #18508]
24487         * stdlib/Makefile ($(objpfx)tst-makecontext3):
24488         Depend on $(libdl).
24489         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24490         is not called infinitely times.
24491         (backtrace_helper): New function.
24492         (trace_arg): New struct.
24493         (st1): Enlarge stack size.
24494         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24495         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24496         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24497         Likewise.
24499 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24501         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24503 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
24505         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24506         Include sys/types.h instead of bits/types.h.
24507         Remove inclusion of bits/wordsize.h.
24509 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24511         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24512         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24513         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24514         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24515         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24516         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24518 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24520         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24521         link-defines.sym.
24522         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24523         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24524         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24525         and LR_SIZE.
24526         * sysdeps/i386/link-defines.sym: New file.
24528 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
24530         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24531         (modules-names): Add tst-auditmod3a tst-auditmod3b.
24532         ($(objpfx)tst-audit3): New rule.
24533         ($(objpfx)tst-audit3.out): Likewise.
24534         * sysdeps/i386/tst-audit3.c: New file.
24535         * sysdeps/i386/tst-audit3.h: Likewise.
24536         * sysdeps/i386/tst-auditmod3a.c: Likewise.
24537         * sysdeps/i386/tst-auditmod3b.c: Likewise.
24539 2015-07-07  Torvald Riegel  <triegel@redhat.com>
24541         [BZ #18633]
24542         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24543         pointer in C code.
24544         (__strcat_c): Likewise.
24545         (__strcat_g): Likewise.
24547 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
24549         [BZ #18592]
24550         * misc/sbrk.c: Set errno to ENOMEM on overflow.
24552 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24554         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24555         New function.  (__ieee754_sqrtf): New function.
24556         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24557         New function.
24558         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24559         New function.
24561 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
24563         * sysdeps/ieee754/support.c: Remove unused file.
24565 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24567         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24568         registers instead of d ones so the layout is kernel abi compatible.
24569         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24570         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24571         Likewise.
24573 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
24575         * sysdeps/aarch64/libm-test-ulps: Regenerated.
24577 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24579         [BZ #18619]
24580         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24581         and return argument in case of subnormal argument.
24583 2015-07-01  Martin Sebor  <msebor@redhat.com>
24585         [BZ #18435]
24586         * nptl/Makefile: Add tst-once5.cc.
24587         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24588         Remove macro redefinitions.
24589         * nptl/tst-once5.cc: New test.
24591 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
24593         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24595         * sysdeps/arm/libm-test-ulps: Regenerated.
24597         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24598         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24600 2015-06-30  Torvald Riegel  <triegel@redhat.com>
24602         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24603         lll_lock_wait_private and lll_futex_wake probes.
24605         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24606         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24607         Likewise.
24608         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24609         atomic_spin_nop.
24610         * sysdeps/x86_64/bits/atomic.h: Likewise.
24611         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24612         to atomic_spin_nop and move ...
24613         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24614         ... here and ...
24615         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24616         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24617         atomic_spin_nop instead of BUSY_WAIT_NOP.
24618         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24619         Likewise.
24620         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24621         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24622         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24623         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24624         instead of atomic_delay.
24626 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
24628         [BZ #18613]
24629         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24630         X_ADJ not X when adjusting exponent.
24631         (__ieee754_gamma_r): Do intermediate computations in
24632         round-to-nearest then adjust overflowing and underflowing results
24633         as needed.
24634         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24635         of X_ADJ not X when adjusting exponent.
24636         (__ieee754_gammaf_r): Do intermediate computations in
24637         round-to-nearest then adjust overflowing and underflowing results
24638         as needed.
24639         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24640         log of X_ADJ not X when adjusting exponent.
24641         (__ieee754_gammal_r): Do intermediate computations in
24642         round-to-nearest then adjust overflowing and underflowing results
24643         as needed.  Use 1.0L not 1.0f as numerator of division.
24644         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24645         log of X_ADJ not X when adjusting exponent.
24646         (__ieee754_gammal_r): Do intermediate computations in
24647         round-to-nearest then adjust overflowing and underflowing results
24648         as needed.  Use 1.0L not 1.0f as numerator of division.
24649         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24650         of X_ADJ not X when adjusting exponent.
24651         (__ieee754_gammal_r): Do intermediate computations in
24652         round-to-nearest then adjust overflowing and underflowing results
24653         as needed.  Use 1.0L not 1.0f as numerator of division.
24654         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
24655         to auto-libm-test-in.
24656         (tgamma_test): Use ALL_RM_TEST.
24657         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
24658         tests of tgamma with spurious-overflow.
24659         * math/auto-libm-test-out: Regenerated.
24660         * math/gen-libm-have-vector-test.sh: Do not check for START.
24661         * sysdeps/i386/fpu/libm-test-ulps: Update.
24662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24664         [BZ #18612]
24665         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24666         arguments, just return 0.5 times the argument, with underflow
24667         forced as needed.
24668         * math/auto-libm-test-in: Add more tests of j1.
24669         * math/auto-libm-test-out: Regenerated.
24671         [BZ #16559]
24672         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24673         (__ieee754_j1): Force underflow exception for small results.
24674         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24675         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24676         (__ieee754_j1f): Force underflow exception for small results.
24677         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24678         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24679         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24680         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24681         (__ieee754_j1l): Force underflow exception for small results.
24682         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24683         * math/auto-libm-test-in: Add more tests of j1 and jn.
24684         * math/auto-libm-test-out: Regenerated.
24686         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24687         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24688         (PF_MPLS): Likewise.
24689         (AF_IB): Likewise.
24690         (AF_MPLS): Likewise.
24691         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24692         value and macro.
24693         (MS_RMT_MASK): Include MS_LAZYTIME.
24695 2015-06-26  Mel Gorman  <mgorman@suse.de>
24697         [BZ #18502]
24698         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24699         already minimal.
24701 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
24703         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24704         (DT_MIPS_NUM): Update.
24705         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24706         DT_MIPS_RLD_MAP_REL.
24708 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
24710         [BZ #16559]
24711         [BZ #18602]
24712         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24713         round-to-nearest internally then recompute results that
24714         underflowed to zero in the original rounding mode.
24715         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24716         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24717         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24718         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24719         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24720         * sysdeps/i386/fpu/libm-test-ulps: Update.
24721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24723 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
24725         * NEWS: Fixed description of link with vector math library.
24727 2015-06-25  Andreas Schwab  <schwab@suse.de>
24729         [BZ #18549]
24730         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24731         * libio/test-fmemopen.c (do_test): Add test for it.
24733 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
24735         [BZ #17841]
24736         * Makeconfig (no-pie-ldflag): New.
24737         (+link): Set to $(+link-pie) if default to PIE.
24738         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24739         * config.make.in (build-pie-default): New.
24740         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
24741         is default.  AC_SUBST.
24742         * configure: Regenerated.
24743         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24745 2015-06-24  Roland McGrath  <roland@hack.frob.com>
24747         * nptl/descr.h (struct pthread): Change type of field setxid_futex
24748         to 'unsigned int'.
24750         * resolv/gai_misc.h (struct waitlist): Change type of field
24751         counterp to 'volatile unsigned int *'.
24752         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24753         FUTEXADDR and OLDVAL.
24754         * resolv/getaddrinfo_a.c (getaddrinfo_a):
24755         Give local variable TOTAL type 'volatile unsigned int'.
24756         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24757         * resolv/gai_suspend.c (gai_suspend):
24758         Give local variable CNTR type 'unsigned int'.
24760         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24761         counterp to 'volatile unsigned int *'.
24762         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24763         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24764         (aio_suspend): Give local variable CNTR type 'unsigned int'.
24765         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24766         Give local variable TOTAL type 'volatile unsigned int'.
24767         (struct async_waitlist): Change type of field counter to 'unsigned int'.
24769 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
24771         [BZ #18383]
24772         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24773         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
24774         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24775         comment for i386/x86-64.
24776         (test-xfail-tst-tlsalign-extern-static): Removed.
24778 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
24780         * math/test-double.h: New file.
24781         * math/test-float.h: Likewise.
24782         * math/test-ldouble.h: Likewise.
24783         * math/test-math-inline.h: Likewise.
24784         * math/test-math-no-inline.h: Likewise.
24785         * math/test-math-scalar.h: Likewise.
24786         * math/test-math-vector.h: Likewise.
24787         * math/test-vec-loop.h: Remove file.  Contents moved into
24788         test-math-vector.h.
24789         * math/libm-test.inc (MATHCONST): Do not document macro.
24790         * math/test-double.c: Include test-double.h, test-math-no-inline.h
24791         and test-math-scalar.h.
24792         (FUNC): Remove macro.
24793         (FUNC_TEST): Likewise.
24794         (FLOAT): Likewise.
24795         (MATHCONST): Likewise.
24796         (PRINTF_EXPR): Likewise.
24797         (PRINTF_XEXPR): Likewise.
24798         (PRINTF_NEXPR): Likewise.
24799         (TEST_DOUBLE): Likewise.
24800         (TEST_MATHVEC): Likewise.
24801         (__NO_MATH_INLINES): Likewise.
24802         * math/test-float.c: Include test-float.h, test-math-no-inline.h
24803         and test-math-scalar.h.
24804         (FUNC): Remove macro.
24805         (FUNC_TEST): Likewise.
24806         (FLOAT): Likewise.
24807         (MATHCONST): Likewise.
24808         (PRINTF_EXPR): Likewise.
24809         (PRINTF_XEXPR): Likewise.
24810         (PRINTF_NEXPR): Likewise.
24811         (TEST_FLOAT): Likewise.
24812         (TEST_MATHVEC): Likewise.
24813         (__NO_MATH_INLINES): Likewise.
24814         * math/test-idouble.c: Include test-double.h, test-math-inline.h
24815         and test-math-scalar.h.
24816         (FUNC): Remove macro.
24817         (FUNC_TEST): Likewise.
24818         (FLOAT): Likewise.
24819         (MATHCONST): Likewise.
24820         (PRINTF_EXPR): Likewise.
24821         (PRINTF_XEXPR): Likewise.
24822         (PRINTF_NEXPR): Likewise.
24823         (TEST_DOUBLE): Likewise.
24824         (TEST_MATHVEC): Likewise.
24825         (TEST_INLINE): Likewise.
24826         (__NO_MATH_INLINES): Likewise.
24827         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24828         test-math-scalar.h.
24829         (FUNC): Remove macro.
24830         (FUNC_TEST): Likewise.
24831         (FLOAT): Likewise.
24832         (MATHCONST): Likewise.
24833         (PRINTF_EXPR): Likewise.
24834         (PRINTF_XEXPR): Likewise.
24835         (PRINTF_NEXPR): Likewise.
24836         (TEST_FLOAT): Likewise.
24837         (TEST_MATHVEC): Likewise.
24838         (TEST_INLINE): Likewise.
24839         (__NO_MATH_INLINES): Likewise.
24840         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24841         and test-math-scalar.h.
24842         (FUNC): Remove macro.
24843         (FUNC_TEST): Likewise.
24844         (FLOAT): Likewise.
24845         (MATHCONST): Likewise.
24846         (PRINTF_EXPR): Likewise.
24847         (PRINTF_XEXPR): Likewise.
24848         (PRINTF_NEXPR): Likewise.
24849         (TEST_LDOUBLE): Likewise.
24850         (TEST_MATHVEC): Likewise.
24851         (TEST_INLINE): Likewise.
24852         (__NO_MATH_INLINES): Likewise.
24853         * math/test-ldouble.c: Include test-ldouble.h,
24854         test-math-no-inline.h and test-math-scalar.h.
24855         (FUNC): Remove macro.
24856         (FUNC_TEST): Likewise.
24857         (FLOAT): Likewise.
24858         (MATHCONST): Likewise.
24859         (PRINTF_EXPR): Likewise.
24860         (PRINTF_XEXPR): Likewise.
24861         (PRINTF_NEXPR): Likewise.
24862         (TEST_LDOUBLE): Likewise.
24863         (TEST_MATHVEC): Likewise.
24864         (__NO_MATH_INLINES): Likewise.
24865         * math/test-double-vlen2.h: Include test-double.h,
24866         test-math-no-inline.h and test-math-vector.h.
24867         (FLOAT): Remove macro.
24868         (FUNC): Likewise.
24869         (MATHCONST): Likewise.
24870         (PRINTF_EXPR): Likewise.
24871         (PRINTF_XEXPR): Likewise.
24872         (PRINTF_NEXPR): Likewise.
24873         (TEST_DOUBLE): Likewise.
24874         (TEST_MATHVEC): Likewise.
24875         (__NO_MATH_INLINES): Likewise.
24876         (CNCT): Likewise.
24877         (CONCAT): Likewise.
24878         (WRAPPER_NAME): Likewise.
24879         (WRAPPER_DECL): Likewise.
24880         (WRAPPER_DECL_ff): Likewise.
24881         (WRAPPER_DECL_fFF): Likewise.
24882         (VECTOR_WRAPPER): Likewise.
24883         (VECTOR_WRAPPER_ff): Likewise.
24884         (VECTOR_WRAPPER_fFF): Likewise.
24885         (VEC_LEN): New macro.
24886         * math/test-double-vlen4.h: Include test-double.h,
24887         test-math-no-inline.h and test-math-vector.h.
24888         (FLOAT): Remove macro.
24889         (FUNC): Likewise.
24890         (MATHCONST): Likewise.
24891         (PRINTF_EXPR): Likewise.
24892         (PRINTF_XEXPR): Likewise.
24893         (PRINTF_NEXPR): Likewise.
24894         (TEST_DOUBLE): Likewise.
24895         (TEST_MATHVEC): Likewise.
24896         (__NO_MATH_INLINES): Likewise.
24897         (CNCT): Likewise.
24898         (CONCAT): Likewise.
24899         (WRAPPER_NAME): Likewise.
24900         (WRAPPER_DECL): Likewise.
24901         (WRAPPER_DECL_ff): Likewise.
24902         (WRAPPER_DECL_fFF): Likewise.
24903         (VECTOR_WRAPPER): Likewise.
24904         (VECTOR_WRAPPER_ff): Likewise.
24905         (VECTOR_WRAPPER_fFF): Likewise.
24906         (VEC_LEN): New macro.
24907         * math/test-double-vlen8.h: Include test-double.h,
24908         test-math-no-inline.h and test-math-vector.h.
24909         (FLOAT): Remove macro.
24910         (FUNC): Likewise.
24911         (MATHCONST): Likewise.
24912         (PRINTF_EXPR): Likewise.
24913         (PRINTF_XEXPR): Likewise.
24914         (PRINTF_NEXPR): Likewise.
24915         (TEST_DOUBLE): Likewise.
24916         (TEST_MATHVEC): Likewise.
24917         (__NO_MATH_INLINES): Likewise.
24918         (CNCT): Likewise.
24919         (CONCAT): Likewise.
24920         (WRAPPER_NAME): Likewise.
24921         (WRAPPER_DECL): Likewise.
24922         (WRAPPER_DECL_ff): Likewise.
24923         (WRAPPER_DECL_fFF): Likewise.
24924         (VECTOR_WRAPPER): Likewise.
24925         (VECTOR_WRAPPER_ff): Likewise.
24926         (VECTOR_WRAPPER_fFF): Likewise.
24927         (VEC_LEN): New macro.
24928         * math/test-float-vlen4.h: Include test-float.h,
24929         test-math-no-inline.h and test-math-vector.h.
24930         (FLOAT): Remove macro.
24931         (FUNC): Likewise.
24932         (MATHCONST): Likewise.
24933         (PRINTF_EXPR): Likewise.
24934         (PRINTF_XEXPR): Likewise.
24935         (PRINTF_NEXPR): Likewise.
24936         (TEST_FLOAT): Likewise.
24937         (TEST_MATHVEC): Likewise.
24938         (__NO_MATH_INLINES): Likewise.
24939         (CNCT): Likewise.
24940         (CONCAT): Likewise.
24941         (WRAPPER_NAME): Likewise.
24942         (WRAPPER_DECL): Likewise.
24943         (WRAPPER_DECL_ff): Likewise.
24944         (WRAPPER_DECL_fFF): Likewise.
24945         (VECTOR_WRAPPER): Likewise.
24946         (VECTOR_WRAPPER_ff): Likewise.
24947         (VECTOR_WRAPPER_fFF): Likewise.
24948         (VEC_LEN): New macro.
24949         * math/test-float-vlen8.h: Include test-float.h,
24950         test-math-no-inline.h and test-math-vector.h.
24951         (FLOAT): Remove macro.
24952         (FUNC): Likewise.
24953         (MATHCONST): Likewise.
24954         (PRINTF_EXPR): Likewise.
24955         (PRINTF_XEXPR): Likewise.
24956         (PRINTF_NEXPR): Likewise.
24957         (TEST_FLOAT): Likewise.
24958         (TEST_MATHVEC): Likewise.
24959         (__NO_MATH_INLINES): Likewise.
24960         (CNCT): Likewise.
24961         (CONCAT): Likewise.
24962         (WRAPPER_NAME): Likewise.
24963         (WRAPPER_DECL): Likewise.
24964         (WRAPPER_DECL_ff): Likewise.
24965         (WRAPPER_DECL_fFF): Likewise.
24966         (VECTOR_WRAPPER): Likewise.
24967         (VECTOR_WRAPPER_ff): Likewise.
24968         (VECTOR_WRAPPER_fFF): Likewise.
24969         (VEC_LEN): New macro.
24970         * math/test-float-vlen16.h: Include test-float.h,
24971         test-math-no-inline.h and test-math-vector.h.
24972         (FLOAT): Remove macro.
24973         (FUNC): Likewise.
24974         (MATHCONST): Likewise.
24975         (PRINTF_EXPR): Likewise.
24976         (PRINTF_XEXPR): Likewise.
24977         (PRINTF_NEXPR): Likewise.
24978         (TEST_FLOAT): Likewise.
24979         (TEST_MATHVEC): Likewise.
24980         (__NO_MATH_INLINES): Likewise.
24981         (CNCT): Likewise.
24982         (CONCAT): Likewise.
24983         (WRAPPER_NAME): Likewise.
24984         (WRAPPER_DECL): Likewise.
24985         (WRAPPER_DECL_ff): Likewise.
24986         (WRAPPER_DECL_fFF): Likewise.
24987         (VECTOR_WRAPPER): Likewise.
24988         (VECTOR_WRAPPER_ff): Likewise.
24989         (VECTOR_WRAPPER_fFF): Likewise.
24990         (VEC_LEN): New macro.
24991         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24992         test-vec-loop.h.
24993         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24994         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24995         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24996         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24997         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24998         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24999         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25001 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25003         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
25004         (__getlogin_r): ... this.
25006 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25008         [BZ #18594]
25009         * math/s_ccosh.c (__ccosh): Compare with least normal value
25010         instead of comparing class with FP_SUBNORMAL.
25011         * math/s_ccoshf.c (__ccoshf): Likewise.
25012         * math/s_ccoshl.c (__ccoshl): Likewise.
25013         * math/s_cexp.c (__cexp): Likewise.
25014         * math/s_cexpf.c (__cexpf): Likewise.
25015         * math/s_cexpl.c (__cexpl): Likewise.
25016         * math/s_csin.c (__csin): Likewise.
25017         * math/s_csinf.c (__csinf): Likewise.
25018         * math/s_csinh.c (__csinh): Likewise.
25019         * math/s_csinhf.c (__csinhf): Likewise.
25020         * math/s_csinhl.c (__csinhl): Likewise.
25021         * math/s_csinl.c (__csinl): Likewise.
25022         * math/s_ctan.c (__ctan): Likewise.
25023         * math/s_ctanf.c (__ctanf): Likewise.
25024         * math/s_ctanh.c (__ctanh): Likewise.
25025         * math/s_ctanhf.c (__ctanhf): Likewise.
25026         * math/s_ctanhl.c (__ctanhl): Likewise.
25027         * math/s_ctanl.c (__ctanl): Likewise.
25028         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
25029         csin, csinh, ctan and ctanh.
25030         * math/auto-libm-test-out: Regenerated.
25031         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
25032         * sysdeps/i386/fpu/libm-test-ulps: Update.
25033         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25035 2015-06-24  Roland McGrath  <roland@hack.frob.com>
25037         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
25038         return value is wrong, print the expected value too.
25040 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
25042         [BZ #18585]
25043         * elf/readlib.c (is_gdb_python_file): New.
25044         (process_file): Don't issue errors on filenames with -gdb.py
25045         suffix.
25047 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
25049         * math/auto-libm-test-in: Add more tests of csin and csinh.
25050         * math/auto-libm-test-out: Regenerated.
25051         * math/libm-test.inc (csin_test_data): Remove tests moved to
25052         auto-libm-test-in.
25053         (csinh_test_data): Likewise.
25055         [BZ #18593]
25056         * math/s_csin.c (__csin): Negate before rather than after possibly
25057         overflowing multiplication.
25058         * math/s_csinf.c (__csinf): Likewise.
25059         * math/s_csinh.c (__csinh): Likewise.
25060         * math/s_csinhf.c (__csinhf): Likewise.
25061         * math/s_csinhl.c (__csinhl): Likewise.
25062         * math/s_csinl.c (__csinl): Likewise.
25063         * math/auto-libm-test-in: Add some tests of csin and csinh.
25064         * math/auto-libm-test-out: Regenerated.
25065         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
25066         (csinh_test_data): Likewise.
25067         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25069         [BZ #18586]
25070         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
25071         underflow exception for small results.
25073 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
25075         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25077         variable and included header.
25078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25079         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25080         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25081         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25082         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25083         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25084         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25085         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25086         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25087         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25088         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25089         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25090         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25091         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25092         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25093         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25095 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25097         [BZ #16526]
25098         [BZ #16538]
25099         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25100         (__sin): Force underflow exception for arguments with small
25101         absolute value.
25102         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25103         (__kernel_sinf): Force underflow exception for arguments with
25104         small absolute value.
25105         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25106         (__kernel_sincosl): Force underflow exception for arguments with
25107         small absolute value.
25108         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25109         (__kernel_sinl): Force underflow exception for arguments with
25110         small absolute value.
25111         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25112         (__kernel_sincosl): Force underflow exception for arguments with
25113         small absolute value.
25114         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25115         (__kernel_sinl): Force underflow exception for arguments with
25116         small absolute value.
25117         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25118         (__kernel_sinl): Force underflow exception for arguments with
25119         small absolute value.
25120         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25121         (__kernel_sinf): Force underflow exception for arguments with
25122         small absolute value.
25123         * math/auto-libm-test-in: Add more tests of sin and sincos.
25124         * math/auto-libm-test-out: Regenerated.
25126         [BZ #18245]
25127         [BZ #18583]
25128         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25129         (__kernel_standard_l): Use feholdexcept and fesetenv around
25130         conversion to double instead of special-casing overflow and
25131         underflow.
25132         * math/libm-test.inc (fmod_test_data): Add more tests.
25133         (remainder_test_data): Likewise.
25134         (sqrt_test_data): Likewise.
25136 2015-06-23  Torvald Riegel  <triegel@redhat.com>
25138         [BZ #17403]
25139         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
25140         atomic_read_barrier, atomic_write_barrier): Define.
25141         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
25142         atomic_read_barrier, atomic_write_barrier): Define.
25144 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25146         * math/Makefile [$(PERL) != no]
25147         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
25148         dependency on libm-test.stmp below the inclusion of Rules.
25150 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
25152         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25153         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
25154         and included header.
25155         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
25156         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
25157         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
25158         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
25159         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
25160         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
25161         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
25162         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
25163         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
25164         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
25165         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
25166         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
25167         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
25168         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
25169         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
25170         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
25171         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
25172         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
25173         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
25175 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
25177         [BZ #18371]
25178         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
25179         intermediate but not final result might underflow.
25180         * math/s_csqrtf.c (__csqrtf): Likewise.
25181         * math/s_csqrtl.c (__csqrtl): Likewise.
25182         * math/auto-libm-test-in: Add more tests of csqrt.
25183         * math/auto-libm-test-out: Regenerated.
25184         * sysdeps/i386/fpu/libm-test-ulps: Update.
25186         [BZ #18219]
25187         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
25188         threshold on absolute value of exponent for which scaling is used.
25189         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25190         * math/auto-libm-test-in: Add more tests of exp2.
25191         * math/auto-libm-test-out: Regenerated.
25193 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
25195         [BZ #17977]
25196         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
25197         when initializing interface list, based on the bug analysis
25198         and the patch proposed by Eric Newton.
25199         * resolv/tst-res_hconf_reorder.c: New test.
25200         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
25201         tst-res_hconf_reorder.
25202         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
25203         and $(shared-thread-library).
25204         (tst-res_hconf_reorder-ENV): New variable.
25206         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
25207         in comment.
25209 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
25211         [BZ #16353]
25212         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
25213         (__expm1): Force underflow exception for arguments with small
25214         absolute value.
25215         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
25216         (__expm1f): Force underflow exception for arguments with small
25217         absolute value.
25218         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
25219         (__expm1): Force underflow exception for arguments with small
25220         absolute value.
25221         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
25222         (__expm1f): Force underflow exception for arguments with small
25223         absolute value.
25224         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25225         Check for small arguments before calling __expm1.
25226         * math/auto-libm-test-in: Do not mark underflow exceptions as
25227         possibly missing for bug 16353.
25228         * math/auto-libm-test-out: Regenerated.
25230 2015-06-22  Andreas Schwab  <schwab@suse.de>
25232         [BZ #18513]
25233         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
25234         PTR queries.
25236 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
25238         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
25240         * string/strcoll_l.c: Remove unused struct element idxnow.
25242 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
25244         [BZ #18569]
25245         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
25246         underflow and return argument in case of subnormal argument.
25247         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25248         Likewise.
25249         * math/auto-libm-test-in: Add more tests of expm1.
25250         * math/auto-libm-test-out: Regenerated.
25252         [BZ #16361]
25253         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25254         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25255         tiny results.
25256         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25257         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25258         tiny results.
25259         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
25260         mark underflow exceptions as possibly missing for bug 16361.
25261         * math/auto-libm-test-out: Regenerated.
25263 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
25265         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
25266         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
25267         Remove variable.
25268         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25269         (test-xfail-XOPEN2K8/utmpx.h/conform).
25271         * conform/conformtest.pl ($xerrors): New variable.
25272         (note_error): New function.
25273         (compiletest): New argument $xfail.  Use not_error.
25274         (runtest): Likewise.
25275         (top level): Handle xfail- lines.  Update calls to compiletest and
25276         runtest.  Handle xfail- and optional- in headers listed with
25277         allow-header.
25278         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
25279         (O_EXEC): Likewise.
25280         (O_SEARCH): Likewise.
25281         * conform/data/stropts.h-data (ioctl): Likewise.
25282         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
25283         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
25284         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
25285         (msghdr.msg_controllen): Likewise.
25286         (cmsghdr.cmsg_len): Likewise.
25287         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
25288         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
25289         variable.
25290         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25291         (test-xfail-XPG4/stropts.h/conform): Likewise.
25292         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25293         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25294         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25295         (test-xfail-UNIX98/stropts.h/conform): Likewise.
25296         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25297         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25298         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25299         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25300         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25301         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25302         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25303         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25304         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25305         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25306         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25307         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25308         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25309         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25310         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25312 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
25314         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25315         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25316         definitions for proper unfolding of __MATHDECL_VEC.
25318 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25320         * benchtests/bench-strcoll.c:
25321         Include string.h.
25322         (main): Remove unused variable res.
25324 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25326         * timezone/Makefile (%/UTC %/Universal):
25327         Generate test-result files for UTC and Universal.
25329 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
25331         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25333 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
25335         [BZ #16350]
25336         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25337         for arguments with small absolute value.
25338         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25339         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25340         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25341         (__asinh): Force underflow exception for arguments with small
25342         absolute value.
25343         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25344         (__asinhf): Force underflow exception for arguments with small
25345         absolute value.
25346         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25347         (__asinhl): Force underflow exception for arguments with small
25348         absolute value.
25349         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25350         (__asinhl): Force underflow exception for arguments with small
25351         absolute value.
25352         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25353         (__asinhl): Force underflow exception for arguments with small
25354         absolute value.
25355         * math/auto-libm-test-in: Do not mark underflow exceptions as
25356         possibly missing for bug 16350.
25357         * math/auto-libm-test-out: Regenerated.
25359         * include/bits/ipc.h: Remove file.
25360         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25361         variable.
25362         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25363         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25364         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25365         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25366         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25367         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25368         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25369         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25370         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25372         * math/auto-libm-test-in: Remove spurious underflow allowance for
25373         tests of cexp.
25374         * math/auto-libm-test-out: Regenerated.
25376         [BZ #18558]
25377         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25378         unconditional definition.
25379         (MCAST_BLOCK_SOURCE): Likewise.
25380         (MCAST_UNBLOCK_SOURCE): Likewise.
25381         (MCAST_LEAVE_GROUP): Likewise.
25382         (MCAST_JOIN_SOURCE_GROUP): Likewise.
25383         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25384         (MCAST_MSFILTER): Likewise.
25385         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25386         Remove variable.
25387         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25388         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25389         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25390         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25391         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25393 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
25395         * NEWS: Mention addition of x86_64 vector sincosf.
25396         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25397         * math/test-float-vlen4.h: Likewise.
25398         * math/test-float-vlen8.h: Likewise.
25399         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25400         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25401         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25402         * sysdeps/x86_64/fpu/Versions: New versions added.
25403         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25404         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25405         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25406         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25407         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25408         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25409         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25410         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25412         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25413         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25414         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25415         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25416         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25417         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25418         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25419         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25420         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25421         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25422         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25423         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25424         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25425         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25426         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25428         * NEWS: Mention addition of x86_64 vector sincos.
25429         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25430         * math/math.h (__MATHDECL_VEC): New macro.
25431         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25432         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25433         declaration under condition.
25434         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25435         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25436         TEST_VEC_LOOP change.
25437         * math/test-double-vlen4.h: Likewise.
25438         * math/test-double-vlen8.h: Likewise.
25439         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25440         * math/test-float-vlen4.h: Likewise.
25441         * math/test-float-vlen8.h: Likewise.
25442         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25443         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25444         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25445         * sysdeps/x86_64/fpu/Versions: New versions added.
25446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25447         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25448         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25449         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25450         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25451         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25452         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25453         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25454         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25455         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25456         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25457         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25458         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25459         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25460         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25461         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25462         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25463         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25464         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25465         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25466         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25467         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25468         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25469         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25471         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25472         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25473         redirections for powf.
25474         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25475         * sysdeps/x86_64/fpu/Versions: New versions added.
25476         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25477         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25478         Added build of SSE, AVX2 and AVX512 IFUNC versions.
25479         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25480         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25481         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25482         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25483         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25484         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25485         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25486         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25487         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25488         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25489         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25490         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25491         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25492         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25493         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25494         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25495         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25496         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25497         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25498         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25499         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25500         * math/test-float-vlen16.h: Fixed 2 argument macro.
25501         * math/test-float-vlen4.h: Likewise.
25502         * math/test-float-vlen8.h: Likewise.
25503         * NEWS: Mention addition of x86_64 vector powf.
25505 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
25507         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25508         and redefine.
25509         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25510         and redefine.
25511         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25512         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25513         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25515         [BZ #18553]
25516         * resource/getpriority.c (getpriority): Rename to __getpriority
25517         and define as weak alias of __getpriority.
25518         * resource/setpriority.c (setpriority): Rename to __setpriority
25519         and define as weak alias of __setpriority.
25520         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25521         __getpriority and define as weak alias of __getpriority.
25522         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25523         __setpriority and define as weak alias of __setpriority.
25524         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25525         strong name.
25526         (setpriority): Use __setpriority as strong name.
25527         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25528         __getpriority and define as weak alias of __getpriority.
25529         * include/sys/resource.h (__getpriority): Declare.  Use
25530         libc_hidden_proto.
25531         (__setpriority): Likewise.
25532         (getpriority): Don't use libc_hidden_proto.
25533         (setpriority): Likewise.
25534         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25535         getpriority.  Call __setpriority instead of setpriority.
25536         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25537         Remove variable.
25539         [BZ #18547]
25540         * misc/getttyent.c (getttynam): Rename to __getttynam and define
25541         as weak alias of __getttynam.  Use prototype function definition.
25542         Call __setttyent, __getttyent and __endttyent instead of
25543         setttyent, getttyent and endttyent.
25544         (getttyent): Rename to __getttyent and define as weak alias of
25545         __getttyent.  Call __setttyent instead of setttyent.  Call
25546         __fgets_unlocked instead of fgets_unlocked.
25547         (setttyent): Rename to __setttyent and define as weak alias of
25548         __setttyent.
25549         (endttyent): Rename to __endttyent and define as weak alias of
25550         __endttyent.
25551         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
25552         (__setttyent): Likewise.
25553         (__endttyent): Likewise.
25554         (getttyent): Don't use libc_hidden_proto.
25555         (setttyent): Likewise.
25556         (endttyent): Likewise.
25557         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25558         __endttyent instead of setttyent, getttyent and endttyent.
25559         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25560         Remove variable.
25562         [BZ #18546]
25563         * socket/recv.c (__recv): Use libc_hidden_def.
25564         * socket/socket.c (__socket): Likewise.
25565         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25566         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25567         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25568         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25569         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25570         libc_hidden_def.
25571         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25572         libc_hidden_weak.
25573         * include/sys/socket.h (__socket): Do not use attribute_hidden.
25574         Use libc_hidden_proto.
25575         (__recv): Likewise.
25576         * socket/Versions (libc): Export __recv and __socket at version
25577         GLIBC_PRIVATE.
25578         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25579         instead of recv.
25580         (init_mq_netlink): Call __socket instead of socket.
25581         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25582         Remove variable.
25584         [BZ #18545]
25585         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25586         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
25587         hidden_weak.
25588         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25589         define as alias of __mq_timedsend.  Use hidden_weak.
25590         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25591         __mq_timedsend as strong name.
25592         (mq_timedreceive): Use __mq_timedreceive as strong name.
25593         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
25594         (__mq_timedreceive): Likewise.
25595         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25596         __mq_timedreceive instead of mq_timedreceive.
25597         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25598         instead of mq_timedsend.
25599         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25600         Remove variable.
25602         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25603         hidden_def and hidden_weak instead of libc_hidden_def and
25604         libc_hidden_weak.
25605         (top level): Refer to hidden_def in comment.
25606         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25607         macro.  Use it instead of libc_hidden_def.
25608         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25609         specify __GI_* name explicitly.
25610         (mq_timedreceive): Likewise.
25611         (mq_setattr): Likewise.
25613         [BZ #18544]
25614         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25615         __pthread_barrier_init and define as weak alias of
25616         __pthread_barrier_init.
25617         * sysdeps/sparc/nptl/pthread_barrier_init.c
25618         (pthread_barrier_init): Likewise.
25619         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25620         __pthread_barrier_wait and define as weak alias of
25621         __pthread_barrier_wait.
25622         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25623         (pthread_barrier_wait): Likewise.
25624         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25625         (pthread_barrier_wait): Likewise.
25626         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25627         (pthread_barrier_wait): Likewise.
25628         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25629         (pthread_barrier_wait): Likewise.
25630         * nptl/Versions (libpthread): Export __pthread_barrier_init and
25631         __pthread_barrier_wait at version GLIBC_PRIVATE.
25632         * include/pthread.h (__pthread_barrier_init): Declare.
25633         (__pthread_barrier_wait): Likewise.
25634         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25635         Call __pthread_barrier_wait instead of pthread_barrier_wait.
25636         (helper_thread): Likewise.
25637         (init_mq_netlink): Call __pthread_barrier_init instead of
25638         pthread_barrier_init.
25640         [BZ #18542]
25641         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25642         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25643         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
25644         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25645         vswscanf.
25646         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25647         Remove variable.
25649         [BZ #18540]
25650         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25651         strong alias of _IO_fflush.  Use libc_hidden_def.
25652         * libio/iofflush_u.c (fflush_unlocked): Rename to
25653         __fflush_unlocked and define as weak alias of __fflush_unlocked.
25654         Use libc_hidden_weak.
25655         * include/stdio.h (__fflush_unlocked): Declare.  Use
25656         libc_hidden_proto.
25657         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25658         fflush_unlocked.
25659         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25660         Remove variable.
25662         [BZ #18539]
25663         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25664         define as weak alias of __addseverity.
25665         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25666         Remove variable.
25667         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25668         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25669         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25671         [BZ #18536]
25672         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25673         (__tfind): Likewise.
25674         (__tdelete): Likewise.
25675         (__twalk): Likewise.
25676         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25677         __twalk to GLIBC_PRIVATE.
25678         * include/search.h (__tsearch): Use libc_hidden_proto.
25679         (__tfind): Likewise.
25680         (__tdelete): Likewise.
25681         (__twalk): Likewise.
25682         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25683         Call __tdelete instead of tdelete.
25684         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25685         tfind.  Call __tsearch instead of tsearch.
25686         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25687         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25688         Remove variable.
25689         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25691         [BZ #18534]
25692         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25693         (dprintf): Define as a weak alias of __dprintf, not a strong
25694         alias.
25695         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
25696         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25697         dprintf.
25698         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25699         Remove variable.
25700         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25701         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25703         [BZ #18533]
25704         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25705         not a strong alias.
25706         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25707         Remove variable.
25709         [BZ #18532]
25710         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25711         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
25712         (in6addr_loopback): Rename to __in6addr_loopback and define as
25713         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
25714         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
25715         libc_hidden_proto.
25716         (__in6addr_any): Likewise.
25717         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25718         in6addr_any.
25719         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25720         variable.
25721         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25723 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
25725         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25726         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25728         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25729         redirections for pow.
25730         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25731         * sysdeps/x86_64/fpu/Versions: New versions added.
25732         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25733         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25734         build of SSE, AVX2 and AVX512 IFUNC versions.
25735         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25736         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25737         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25738         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25739         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25740         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25741         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25742         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25743         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25744         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25745         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25746         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25747         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25748         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25749         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25750         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25751         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25752         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25753         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25754         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25755         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25756         * NEWS: Mention addition of x86_64 vector pow.
25758         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25759         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25760         redirections for expf.
25761         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25762         * sysdeps/x86_64/fpu/Versions: New versions added.
25763         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25764         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25765         build of SSE, AVX2 and AVX512 IFUNC versions.
25766         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25767         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25768         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25769         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25770         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25771         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25772         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25773         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25774         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25775         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25776         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25777         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25778         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25779         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25780         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25781         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25782         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25783         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25784         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25785         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25786         * NEWS: Mention addition of x86_64 vector expf.
25788         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25789         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25790         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25791         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25792         redirections for exp.
25793         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25794         * sysdeps/x86_64/fpu/Versions: New versions added.
25795         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25796         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25797         build of SSE, AVX2 and AVX512 IFUNC versions.
25798         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25799         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25800         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25801         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25803         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25804         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25805         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25806         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25807         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25808         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25809         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25810         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25811         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25812         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25813         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25814         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25815         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25816         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25817         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25818         * NEWS: Mention addition of x86_64 vector exp.
25820         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25821         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25822         redirections for logf.
25823         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25824         * sysdeps/x86_64/fpu/Versions: New versions added.
25825         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25826         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25827         build of SSE, AVX2 and AVX512 IFUNC versions.
25828         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25829         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25830         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25831         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25832         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25833         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25834         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25835         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25836         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25837         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25838         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25839         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25840         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25841         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25842         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25843         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25844         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25845         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25846         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25847         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25848         * NEWS: Mention addition of x86_64 vector logf.
25850         * bits/libm-simd-decl-stubs.h: Added stubs for log.
25851         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25852         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25853         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25854         redirections for log.
25855         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25856         * sysdeps/x86_64/fpu/Versions: New versions added.
25857         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25858         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25859         build of SSE, AVX2 and AVX512 IFUNC versions.
25860         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25861         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25862         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25863         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25864         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25865         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25866         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25867         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25868         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25869         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25870         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25871         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25872         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25873         test.
25874         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25875         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25876         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25877         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25878         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25879         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25880         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25881         * NEWS: Mention addition of x86_64 vector log.
25883 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25885         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25886         cfi_adjust_cfa_offset argument.
25887         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25888         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25890         [BZ #18034]
25891         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25892         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25893         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25894         ordering using ldar.
25895         (_dl_tlsdesc_dynamic): Likewise.
25896         (_dl_tlsdesc_return_lazy): Likewise.
25897         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25898         relaxed atomics instead of volatile and synchronize with release store.
25899         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25900         volatile.
25901         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25903 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
25905         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25906         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25907         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25908         * sysdeps/x86_64/fpu/Versions: New versions added.
25909         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25910         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25911         build of SSE, AVX2 and AVX512 IFUNC versions.
25912         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25913         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25914         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25915         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25916         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25917         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25918         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25919         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25920         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25921         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25922         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25923         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25924         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25925         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25926         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25927         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25930         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25931         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25932         * NEWS: Mention addition of x86_64 vector sinf.
25934 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
25936         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25937         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25938         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25939         Remove variable.
25940         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25941         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25943 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
25945         [BZ #18530]
25946         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25947         strong alias of _IO_fputs.  Use libc_hidden_def.
25948         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25949         and define as weak alias of __fputs_unlocked.  Use
25950         libc_hidden_weak.
25951         * include/stdio.h (__fputs_unlocked): Declare.  Use
25952         libc_hidden_proto.
25953         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25954         fputs_unlocked.
25956         [BZ #18529]
25957         * resolv/netdb.h [__USE_POSIX]: Change condition to
25958         [__USE_XOPEN2K].
25959         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25960         not expect.
25961         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25962         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25963         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25964         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25965         [XPG4 || UNIX98] (AI_ALL): Likewise.
25966         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25967         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25968         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25969         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25970         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25971         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25972         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25973         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25974         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25975         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25976         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25977         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25978         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25979         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25980         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25981         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25982         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25983         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25984         [XPG4 || UNIX98] (gai_strerror): Likewise.
25985         [XPG4 || UNIX98] (getaddrinfo): Likewise.
25986         [XPG4 || UNIX98] (getnameinfo): Likewise.
25988         [BZ #18528]
25989         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25990         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25991         __USE_XOPEN2K8].
25992         (getgrent): Likewise.
25993         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25994         expect.
25995         [XPG3 || POSIX2008] (endgrent): Likewise.
25996         [XPG3] (setgrent): Likewise.
25997         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25998         variable.
25999         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
26001         [BZ #18527]
26002         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
26003         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
26004         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
26005         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
26006         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
26007         * include/unistd.h (__getlogin_r): Declare.  Use
26008         libc_hidden_proto.
26009         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
26010         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
26011         variable.
26012         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
26013         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
26014         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
26016 2015-06-12  Martin Sebor  <msebor@redhat.com>
26018         [BZ #18512]
26019         * Makerules (check-install-supported): New target.
26020         (install): Add check-install-supported as a dependency.
26021         * manual/install.texi (Installing the C Library): Document
26022         that overriding prefix and exec_prefix is not supported.
26023         Mention DESTDIR.
26024         * INSTALL: Regenerate from the above.
26026 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
26028         [BZ #18519]
26029         * posix/Versions (libc): Export __libc_pread at version
26030         GLIBC_PRIVATE.
26031         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
26032         instead of pread.
26033         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
26034         variable.
26036         [BZ #18522]
26037         * misc/efgcvt_r.c
26038         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
26039         (cvt_symbol): Use weak_alias instead of strong_alias.
26040         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
26041         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
26042         Remove variable.
26043         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
26044         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
26046         [BZ #18520]
26047         * inet/herrno.c (h_errno): Rename to __h_errno.
26048         (__libc_h_errno): Define as alias of __h_errno not h_errno.
26049         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
26050         to __h_errno instead of h_errno.
26051         * nptl/herrno.c (h_errno): Rename to __h_errno.
26052         (__h_errno_location): Refer to __h_errno not h_errno.
26053         * resolv/Versions (h_errno): Rename to __h_errno.
26054         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
26055         Remove variable.
26056         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
26058 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
26060         * configure.ac: More strict check for AVX512 assembler support.
26061         * configure: Regenerated.
26063         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
26064         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
26065         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26066         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
26067         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26068         * sysdeps/x86_64/fpu/Versions: New versions added.
26069         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26070         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26071         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
26073         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
26074         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
26075         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
26076         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26077         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26078         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26079         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26080         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26081         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26082         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26083         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26084         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26085         test.
26086         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26087         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26088         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26089         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26090         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26091         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26092         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26093         * NEWS: Mention addition of x86_64 vector sin.
26095 2015-06-11  Florian Weimer  <fweimer@redhat.com>
26097         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26098         comment.
26100 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
26102         [BZ #18479]
26103         * nptl/pt-interp.c: New file.
26104         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26105         Add pt-interp.
26106         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26107         $(common-objpfx)runtime-linker.h.
26109 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
26111         * Makeconfig (+interp): Remove unused variable.
26112         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26113         only.  Depend on $(common-objpfx)runtime-linker.h instead of
26114         $(elf-objpfx)runtime-linker.h.
26115         ($(elf-objpfx)runtime-linker.h): Rename to
26116         $(common-objpfx)runtime-linker.h and move ...
26117         * Makerules [$(build-shared) = yes]: ... here.
26118         * elf/interp.c: Include <runtime-linker.h> instead of
26119         <elf/runtime-linker.h>.
26121 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26123         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26124         (__gettimeofday_syscall): Remove vsyscall fallback.
26125         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26126         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26127         Add syscall fallback function.
26128         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26129         if vDSO is not present.
26130         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26131         fallback function.
26132         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26133         present.
26134         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26135         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26137 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
26139         [BZ #18497]
26140         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
26141         of wcscmp.
26142         (wcscmp): Define as weak alias of WCSCMP.
26143         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
26144         wcscoll.
26145         (USE_HIDDEN_DEF): Define.
26146         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
26147         __wcscoll.  Don't use libc_hidden_weak.
26148         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
26149         wcscmp.
26150         * sysdeps/i386/i686/multiarch/wcscmp-c.c
26151         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
26152         __GI_wcscmp.
26153         (weak_alias): Undefine and redefine.
26154         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
26155         __wcscmp and define as weak alias of __wcscmp.
26156         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
26157         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
26158         (__wcscoll): Likewise.
26159         (wcscmp): Don't use libc_hidden_proto.
26160         (wcscoll): Likewise.
26161         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26162         wcscoll.
26163         * posix/regexec.c (check_node_accept_bytes): Likewise.
26164         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
26165         variable.
26166         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26167         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26169         [BZ #18507]
26170         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
26171         __fstatvfs and define as weak alias of __fstatvfs.  Use
26172         libc_hidden_weak.
26173         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
26174         and define as weak alias of __statvfs.  Use libc_hidden_weak.
26175         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
26176         Define as alias of __fstatvfs, not fstatvfs.
26177         (fstatvfs64): Likewise.
26178         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
26179         Define as alias of __statvfs, not statvfs.
26180         (statvfs64): Likewise.
26181         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
26182         Remove variable.
26184 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26187         (HAVE_GETCPU_VSYSCALL): Define.
26188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26189         (HAVE_GETCPU_VSYSCALL): Likewise.
26190         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
26191         * sysdeps/unix/sysv/linux/sched_getcpu.c
26192         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
26193         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
26194         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
26195         prototype.
26196         * sysdeps/unix/sysv/linux/x86_64/init-first.c
26197         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
26198         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
26199         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
26200         Define.
26201         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
26202         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26203         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
26204         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26206 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
26208         * sysdeps/x86_64/fpu/Makefile: New file.
26209         * sysdeps/x86_64/fpu/Versions: New file.
26210         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
26211         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
26212         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
26213         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
26214         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
26215         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
26216         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
26217         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
26218         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
26219         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
26220         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
26221         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
26222         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
26223         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26224         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26225         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
26226         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
26227         * sysdeps/x86_64/configure.ac: Options for libmvec build.
26228         * sysdeps/x86_64/configure: Regenerated.
26229         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
26230         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
26231         * manual/install.texi (Configuring and compiling): Document
26232         --disable-mathvec.
26233         * INSTALL: Regenerated.
26234         * NEWS: Mention addition of libmvec and x86_64 vector cos.
26236         * math/Makefile: Added rules for vector tests.
26237         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
26238         declaration under condition.
26239         * math/test-double-vlen2.h: New file.
26240         * math/test-double-vlen4.h: New file.
26241         * math/test-double-vlen8.h: New file.
26242         * math/test-vec-loop.h: Added initialization macro.
26243         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
26244         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
26245         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
26246         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
26247         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
26248         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
26249         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
26250         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
26251         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
26252         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
26253         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
26255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26256         * sysdeps/x86_64/fpu/Versions: New versions added.
26257         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
26258         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
26259         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
26260         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
26261         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
26262         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
26263         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
26264         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
26265         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
26266         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
26267         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
26268         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
26269         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
26270         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26271         Added build of SSE, AVX2 and AVX512 IFUNC versions.
26272         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26273         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
26274         * NEWS: Mention addition of x86_64 vector cosf.
26276         * math/Makefile: Added CFLAGS for new tests.
26277         * math/test-float-vlen16.h: New file.
26278         * math/test-float-vlen4.h: New file.
26279         * math/test-float-vlen8.h: New file.
26280         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
26281         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
26282         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26283         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
26284         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
26285         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
26286         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
26287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
26288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
26289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
26290         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
26292 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
26294         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
26295         * locale/programs/ld-ctype.c: Likewise.
26297 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
26299         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
26300         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
26301         bit_ZMM16_31_state): New macro.
26302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26303         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
26305 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
26307         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26309 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
26311         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26313 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
26315         [BZ #18498]
26316         * libio/memstream.c (open_memstream): Rename to __open_memstream
26317         and define as weak alias of __open_memstream.
26318         * include/stdio.h (__open_memstream): Declare.  Use
26319         libc_hidden_proto.
26320         (open_memstream): Don't use libc_hidden_proto.
26321         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26322         open_memstream.
26323         * posix/getopt.c (_getopt_internal_r): Likewise.
26324         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26325         variable.
26326         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26327         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26328         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26330         [BZ #18496]
26331         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26332         instead of wcrtomb.
26334         [BZ #18483]
26335         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26336         [__USE_XOPEN2K8].  Remove redundant #endif.
26337         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26338         Remove redundant #if.
26339         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26340         Remove variable.
26341         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26342         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26344         [BZ #18495]
26345         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26346         (__iswlower): Likewise.
26347         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
26348         (__iswlower): Likewise.
26349         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26350         instead of towlower.
26351         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26352         instead of iswlower.  Call __towupper instead of towupper.
26353         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26354         instead of iswalnum.
26356 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26358         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26359         errors to stderr.
26361 2015-06-05  Florian Weimer  <fweimer@redhat.com>
26363         [BZ #15661]
26364         [BZ #17322]
26365         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26366         Check for overflow properly.  Check for O_APPEND.  Ignore large
26367         file system block sizes.  Add comments about problems.
26368         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26369         * manual/filesys.texi (Storage Allocation): New node.
26371 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26373         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26374         cancellable syscalls.
26375         (SYS_ify): Add guard to no redefine it.
26376         (INLINE_SYSCALL): Likewise.
26377         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26378         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26379         SYSCALL_CANCEL instead.
26380         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26381         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26382         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26383         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26384         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26385         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26386         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26387         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26388         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26389         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26390         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26391         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26392         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26393         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26394         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26395         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26396         Likewise.
26397         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26398         (__libc_pread64): Likewise.
26399         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26400         (__libc_preadv): Likewise.
26401         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26402         (__libc_readv64): Likewise.
26403         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26404         (__libc_pwrite): Likewise.
26405         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26406         (__libc_pwrite64): Likewise.
26407         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26408         (__libc_pwritev): Likewise.
26409         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26410         (__libc_pwritev64): Likewise.
26411         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26412         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26413         (sync_file_range): Likewise.
26414         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26415         Likewise.
26416         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26417         Likewise.
26418         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26419         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26420         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26421         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26422         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26423         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26424         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26425         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26427         Likewise.
26428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26429         (__libc_read64): Likewise.
26430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26431         Likewise.
26432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26433         Likewise.
26434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26435         Likewise.
26436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26437         Likewise.
26438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26439         (__libc_pread64): Likewise.
26440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26441         Likewise.
26442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26443         (__libc_pwrite64): Likewise.
26444         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26445         (sync_file_range): Likewise.
26446         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26447         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26448         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26449         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26450         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26451         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26452         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26453         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26454         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26455         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26456         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26457         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26458         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26459         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26460         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26461         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26462         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26463         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26464         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26465         Likewise.
26466         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26467         Likewise.
26468         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26469         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26470         Likewise.
26471         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26472         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26473         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26474         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26475         Likewise.
26476         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26477         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26478         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26479         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26480         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26482 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
26484         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26485         Include dl-vdso.
26486         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26487         Use VDSO routines for gettimeofday, clock_gettime if
26488         available.
26489         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26490         Declare VDSO symbols.
26491         * sysdeps/unix/sysv/linux/arm/sysdep.h:
26492         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26493         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26494         * sysdeps/unix/sysv/linux/arm/Versions: Add
26495         __vdso_clock_gettime.
26497 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26499         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26500         be an inline implementation regardless of library is built within.
26501         (open_not_cancel_2): Likewise.
26502         (__read_nocancel): Likewise.
26503         (__write_nocancel): Likewise.
26504         (openat_not_cancel): Likewise.
26505         (openat_not_cancel_3): Likewise.
26506         (openat64_not_cancel): Likewise.
26507         (openat64_not_cancel_3): Likewise.
26508         (__close_nocancel): Likewise.
26509         (pause_not_cancel): Likewise.
26510         (nanosleep_not_cancel): Likewise.
26511         (sigsuspend_not_cancel): Likewise.
26513 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26515         [BZ #14958]
26516         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26517         wake-up.
26518         (__pthread_rwlock_rdlock_slow): Likewise.
26519         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26520         Likewise.
26521         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26522         Likewise.
26523         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26524         * nptl/tst-rwlock16.c: New file.
26525         * nptl/Makefile (tests): Add new test.
26527 2015-06-04  Torvald Riegel  <triegel@redhat.com>
26529         [BZ #18324]
26530         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26531         missing wake-up of readers.
26532         * nptl/tst-rwlock15.c: New file.
26533         * nptl/Makefile (tests): Add new test.
26535 2015-06-03  Roland McGrath  <roland@hack.frob.com>
26537         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26538         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26539         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26540         and __nacl_supply_interface_rtld.
26541         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26542         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26543         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26544         Add __nacl_supply_interface_rtld.
26545         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26547 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26549         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26550         isfinite.
26551         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26552         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26554 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
26556         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26557         __signbit* with standard C99 macros.
26558         * math/e_exp10l.c: Likewise.
26559         * math/e_exp2l.c: Likewise.
26560         * math/e_scalb.c: Likewise.
26561         * math/e_scalbf.c: Likewise.
26562         * math/e_scalbl.c: Likewise.
26563         * math/s_ldexp.c: Likewise.
26564         * math/s_ldexpf.c: Likewise.
26565         * math/s_ldexpl.c: Likewise.
26566         * math/w_atan2.c: Likewise.
26567         * math/w_atan2f.c: Likewise.
26568         * math/w_atan2l.c: Likewise.
26569         * math/w_cosh.c: Likewise.
26570         * math/w_coshf.c: Likewise.
26571         * math/w_coshl.c: Likewise.
26572         * math/w_exp10.c: Likewise.
26573         * math/w_exp10f.c: Likewise.
26574         * math/w_exp10l.c: Likewise.
26575         * math/w_exp2.c: Likewise.
26576         * math/w_exp2f.c: Likewise.
26577         * math/w_exp2l.c: Likewise.
26578         * math/w_fmod.c: Likewise.
26579         * math/w_fmodf.c: Likewise.
26580         * math/w_fmodl.c: Likewise.
26581         * math/w_hypot.c: Likewise.
26582         * math/w_hypotf.c: Likewise.
26583         * math/w_hypotl.c: Likewise.
26584         * math/w_jnl.c: Likewise.
26585         * math/w_lgamma.c: Likewise.
26586         * math/w_lgamma_r.c: Likewise.
26587         * math/w_lgammaf.c: Likewise.
26588         * math/w_lgammaf_r.c: Likewise.
26589         * math/w_lgammal.c: Likewise.
26590         * math/w_lgammal_r.c: Likewise.
26591         * math/w_pow.c: Likewise.
26592         * math/w_powf.c: Likewise.
26593         * math/w_powl.c: Likewise.
26594         * math/w_remainder.c: Likewise.
26595         * math/w_remainderf.c: Likewise.
26596         * math/w_remainderl.c: Likewise.
26597         * math/w_scalb.c: Likewise.
26598         * math/w_scalbf.c: Likewise.
26599         * math/w_scalbl.c: Likewise.
26600         * math/w_scalbln.c: Likewise.
26601         * math/w_scalblnf.c: Likewise.
26602         * math/w_scalblnl.c: Likewise.
26603         * math/w_sinh.c: Likewise.
26604         * math/w_sinhf.c: Likewise.
26605         * math/w_sinhl.c: Likewise.
26606         * math/w_tgamma.c: Likewise.
26607         * math/w_tgammaf.c: Likewise.
26608         * math/w_tgammal.c: Likewise.
26609         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26610         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26611         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26612         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26613         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26614         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26615         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26616         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26617         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26618         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26619         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26620         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26621         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26622         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26623         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26624         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26625         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26626         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26627         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26628         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26629         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26630         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26631         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26632         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26633         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26634         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26635         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26636         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26637         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26638         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26639         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26640         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26641         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26642         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26643         * stdio-common/printf_fp.c: Likewise.
26644         * stdio-common/printf_fphex.c: Likewise.
26645         * stdio-common/printf_size.c: Likewise.
26647 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
26649         [BZ #18470]
26650         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26651         strnlen.
26652         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26653         Remove variable.
26654         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26655         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26656         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26657         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26658         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26659         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26660         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26661         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26662         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26663         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26665         [BZ #18468]
26666         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26667         weak alias of __wmemchr.  Use libc_hidden_weak.
26668         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
26669         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26670         instead of wmemchr.
26672 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26674         [BZ #18383]
26675         * elf/tst-tlsalign-extern.c: New file.
26676         * elf/tst-tlsalign-extern-static.c: New file.
26677         * elf/tst-tlsalign-vars.c: New file.
26678         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26679         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26680         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26681         ($(objpfx)tst-tlsalign-extern-static): Likewise.
26682         (test-xfail-tst-tlsalign-extern-static): New variable.
26684 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
26686         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26687         Use variable name _sc_err instead of err.
26688         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26689         instead of ret.
26690         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26691         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26692         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26693         (INLINE_SYSCALL): Likewise.
26695         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26696         * include/string.h (__strnlen): Use libc_hidden_proto.
26697         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26698         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26699         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26700         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26701         (libc_hidden_def): Undefine and redefine.
26702         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26703         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26704         __GI_strnlen.
26705         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26706         libc_hidden_def.
26707         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26709         [BZ #18469]
26710         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26711         weak alias of __towlower.  Use libc_hidden_weak.
26712         (towupper): Rename to __towupper and define as weak alias of
26713         __towupper.  Use libc_hidden_weak.
26714         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
26715         (__towupper): Likewise.
26716         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26717         __towlower instead of towlower.
26719 2015-06-02  Roland McGrath  <roland@hack.frob.com>
26721         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26722         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26724 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26726         * sysdeps/aarch64/libm-test-ulps: Update.
26728 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26730         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26731         Define.
26732         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26733         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26734         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26735         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26736         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26737         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26738         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26740 2015-06-01  Martin Sebor  <msebor@redhat.com>
26742         [BZ #18116]
26743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26744         (__setcontext): Use extended four-operand version of mtsf whenever
26745         possible.
26746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26747         (__novec_swapcontext): Likewise.
26749 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26751         * benchtests/scripts/compare_bench.py: New file.
26752         * benchtests/scripts/import_bench.py (mean): New function.
26753         (split_list): Likewise.
26754         (do_for_all_timings): Likewise.
26755         (compress_timings): Likewise.
26757         * benchtests/scripts/import_bench.py: New file.
26758         * benchtests/scripts/validate_benchout.py: Import import_bench
26759         instead of jsonschema.
26760         (validate_bench): Remove function.
26761         (main): Use import_bench.
26763 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
26765         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26766         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26768 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26772 2015-05-28  Roland McGrath  <roland@hack.frob.com>
26774         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26775         set THREAD_SELF->tid to a magic value and futex-wake it.
26776         Pass its address to the thread_exit system call.
26777         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26778         bit is clear.
26779         * sysdeps/nacl/lowlevellock.h: New file.
26780         * sysdeps/nacl/lll_timedwait_tid.c: New file.
26782         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26783         Add TIMEOUT to current time, don't subtract it.
26785 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
26787         [BZ #2981]
26788         [BZ #18422]
26789         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26790         ($(objpfx)tst-audit2.out): Also depend on
26791         $(objpfx)tst-auditmod9b.so.
26792         * elf/tst-audit2.c: Include <dlfcn.h>.
26793         (calloc_called): New.
26794         (calloc): Allow to be called more than once.
26795         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26797 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
26799         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26800         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26802 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
26804         * stdlib/monetary.h: Fix comment.
26806 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
26808         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26809         Avoid using variables in #defines that might cause shadowing.
26810         (INTERNAL_VSYSCALL_CALL): Likewise.
26812 2015-05-26  Roland McGrath  <roland@hack.frob.com>
26814         * sysdeps/nacl/lll_timedlock_wait.c: New file.
26816         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26817         * nptl/lll_timedlock_wait.c: ... to this new file.
26818         * nptl/Makefile (libpthread-routines): Add it.
26819         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26820         * nptl/lll_timedwait_tid.c: ... to this new file.
26821         * nptl/Makefile (libpthread-routines): Add it.
26822         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26823         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26824         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26825         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26826         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26827         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26828         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26829         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26830         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26831         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26833 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26835         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26836         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26837         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26839         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26840         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26841         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26842         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26843         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26844         * sysdeps/unix/sysv/linux/tile/sysdep.h
26845         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26846         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26847         using vDSO syscall macro.
26849 2015-05-26  Andriy Rysin  <arysin@gmail.com>
26851         [BZ #17293]
26852         * uk_UA: Fix sorting order for Ukrainian locale
26854 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
26856         * stdlib/monetary.h: Fix comment.
26858 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26860         [BZ #18234]
26861         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26862         st_mtim and st_ctim members.
26863         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26864         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26865         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26866         (struct stat64): Likewise.
26867         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26868         (struct stat64): Likewise.
26869         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26870         (struct stat64): Likewise.
26872 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26874         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26875         Define and include sysdep-vdso.h.
26876         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26877         Likewise.
26878         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26879         Likewise.
26880         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26881         Define with VDSO_SYMBOL and use PTR_MANGLE.
26882         (__vdso_clock_gettime): Likewise.
26883         (__vdso_clock_getres): Likewise.
26884         (_libc_vdso_platform_setup): Likewise.
26885         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26886         Likewise.
26887         (_libc_vdso_platform_setup): Likewise.
26888         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26889         Likewise.
26890         (__vdso_clock_gettime): Likewise.
26891         (__vdso_clock_getres): Likewise.
26892         (__vdso_get_tbfreq): Likewise.
26893         (__vdso_getcpu): Likewise.
26894         (__vdso_time): Likewise.
26895         (__vdso_sigtramp_rt64): Likewise.
26896         (__vdso_signtramp32): Likewise.
26897         (__vdso_sigtramp_rt32): Likewise.
26898         (_libc_vdso_platform_setup): Likewise.
26899         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26900         Likewise.
26901         (__vdso_clock_gettime): Likewise.
26902         (__vdso_clock_getres): Likewise.
26903         (_libc_vdso_platform_setup): Likewise.
26904         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26905         Likewise.
26906         (__vdso_clock_gettime): Likewise.
26907         (_libc_vdso_platform_setup): Likewise.
26908         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26909         Likewise.
26910         (__vdso_getcpu): Likewise.
26911         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26912         Use VDSO_SYMBOL macro to define.
26913         (__vdso_clock_gettime): Likewise.
26914         (__vdso_clock_getres): Likewise.
26915         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26916         Likewise.
26917         (__vdso_clock_gettime): Likewise.
26918         (__vdso_clock_getres): Likewise.
26919         (__vdso_get_tbfreq): Likewise.
26920         (__vdso_getcpu): Likewise.
26921         (__vdso_time): Likewise.
26922         (__vdso_sigtramp_rt64): Likewise.
26923         (__vdso_signtramp32): Likewise.
26924         (__vdso_sigtramp_rt32): Likewise.
26925         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26926         Likewise.
26927         (__vdso_clock_gettime): Likewise.
26928         (__vdso_clock_getres): Likewise.
26929         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26930         Likewise.
26931         (__vdso_clock_gettime): Likewise.
26932         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26933         Likewise.
26934         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
26935         macro.
26936         (INTERNAL_VSYSCALL): Likewise.
26937         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26938         Remove macro.
26939         (INTERNAL_VSYSCALL): Likewise.
26940         (INTERNAL_VSYSCALL_NCS): Likewise.
26941         (INTERNAL_VSYSCALL_CALL): New macro.
26942         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26943         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26944         Likewise.
26945         (INTERNAL_VSYSCALL): Likewise.
26946         (INTERNAL_VSYSCALL_NCS): Likewise.
26947         (INTERNAL_VSYSCALL_CALL): New macro.
26948         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26950         (INLINE_VSYSCALL): Remove macro.
26951         (INTERNAL_VSYSCALL): Remove macro.
26952         (INTERNAL_VSYSCALL_NCS): Remove macro.
26953         (INTERNAL_VSYSCALL_CALL): New macro.
26954         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26955         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26956         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26957         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26958         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26960         (INLINE_VSYSCALL): Remove macro.
26961         (INTERNAL_VSYSCALL): Likewise.
26962         (INTERNAL_VSYSCALL_NCS): Likewise.
26963         (INTERNAL_VSYSCALL_CALL): New macro.
26964         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26965         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26966         PTR_DEMANGLE on vDSO pointer.
26967         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26968         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26969         macro.
26970         (INTERNAL_SYSCALL): Likewise.
26971         (INTERNAL_VSYSCALL_NCS): Remove macro.
26972         (INTERNAL_VSYSCALL_CALL): New macro.
26973         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26974         Remove macro.
26975         (INTERNAL_VSYSCALL): Likewise.
26976         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26977         sysdep-vdso.h instead of libc-vdso.h.
26978         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26979         definition.
26980         (INLINE_VSYSCALL): Likewise.
26981         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26982         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26983         definition.
26984         (INLINE_VSYSCALL): Likewise.
26985         (INTERNAL_VSYSCALL): Likewise.
26986         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26987         * sysdeps/unix/sysv/linux/timespec_get.c
26988         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26989         (timespec_get): Use ANSI prototype.
26990         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26991         and definition for Linux.
26993 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
26995         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26996         * include/libc-symbols.h: libmvec_hidden_* macro series added.
26998 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
27000         [BZ #2981]
27001         [BZ #18410]
27002         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
27003         for missing DT_PLTRELSZ.
27005 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
27007         Remove obsolete aliases that broke 'locale -a'
27008         [BZ #18412]
27009         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
27010         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
27011         breaking some applications that use 'locale -a' output.
27012         Change the encoding of this file from Latin-1 to ASCII to avoid
27013         other potential problems with people grepping this file.
27015 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27017         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
27018         -fasynchronous-unwind-tables.
27019         (CFLAGS-sendto.c): Likewise.
27020         (CFLAGS-sendmsg.c): Likewise.
27021         (CFLAGS-connect.c): Likewise.
27022         (CFLAGS-recvmsg.c): Likewise.
27023         (CFLAGS-recvfrom.c): Likewise.
27024         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
27025         (SOCKETCALL): New macro: non-cancellable socketcall.
27026         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
27027         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
27028         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
27029         * sysdeps/unix/sysv/linux/accept.c: New file.
27030         * sysdeps/unix/sysv/linux/bind.c: Likewise.
27031         * sysdeps/unix/sysv/linux/connect.c: Likewise.
27032         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
27033         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
27034         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
27035         * sysdeps/unix/sysv/linux/listen.c: Likewise.
27036         * sysdeps/unix/sysv/linux/recv.c: Likewise.
27037         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
27038         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
27039         * sysdeps/unix/sysv/linux/send.c: Likewise.
27040         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
27041         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
27042         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
27043         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
27044         * sysdeps/unix/sysv/linux/socket.c: Likewise.
27045         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
27046         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
27047         prototype.
27048         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
27049         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27050         instead of __internal_xxx function.
27051         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
27052         prototype.
27053         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
27054         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27055         instead of __internal_xxx function.
27056         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
27057         prototype.
27058         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
27059         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
27060         instead of __internal_xxx function.
27061         * sysdeps/unix/sysv/linux/accept.S: Remove file.
27062         * sysdeps/unix/sysv/linux/bind.S: Likewise.
27063         * sysdeps/unix/sysv/linux/connect.S: Likewise.
27064         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
27065         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
27066         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
27067         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
27068         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
27069         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
27070         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
27071         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
27072         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27073         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
27074         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
27075         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
27076         * sysdeps/unix/sysv/linux/listen.S: Likewise.
27077         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27078         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27079         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27080         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27083         * sysdeps/unix/sysv/linux/recv.S: Likewise.
27084         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27085         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27086         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27087         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27088         * sysdeps/unix/sysv/linux/send.S: Likewise.
27089         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27090         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27091         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27092         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27093         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27094         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27095         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27096         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27097         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27098         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27099         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27100         socketcall is implemented in GLIBC.
27102 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27104         * soft-fp/fmadf4.c: Include <libc-internal.h>.
27105         (__fma): Ignore uninitialized warnings around packing.
27106         * soft-fp/fmasf4.c: Include <libc-internal.h>.
27107         (__fmaf): Ignore uninitialized warnings around packing.
27108         * soft-fp/fmatf4.c: Include <libc-internal.h>.
27109         (__fmal): Ignore uninitialized warnings around packing.
27111         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27112         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27113         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27114         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27116         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27117         switch statement into default case.
27118         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27120         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27121         a conditional in forcing "inexact".
27122         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27123         Likewise.
27125 2015-05-22  Roland McGrath  <roland@hack.frob.com>
27127         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27128         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27129         for each INTERNAL_SYSCALL use.
27131 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
27133         [BZ #438]
27134         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27135         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27136         variable.
27138         [BZ #18444]
27139         * string/basename.c (basename): Rename to __basename and define as
27140         weak alias of __basename.  Use libc_hidden_weak.
27141         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
27142         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
27143         __basename instead of basename.
27144         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
27145         Remove variable.
27146         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27148 2015-05-18  Florian Weimer  <fweimer@redhat.com>
27150         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
27151         (_IO_JUMPS_FILE_plus): New.
27152         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
27153         _IO_CAST_FIELD_ACCESS.
27154         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
27155         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
27156         * libio/freopen.c (freopen): Likewise.
27157         * libio/freopen64.c (freopen64): Likewise.
27158         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
27159         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
27160         * libio/iofwide.c (_IO_fwide): Likewise.
27161         * libio/memstream.c (open_memstream): Likewise.
27162         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27163         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27164         * libio/oldiopopen.c (_IO_old_popen): Likewise.
27166 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
27168         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
27169         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
27170         NADJ.
27171         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
27172         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
27173         NADJ.
27174         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
27175         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
27176         NADJ.
27178         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
27179         (p == 4) case.
27181         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
27182         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
27183         Remove variable.
27184         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27185         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27186         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27188 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27190         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
27191         Adjust jump table label generation macros.
27193 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27195         * stdio-common/vfprintf.c (vfprintf): Move local variables
27196         args_malloced, specs, specs_malloced, and the code after
27197         do_positional to the printf_positional function.
27198         (printf_positional): New function.
27200 2015-05-21  Florian Weimer  <fweimer@redhat.com>
27202         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
27203         function.
27204         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
27205         STEP4_TABLE, process_arg): Move macro definitions
27206         out of the vfprintf function.  (Cosmetic change only.)
27208 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
27210         * benchtests/Makefile (stdio-common-bench): Define.
27211         (benchset): Add stdio-common-bench.
27212         * sprintf-inputs: New file.
27213         * sprintf-source.c: New file.
27215 2015-05-21  Andreas Schwab  <schwab@suse.de>
27217         [BZ #13028]
27218         [BZ #17053]
27219         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
27220         of struct __res_state.
27221         * resolv/res_send.c (__libc_res_nsend): Likewise.
27222         (get_nsaddr): New function.
27223         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
27224         statp directly.
27226 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
27228         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
27229         -D_POSIX_C_SOURCE=199506L.
27231         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
27233         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
27234         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
27235         Do not mention otherwise.
27236         [POSIX] (_XOPEN_VERSION): Do not expect.
27237         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
27238         [POSIX] (_POSIX2_C_BIND): Likewise.
27239         [POSIX] (_POSIX2_VERSION): Likewise.
27240         [POSIX] (_XOPEN_XPG2): Likewise.
27241         [POSIX] (_XOPEN_XPG3): Likewise.
27242         [POSIX] (_XOPEN_XPG4): Likewise.
27243         [POSIX] (_XOPEN_UNIX): Likewise.
27244         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
27245         [POSIX] (_POSIX_BARRIERS): Likewise.
27246         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
27247         [POSIX] (_POSIX_CPUTIME): Likewise.
27248         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
27249         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
27250         [POSIX] (_POSIX_SHELL): Likewise.
27251         [POSIX] (_POSIX_SPAWN): Likewise.
27252         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
27253         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
27254         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
27255         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
27256         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
27257         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
27258         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
27259         [POSIX] (_XBS5_LP64_OFF64): Likewise.
27260         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
27261         [POSIX] (_POSIX_TIMEOUTS): Likewise.
27262         [POSIX] (_POSIX2_PBS): Likewise.
27263         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
27264         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
27265         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
27266         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
27267         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
27268         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
27269         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
27270         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
27271         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
27272         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
27273         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
27274         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
27275         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
27276         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
27277         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
27278         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
27279         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
27280         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
27281         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
27282         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
27283         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
27284         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
27285         [POSIX] (_SC_2_C_BIND): Likewise.
27286         [POSIX] (_SC_2_C_VERSION): Likewise.
27287         [POSIX] (_SC_2_PBS): Likewise.
27288         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
27289         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
27290         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
27291         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
27292         [POSIX] (_SC_2_PBS_TRACK): Likewise.
27293         [POSIX] (_SC_ATEXIT_MAX): Likewise.
27294         [POSIX] (_SC_BARRIERS): Likewise.
27295         [POSIX] (_SC_BASE): Likewise.
27296         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
27297         [POSIX] (_SC_DEVICE_IO): Likewise.
27298         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
27299         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
27300         [POSIX] (_SC_FD_MGMT): Likewise.
27301         [POSIX] (_SC_FIFO): Likewise.
27302         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
27303         [POSIX] (_SC_FILE_LOCKING): Likewise.
27304         [POSIX] (_SC_FILE_SYSTEM): Likewise.
27305         [POSIX] (_SC_IOV_MAX): Likewise.
27306         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
27307         [POSIX] (_SC_NETWORKING): Likewise.
27308         [POSIX] (_SC_PAGE_SIZE): Likewise.
27309         [POSIX] (_SC_PASS_MAX): Likewise.
27310         [POSIX] (_SC_PIPE): Likewise.
27311         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27312         [POSIX] (_SC_REGEXP): Likewise.
27313         [POSIX] (_SC_SHELL): Likewise.
27314         [POSIX] (_SC_SIGNALS): Likewise.
27315         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27316         [POSIX] (_SC_SPIN_LOCKS): Likewise.
27317         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27318         [POSIX] (_SC_USER_GROUPS): Likewise.
27319         [POSIX] (_SC_USER_GROUPS_R): Likewise.
27320         [POSIX] (_SC_STREAMS): Likewise.
27321         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27322         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27323         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27324         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27325         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27326         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27327         [POSIX] (_PC_FILESIZEBITS): Likewise.
27328         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27329         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27330         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27331         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27332         [POSIX] (uid_t): Likewise.
27333         [POSIX] (gid_t): Likewise.
27334         [POSIX] (off_t): Likewise.
27335         [POSIX] (pid_t): Likewise.
27336         [POSIX] (cuserid): Allow.
27337         (_SC_2_CHAR_TERM): Require constant.
27338         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27339         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27340         variable.
27342 2015-05-20  Roland McGrath  <roland@hack.frob.com>
27344         * sysdeps/nacl/pthread-pids.h: New file.
27345         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27346         (create_thread): Use __nacl_get_tid to initialize PD->tid.
27348         * nptl/pthread-pids.h: New file.
27349         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27350         * nptl/nptl-init.c: Include <pthread-pids.h>.
27351         (__pthread_initialize_minimal_internal):
27352         Call __pthread_initialize_pids instead of set_tid_address syscall.
27354         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27355         * sysdeps/posix/usleep.c: ... here.
27357 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27359         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27360         call_pselect6 object.
27361         [$(subdir) = io]: Remove call_sync_file_range object.
27362         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27363         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27364         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27365         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27367 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
27369         * math/s_cproj.c: Add include "math_private.h".
27370         * math/s_cprojf.c: Likewise.
27371         * math/s_cprojl.c: Likewise.
27373 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
27375         [BZ #18244]
27376         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27377         high mantissa bit when testing whether P is a NaN.
27378         * math/libm-test.inc (remainder_test_data): Add more tests.
27379         (remquo_test_data): Likewise.
27381         [BZ #18049]
27382         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27383         below -32, return the argument, with underflow if subnormal.
27384         * math/auto-libm-test-in: Add more tests of atanh.
27385         * math/auto-libm-test-out: Regenerated.
27387 2015-05-19  Roland McGrath  <roland@hack.frob.com>
27389         [BZ #18434]
27390         * nptl/tst-sem15.c: New file.
27391         * nptl/Makefile (tests): Add it.
27392         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27393         s/<</>>/ to fix typo in EOVERFLOW check.
27394         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27396 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         * manual/strings.texi (envz_remove): Fix typo in safety
27399         annotations.
27401 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
27402             Steve Ellcey  <sellcey@imgtec.com>
27404         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27405         in order to avoid strict alias warnings.
27406         (iruserok_af): Ditto for ra.
27408 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
27410         [BZ #17581]
27411         * malloc/hooks.c
27412         (magicbyte): Convert to a function and avoid returning 0x01.
27413         (mem2mem_check): Avoid using a length byte equal to the magic byte.
27414         (mem2chunk_check): Fix unsigned comparisons to zero.
27415         Hoist defs of sz and magic.
27417 2015-05-19  Richard Henderson  <rth@redhat.com>
27419         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27421         * sysdeps/alpha/fpu/libm-test-ulps: Update.
27423 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27425         [BZ #16159]
27426         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27427         * malloc/arena.c (arena_lock): Check if arena is corrupt.
27428         (reused_arena): Find a non-corrupt arena.
27429         (heap_trim): Pass arena to unlink.
27430         * malloc/hooks.c (malloc_check_get_size): Pass arena to
27431         malloc_printerr.
27432         (top_check): Likewise.
27433         (free_check): Likewise.
27434         (realloc_check): Likewise.
27435         * malloc/malloc.c (malloc_printerr): Add arena argument.
27436         (unlink): Likewise.
27437         (munmap_chunk): Adjust.
27438         (ARENA_CORRUPTION_BIT): New macro.
27439         (arena_is_corrupt): Likewise.
27440         (set_arena_corrupt): Likewise.
27441         (sysmalloc): Use mmap if there are no usable arenas.
27442         (_int_malloc): Likewise.
27443         (__libc_malloc): Don't fail if arena_get returns NULL.
27444         (_mid_memalign): Likewise.
27445         (__libc_calloc): Likewise.
27446         (__libc_realloc): Adjust for additional argument to
27447         malloc_printerr.
27448         (_int_free): Likewise.
27449         (malloc_consolidate): Likewise.
27450         (_int_realloc): Likewise.
27451         (_int_memalign): Don't touch corrupt arenas.
27452         * malloc/tst-malloc-backtrace.c: New test case.
27454         * Makefile (summarize-tests): Fix return value on success.
27456         * manual/string.texi (Envz Functions): Add envz_remove.
27458 2015-05-18  Roland McGrath  <roland@hack.frob.com>
27460         * sysdeps/posix/opendir.c: Include <stdbool.h>.
27461         (invalid_name): New function, broken out of ...
27462         (__opendirat): ... here.  Call it.
27463         (need_isdir_precheck): New function, broken out of ...
27464         (__opendirat): ... here.  Call it.
27465         Use __fxstatat64, not __xstatat64.
27466         (opendir_oflags): New function, broken out of ...
27467         (__opendirat): ... here.  Call it.
27468         (opendir_tail): New function, broken out of ...
27469         (__opendirat): ... here.  Call it.
27470         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27471         opendir_tail, rather than punting to __opendirat.
27472         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27474 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27476         * .gitignore: Ignore generated *.pyc.
27478 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
27480         * include/stdio.h: Define __need_wint_t.
27481         * test-skeleton.c: Avoid `for' loop initial declaration.
27482         * nptl/tst-initializers1.c: Use test-skeleton.c.
27484 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27486         [BZ #18418]
27487         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27489 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27491         [BZ #16352]
27492         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27493         (__ieee754_atanh): Force underflow exception for results with
27494         small absolute value.
27495         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27496         (__ieee754_atanhf): Force underflow exception for results with
27497         small absolute value.
27498         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27499         (__ieee754_atanh): Force underflow exception for results with
27500         small absolute value.
27501         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27502         (__ieee754_atanhf): Force underflow exception for results with
27503         small absolute value.
27504         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27505         (__ieee754_atanhl): Force underflow exception for results with
27506         small absolute value.
27507         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27508         (__ieee754_atanhl): Force underflow exception for results with
27509         small absolute value.
27510         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27511         (__ieee754_atanhl): Force underflow exception for results with
27512         small absolute value.
27513         * math/auto-libm-test-in: Do not allow missing underflow
27514         exceptions from atanh.
27515         * math/auto-libm-test-out: Regenerated.
27517         [BZ #18221]
27518         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27519         2**-28 as threshold for returning x or +/- 1/x.
27520         * math/auto-libm-test-in: Add more tests of tan.
27521         * math/auto-libm-test-out: Regenerated.
27523         [BZ #18220]
27524         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27525         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27526         * math/auto-libm-test-in: Add another test of lgamma.
27527         * math/auto-libm-test-out: Regenerated.
27529 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
27531         * stdio-common/printf_fp.c (___printf_fp): Use abs.
27532         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
27533         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27534         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27535         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
27536         (ADD2A): Use fabs.  (SUB2A): Use fabs.
27537         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27538         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27539         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27540         (log1): Use fabs.  (my_log2): Use fabs.
27541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27542         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27543         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27544         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27545         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27546         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
27547         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
27548         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
27549         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
27550         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27551         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27553 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
27555         [BZ #18217]
27556         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27557         as threshold for returning 1 - x.
27558         * math/auto-libm-test-in: Add more tests of erfc.
27559         * math/auto-libm-test-out: Regenerated.
27561 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
27563         [BZ #18196]
27564         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27565         threshold for large arguments.
27566         * math/auto-libm-test-in: Add another test of atan.
27567         * math/auto-libm-test-out: Regenerated.
27569         [BZ #16339]
27570         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27571         (__log1p): Force underflow exception for results with small
27572         absolute value.
27573         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27574         (__log1pf): Force underflow exception for results with small
27575         absolute value.
27576         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27577         (__log1p): Force underflow exception for results with small
27578         absolute value.
27579         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27580         (__log1pf): Force underflow exception for results with small
27581         absolute value.
27582         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27583         (__log1pl): Force underflow exception for results with small
27584         absolute value.
27585         * math/auto-libm-test-in: Do not allow missing underflow
27586         exceptions from log1p.
27587         * math/auto-libm-test-out: Regenerated.
27589 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
27590             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
27592         [BZ #16704]
27593         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27595 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
27597         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27598         (libmvec): New variable.
27599         * configure.ac: Added option for mathvec build.
27600         * configure: Regenerated.
27601         * mathvec/Depend: New file.
27602         * mathvec/Makefile: New file.
27603         * shlib-versions: Added libmvec.
27604         * math/Makefile: Added rule for libm.so installation.
27606         * bits/math-vector.h: New file.
27607         * bits/libm-simd-decl-stubs.h: New header.
27608         * math/Makefile (headers): Added new header
27609         libm-simd-decl-stubs.h.
27610         * math/math.h (__MATHCALL_VEC): New macro.
27612         * math/gen-libm-have-vector-test.sh: Script generates series of macros
27613         for conditions in testing functions.
27614         * math/Makefile: Added call of libm-have-vector-test.sh.
27615         * math/libm-test.inc (HAVE_VECTOR): New macros.
27617         * math/libm-test.inc: START refactored.
27618         * math/test-double.c (TEST_MATHVEC): Add define.
27619         * math/test-float.c: Likewise.
27620         * math/test-idouble.c: Likewise.
27621         * math/test-ifloat.c: Likewise.
27622         * math/test-ildoubl.c: Likewise.
27623         * math/test-ldouble.c: Likewise.
27624         * sysdeps/generic/math-tests-arch.h
27625         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27626         architecture check.
27628         * math/test-double.c (FUNC_TEST): New macro.
27629         * math/test-float.c: Likewise.
27630         * math/test-idouble.c: Likewise.
27631         * math/test-ifloat.c: Likewise.
27632         * math/test-ildoubl.c: Likewise.
27633         * math/test-ldouble.c: Likewise.
27634         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27636 2015-05-13  Roland McGrath  <roland@hack.frob.com>
27638         * sysdeps/nacl/fdopendir.c: New file.
27640         * dirent/scandir-tail.c: New file.
27641         * dirent/scandir64-tail.c: New file.
27642         * dirent/Makefile (routines): Add them.
27643         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27644         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27645         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27646         [!SCANDIR] (SCANDIR_TAIL): New macro.
27647         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27648         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27649         (SCANDIRAT): Macro removed.
27650         (SCANDIR_TAIL): New macro.
27651         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27652         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27653         (SCANDIRAT): Just call __opendirat and __scandir_tail.
27654         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27655         (READDIR): Macro removed.
27656         (SCANDIR_TAIL): New macro.
27657         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27658         (SCANDIR_TAIL): New macro.
27660         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27661         * dirent/scandir-cancel.c: ... to this new file.
27662         * dirent/Makefile (routines): Add it.
27663         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27664         * sysdeps/unix/sysv/linux/i386/scandir64.c
27665         (SKIP_SCANDIR_CANCEL): Macro removed.
27666         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27668         * dirent/tst-scandir.c: New file.
27669         * dirent/tst-scandir64.c: New file.
27670         * dirent/Makefile (tests): Add them.
27672 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
27674         [BZ #18409]
27675         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27677 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27679         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27680         list.
27682 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
27684         * benchtests/bench-strcoll.c: New benchmark.
27685         * benchtests/Makefile: Generate locales and run benchmark.
27686         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27687         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27688         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27689         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27690         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27691         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27692         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27693         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27694         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27695         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27696         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27697         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27698         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27699         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27700         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27701         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27702         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27703         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27704         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27705         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27706         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27707         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27708         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27709         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27711 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
27713         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27714         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27716 2015-05-12  Roland McGrath  <roland@hack.frob.com>
27718         * posix/uname-values.h: New file.
27719         * posix/uname.c: Include that instead of <config-name.h>.
27720         * sysdeps/nacl/uname-values.h: New file.
27721         * sysdeps/arm/nacl/uname-values.h: New file.
27723 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
27725         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27726         splitting into fields.
27728 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
27730         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27731         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27732         * locale/localeinfo.h: Add enum collation_encoding_type.
27733         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27734         * programs/ld-collate.c (collate_output): Add encoding type info.
27735         * string/strcoll_l.c (STRDIFF): New function.
27736         * (STRCOLL): Use STRDIFF to skip over equal prefix.
27737         * wcsmbs/wcscoll_l.c: Define STRDIFF.
27739 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
27741         [BZ #18397]
27742         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27743         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
27744         <fpu_control.h> instead of <math/fpu_control.c>.
27745         * sysdeps/mips/mips32/fpu/Makefile: New file.
27747 2015-05-11  Andreas Schwab  <schwab@suse.de>
27749         [BZ #18007]
27750         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27751         nss_endgrent.
27752         (_nss_compat_endgrent): Call nss_endgrent.
27753         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27754         nss_endpwent.
27755         (_nss_compat_endpwent): Call nss_endpwent.
27756         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27757         needent, call nss_setspent only if non-zero.
27758         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27759         (internal_endspent): Don't call nss_endspent.
27760         (_nss_compat_endspent): Call nss_endspent.
27761         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27762         Remove.  All uses removed.
27763         (internal_setent): Remove parameter stayopen, add parameter
27764         stream.  Use it instead of global variable.
27765         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27766         (internal_endent, internal_getent): Add parameter stream.  Use it
27767         instead of global variable.
27768         (CONCAT(_nss_files_end,ENTNAME))
27769         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27770         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
27771         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
27772         uses removed.
27773         (internal_setent, internal_endent): Add parameter stream.  Use it
27774         instead of global variable.
27775         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27776         stream.
27777         (get_next_alias): Add parameter stream.
27778         (_nss_files_getaliasent_r): Pass global stream.
27779         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
27780         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27781         (_nss_files_gethostbyname4_r): Pass local stream to
27782         internal_setent, internal_getent and internal_endent.  Remove
27783         locking.
27785 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27787         * tst-strfmon1.c (tests): Update expected currency symbol.
27789 2015-05-08  Roland McGrath  <roland@hack.frob.com>
27791         * sysdeps/nacl/gethostname.c: New file.
27793 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
27795         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27796         and sinh.
27797         * math/auto-libm-test-out: Regenerated.
27798         * sysdeps/i386/fpu/libm-test-ulps: Update.
27799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27801 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
27803         [BZ #18125]
27804         * stdlib/tst-setcontext3.c: New file.
27805         * stdlib/tst-setcontext3.sh: New file.
27806         * stdlib/Makefile (tests): Add tst-setcontext3.
27807         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27808         to verify test program created output file.
27809         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27810         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27811         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27812         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27814 2015-05-06  Roland McGrath  <roland@hack.frob.com>
27816         [BZ #18383]
27817         * elf/tst-tlsalign.c: New file.
27818         * elf/tst-tlsalign-static.c: New file.
27819         * elf/tst-tlsalign-lib.c: New file.
27820         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27821         (tests-static): Add tst-tlsalign-static.
27822         (modules-names): Add tst-tlsalign-lib.
27823         (test-xfail-tst-tlsalign): New variable.
27824         (test-xfail-tst-tlsalign-static): New variable.
27826         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27827         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27829 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
27831         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27832         csqrt, erfc, sin and sincos.
27833         * math/auto-libm-test-out: Regenerated.
27834         * sysdeps/i386/fpu/libm-test-ulps: Update.
27835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27837 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27839         * sysdeps/aarch64/libm-test-ulps: Update.
27841 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
27843         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27844         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27845         * math/auto-libm-test-out: Regenerated.
27846         * sysdeps/i386/fpu/libm-test-ulps: Update.
27847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27849 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
27851         [BZ #18265]
27852         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27853         (wcsncpy): Likewise.
27855 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27857         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27858         Assume __ASSUME_FALLOCATE is always true.
27859         * sysdeps/unix/sysv/linux/posix_fallocate64.c
27860         (__posix_fallocate64_l64): Likewise.
27861         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27862         (posix_fallocate): Likewise.
27863         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27864         (__posix_fallocate64_l64): Likewise.
27865         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27866         [!__ASSUME_FALLOCATE]: Add comment.
27868 2015-05-05  Florian Weimer  <fweimer@redhat.com>
27870         * sysdeps/unix/sysv/linux/i386/Makefile
27871         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27872         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27873         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27874         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27875         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27876         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27877         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27879 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
27881         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27882         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27883         tgamma.
27884         * math/auto-libm-test-out: Regenerated.
27885         * sysdeps/i386/fpu/libm-test-ulps: Update.
27886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27888 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27890         * math/auto-libm-test-in: Add more tests of tgamma.
27891         * math/auto-libm-test-out: Regenerated.
27892         * sysdeps/i386/fpu/libm-test-ulps: Update.
27893         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27895         * math/auto-libm-test-in: Add more tests of tanh.
27896         * math/auto-libm-test-out: Regenerated.
27897         * sysdeps/i386/fpu/libm-test-ulps: Update.
27898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27900         * math/auto-libm-test-in: Add more tests of tan.
27901         * math/auto-libm-test-out: Regenerated.
27902         * sysdeps/i386/fpu/libm-test-ulps: Update.
27903         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27905         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27906         * math/auto-libm-test-out: Regenerated.
27907         * sysdeps/i386/fpu/libm-test-ulps: Update.
27908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27910         * math/auto-libm-test-in: Add another test of pow.
27911         * math/auto-libm-test-out: Regenerated.
27912         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27914         * math/auto-libm-test-in: Add more tests of lgamma.
27915         * math/auto-libm-test-out: Regenerated.
27916         * sysdeps/i386/fpu/libm-test-ulps: Update.
27917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27919         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27920         log1p.
27921         * math/auto-libm-test-out: Regenerated.
27922         * sysdeps/i386/fpu/libm-test-ulps: Update.
27923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27925 2015-05-01  Mark Wielaard  <mjw@redhat.com>
27927         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27928         Elf64_Chdr structs and ELFCOMPRESS constants.
27930 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
27932         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27933         expm1.
27934         * math/auto-libm-test-out: Regenerated.
27935         * sysdeps/i386/fpu/libm-test-ulps: Update.
27936         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27938         * math/auto-libm-test-in: Add more tests of erf and erfc.
27939         * math/auto-libm-test-out: Regenerated.
27940         * sysdeps/i386/fpu/libm-test-ulps: Update.
27941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27943 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27945         * config.h.in (HAVE_AARCH64_BE): Add.
27947 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
27949         * math/auto-libm-test-in: Add more tests of csqrt.
27950         * math/auto-libm-test-out: Regenerated.
27951         * sysdeps/i386/fpu/libm-test-ulps: Update.
27952         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27954         * math/auto-libm-test-in: Add more tests of cosh and sinh.
27955         * math/auto-libm-test-out: Regenerated.
27956         * sysdeps/i386/fpu/libm-test-ulps: Update.
27957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27959         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27961 2015-04-29  Roland McGrath  <roland@hack.frob.com>
27963         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27964         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27966         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27967         (euidaccess, eaccess): Define as weak aliases.
27969         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27970         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
27971         but __suseconds_t is often 'long int' so some sources assume that
27972         type is being used (e.g. they use %ld to print tv_usec).
27974 2015-04-29  Florian Weimer  <fweimer@redhat.com>
27976         [BZ #18007]
27977         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27978         (CVE-2014-8121)
27979         * nss/tst-nss-getpwent.c: New file.
27980         * nss/Makefile (tests): Add new test.
27982 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
27984         [BZ #18346]
27985         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27986         exponents less than 48 as cases where high part of mantissa needs
27987         examining to determine whether argument is integral.
27988         * math/libm-test.inc (round_test_data): Add more tests.
27990 2015-04-28  Mark Wielaard  <mjw@redhat.com>
27992         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27994 2015-04-27  David S. Miller  <davem@davemloft.net>
27996         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27997         __tls_get_addr.
27998         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
28000 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
28002         [BZ#18333]
28003         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
28005 2015-04-27  Florian Weimer  <fweimer@redhat.com>
28007         [BZ#18333]
28008         * time/tzset.c (parse_tzname): Return error on memory allocation
28009         failure.
28010         * test-skeleton.c (struct temp_name_list): Change type of name
28011         member to non-const.
28012         (add_temp_file): Create a copy of the file name.
28013         (delete_temp_files): Deallocate memory.
28014         (create_temp_file): Add comment.
28016 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28018         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
28019         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
28021 2015-04-24  Roland McGrath  <roland@hack.frob.com>
28023         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
28024         * sysdeps/arm/configure: Regenerated.
28026 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28028         [BZ #17715]
28029         * time/tzfile.c (__tzfile_read): Check for large values of
28030         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
28031         * time/tzset.c (__tzstring_len): New function, based on the old
28032         __tzstring function.
28033         (__tzstring): Call __tzstring_len.
28034         (parse_tzname): New helper function extracted from
28035         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
28036         the input string.
28037         (parse_offset): New helper function extracted from
28038         __tzset_parse_tz.  Replace switch with fallthrough with
28039         initialization before sscanf.
28040         (parse_rule): Likewise.
28041         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
28042         new-style function definition.
28043         * timezone/Makefile (tests): Add tst-tzset.
28044         (tst-tzset.out): Dependencies on time zone files.
28045         (tst-tzset-ENV): Set TZDIR.
28046         (testdata/XT%): Copy crafted time zone files.
28047         * timezone/README: Mention crafted time zone files.
28048         * timezone/testdata/XT1, timezone/testdata/XT2,
28049         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
28050         files.
28051         * timezone/tst-tzset.c: New test.
28053 2015-04-24  Florian Weimer  <fweimer@redhat.com>
28055         * Makeconfig (+gccwarn): Remove -Winline.
28057 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28059         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
28061 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
28063         * NEWS: Mention sysconf() cache information support for s390.
28064         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
28066 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
28068         * math/k_casinh.c (__kernel_casinh): Use __copysign.
28069         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
28070         (__nearbyint): Likewise.
28071         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
28072         (copysignl): Likewise.
28074 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
28076         [BZ #18287]
28077         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28078         based on padding.  (CVE-2015-1781)
28080 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28082         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28083         libc-vdso.h.
28084         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28085         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28086         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28087         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28088         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28089         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28090         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28091         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28092         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28093         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28094         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28095         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28096         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28097         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28098         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28099         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28100         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28101         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28102         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28103         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28104         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28105         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28106         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28108 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
28110         * stdlib/setenv.c (__add_to_environ):
28111         Dump core quickly if setenv (..., NULL, ...) is called.
28112         This time, do it the right way, and pacify GCC with a pragma.
28114 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28116         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28117         IMAP->l_prev cannot be null, and #if out the code for the contrary
28118         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28119         believe that NS (&_dl_ns[NSID]) could point outside the array.
28121         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28122         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28123         before using NSID as an index.
28125 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
28127         [BZ #17825]
28128         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28129         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28130         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28132 2015-04-17  Roland McGrath  <roland@hack.frob.com>
28134         Add preliminary port to Google Native Client on ARM.
28135         * abi-tags (.*-.*-nacl.*): New entry.
28136         * sysdeps/arm/nacl: New directory.
28137         * sysdeps/nacl: New directory.
28139 2015-04-16  David S. Miller  <davem@davemloft.net>
28141         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
28142         lowlevellock-futex.h
28144 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
28146         * sysdeps/tile/configure.ac: New file.
28147         * sysdeps/tile/configure: Regenerated.
28149 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28151         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
28152         conditionals for weak_alias and libc_hidden_weak.
28153         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
28154         libc_hidden_weak and weak_alias.
28155         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
28156         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
28157         and weak_alias for static one.
28159 2015-04-15  David S. Miller  <davem@davemloft.net>
28161         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28163 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28165         [BZ #18206]
28166         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
28167           Use signed comparision instead of substraction to avoid
28168           overflow bug.
28169         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
28170           Take the sign of ret.
28171         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
28172           Do not expect precise return values. Only the sign matters.
28173         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
28174         * wcsmbs/test-wcsncmp.c: New File.
28175         * string/test-strncmp.c: Add wcsncmp support.
28177 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
28179         [BZ #6792]
28180         * math/w_log1p.c: New file.
28181         * math/w_log1pf.c: Likewise.
28182         * math/w_log1pl.c: Likewise.
28183         * math/Makefile (libm-calls): Add w_log1p.
28184         * math/s_log1pl.c (log1pl): Remove weak_alias.
28185         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
28186         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
28187         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
28188         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
28189         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
28190         [NO_LONG_DOUBLE] (log1pl): Likewise.
28191         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
28192         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
28193         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
28194         (log1p): Remove long_double_symbol.
28195         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
28196         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
28197         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
28198         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
28199         remove weak_alias for corresponding log1p function.
28200         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
28201         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
28202         * sysdeps/ia64/fpu/w_log1p.c: New file.
28203         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
28204         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
28205         * math/libm-test.inc (log1p_test_data): Add errno expectations.
28207 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
28209         [BZ #18247]
28210         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
28211         decimal exponent by 1.
28212         * stdlib/tst-strtod-round-data: Add more tests.
28213         * stdlib/tst-strtod-round.c (tests): Regenerated.
28215 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
28217         * math/auto-libm-test-in: Add more tests of clog and clog10.
28218         * math/auto-libm-test-out: Regenerated.
28219         * sysdeps/i386/fpu/libm-test-ulps: Update.
28220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28222 2015-04-09  Roland McGrath  <roland@hack.frob.com>
28224         * Makeconfig (module-cppflags): Exclude all .v.i files.
28225         (skip-module-cppflags): Variable removed.
28227         * configure.ac (libc_config_ok): Initialize before reading
28228         preconfigure scripts, not after.
28229         * configure: Regenerated.
28231         * test-skeleton.c (TIMEOUT): Move #define to top level.
28232         (main): Grok environment variable TEST_DIRECT.  If set, print
28233         test expectation details into that file and then behave as if
28234         given --direct.
28236 2015-04-09  Florian Weimer  <fweimer@redhat.com>
28238         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
28239         warning on 32-bit.
28241 2015-04-08  David S. Miller  <davem@davemloft.net>
28243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28245 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
28247         * math/auto-libm-test-in: Add more tests of atanh.
28248         * math/auto-libm-test-out: Regenerated.
28249         * sysdeps/i386/fpu/libm-test-ulps: Update.
28250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28252         * math/auto-libm-test-in: Add more tests of atan.
28253         * math/auto-libm-test-out: Regenerated.
28254         * sysdeps/i386/fpu/libm-test-ulps: Update.
28255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28257 2015-04-08  Florian Weimer  <fweimer@redhat.com>
28259         * elf/pldd.c (main): Rewrite to use struct
28260         scratch_buffer instead of extend_alloca.
28261         * elf/pldd-xx.c (find_maps): Likewise.
28262         * grp/initgroups.c: Include <scratch_buffer.h> instead of
28263         <alloca.h>.
28264         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
28265         scratch_buffer instead of extend_alloca.
28266         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
28267         grp/compat-initgroups.c.
28268         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
28269         Rewrite to use struct scratch_buffer instead of extend_alloca.
28270         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
28271         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28273 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
28275         * math/auto-libm-test-in: Add more tests of cbrt.
28276         * math/auto-libm-test-out: Regenerated.
28277         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28279         * math/auto-libm-test-in: Add more tests of cabs.
28280         * math/auto-libm-test-out: Regenerated.
28281         * sysdeps/i386/fpu/libm-test-ulps: Update.
28282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28284         [BZ #18210]
28285         [BZ #18211]
28286         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
28287         (__ieee754_atan2): Set FE_TONEAREST mode for internal
28288         computations.
28289         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
28290         clog10.
28291         * math/auto-libm-test-out: Regenerated.
28292         * sysdeps/i386/fpu/libm-test-ulps: Update.
28293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28295         [BZ #18197]
28296         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
28297         (atan): Set FE_TONEAREST mode for internal computations.
28298         * math/auto-libm-test-in: Add more tests of atan.
28299         * math/auto-libm-test-out: Regenerated.
28301 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
28303         [BZ #17930]
28304         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
28306 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28308         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28310 2015-04-07  Florian Weimer  <fweimer@redhat.com>
28312         * include/scratch_buffer.h: New file.
28313         * malloc/scratch_buffer_grow.c: Likewise.
28314         * malloc/scratch_buffer_grow_preserve.c: Likewise.
28315         * malloc/scratch_buffer_set_array_size.c: Likewise.
28316         * malloc/tst-scratch_buffer.c: Likewise.
28317         * malloc/Makefile (routines): Add scratch_buffer_grow.
28318         (tests): Add test case.
28319         * malloc/Versions (GLIBC_PRIVATE): Export
28320         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28321         __libc_scratch_buffer_set_array_size.
28323 2015-04-06  Richard Henderson  <rth@redhat.com>
28325         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28326         * sysdeps/alpha/fpu/libm-test-ulps: Update.
28328         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28329         unsigned int before printing.
28331 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
28333         [BZ #17596]
28334         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28335         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28337 2015-04-02  Florian Weimer  <fweimer@redhat.com>
28339         * include/libc-internal.h (libc_max_align_t): Define.
28341 2015-04-02  Andreas Schwab  <schwab@suse.de>
28343         [BZ #16850]
28344         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28346 2015-04-02  Mel Gorman  <mgorman@suse.de>
28348         [BZ #17195]
28349         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28350         as well as the main arena.
28352 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28354         [BZ #18185]
28355         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28356         sharing L2 cache to 2 for Silvermont/Knights Landing.
28358 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28360         [BZ #17711]
28361         * config.make.in (have-protected-data): New.
28362         * configure.ac: Check linker support for protected data symbol.
28363         * configure: Regenerated.
28364         * elf/Makefile (modules-names): Add tst-protected1moda and
28365         tst-protected1modb if $(have-protected-data) is yes.
28366         (tests): Add tst-protected1a and tst-protected1b if
28367         $(have-protected-data) is yes.
28368         ($(objpfx)tst-protected1a): New.
28369         ($(objpfx)tst-protected1b): Likewise.
28370         (tst-protected1modb.so-no-z-defs): Likewise.
28371         * elf/tst-protected1a.c: New file.
28372         * elf/tst-protected1b.c: Likewise.
28373         * elf/tst-protected1mod.h: Likewise.
28374         * elf/tst-protected1moda.c: Likewise.
28375         * elf/tst-protected1modb.c: Likewise.
28377 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
28379         [BZ #17711]
28380         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28381         indicates it is called from do_lookup_x on relocation against
28382         protected data, skip the data definion in the executable from
28383         copy reloc.
28384         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28385         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28386         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28387         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28388         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28389         otherwise to 0.
28390         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28391         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28392         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28393         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28394         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28395         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28397 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
28399         * sysdeps/nptl/pthread.h: Remove duplicate definition of
28400         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28402 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
28404         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28405         THREAD_SETMEM_NC.
28406         * sysdeps/x86_64/nptl/tls.h: Ditto.
28408 2015-03-27  Roland McGrath  <roland@hack.frob.com>
28410         * dlfcn/tststatic.c (main): Converted to ...
28411         (do_test): ... this.
28412         (TEST_FUNCTION): New macro.
28413         Include test-skeleton.c.
28415 2015-03-26  Alan Modra  <amodra@gmail.com>
28417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28418         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
28419         zero for undefined weak.
28420         (elf_machine_plt_conflict): Similarly.
28422 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28424         * math/auto-libm-test-in: Add more tests of acosh, asinh and
28425         atanh.
28426         * math/auto-libm-test-out: Regenerated.
28427         * sysdeps/i386/fpu/libm-test-ulps: Update.
28428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28430         * math/auto-libm-test-in: Add another test of asin.
28431         * math/auto-libm-test-out: Regenerated.
28432         * sysdeps/i386/fpu/libm-test-ulps: Update.
28433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28435         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28436         Remove macro.
28437         (LLL_EBX_REG): Likewise.
28438         (LLL_ENTER_KERNEL): Likewise.
28440         * math/auto-libm-test-in: Add more tests of asin.
28441         * math/auto-libm-test-out: Regenerated.
28442         * sysdeps/i386/fpu/libm-test-ulps: Update.
28443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28445         [BZ #18138]
28446         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28447         libc_do_syscall_args): New structure.
28448         (INTERNAL_SYSCALL_MAIN_0): New macro.
28449         (INTERNAL_SYSCALL_MAIN_1): Likewise.
28450         (INTERNAL_SYSCALL_MAIN_2): Likewise.
28451         (INTERNAL_SYSCALL_MAIN_3): Likewise.
28452         (INTERNAL_SYSCALL_MAIN_4): Likewise.
28453         (INTERNAL_SYSCALL_MAIN_5): Likewise.
28454         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
28455         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28456         Replace conditional definitions by conditional definitions of ....
28457         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
28458         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28459         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28460         (libpthread-sysdep_routines): Add libc-do-syscall.
28461         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28462         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28463         to __NR_futex not 240.
28465 2015-03-25  Alan Modra  <amodra@gmail.com>
28467         * NEWS: Advertise TLS optimization.
28468         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28469         (DT_PPC_NUM): Increment.
28470         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28471         (CHECK_STATIC_TLS): Use here.
28472         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28473         TLS descriptors.
28474         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28475         * sysdeps/powerpc/dl-tls.c: New file.
28476         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28477         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28478         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28479         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28484 2015-03-25  Alan Modra  <amodra@gmail.com>
28486         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28487         for overlapping .opd entries" to "support...".
28488         * sysdeps/powerpc/powerpc64/configure: Regenerate
28490 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
28492         * math/auto-libm-test-in: Add more tests of acos.
28493         * math/auto-libm-test-out: Regenerated.
28494         * sysdeps/i386/fpu/libm-test-ulps: Update.
28495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28497         * math/auto-libm-test-in: Add more tests of expm1.
28498         * math/auto-libm-test-out: Regenerated.
28499         * sysdeps/i386/fpu/libm-test-ulps: Update.
28500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28502 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
28504         * math/auto-libm-test-in: Add more tests of cosh and sinh.
28505         * math/auto-libm-test-out: Regenerated.
28506         * sysdeps/i386/fpu/libm-test-ulps: Update.
28507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28509         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28512         * math/auto-libm-test-in: Add more tests of log2.
28513         * math/auto-libm-test-out: Regenerated.
28514         * sysdeps/i386/fpu/libm-test-ulps: Update.
28515         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28517 2015-03-23  Roland McGrath  <roland@hack.frob.com>
28519         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28520         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
28521         _IO_IS_APPENDING bit in READ_WRITE instead.
28523 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28525         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28526         (__determine_cpumask_size): Replace extend_alloca with a
28527         variable-length array.  Do not treat res == 0 as an error.
28529 2015-03-23  Florian Weimer  <fweimer@redhat.com>
28531         [BZ #18100]
28532         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28533         and integer overflow.
28534         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28535         (main): Add integer overflow tests.
28536         * manual/pattern.texi (Calling Wordexp): Document additional use
28537         for WRDE_SYNTAX.
28539 2015-03-23  Alan Modra  <amodra@gmail.com>
28541         * config.h.in: Remove HAVE_ASM_PPC_REL16.
28542         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28543         and false branch of conditional.
28544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28545         Likewise.
28547 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
28549         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28550         libc-modules.h
28551         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28552         unused declaration of _hurd_intr_rpc_msg_in_trap.
28553         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28554         defined instead of whether it is non-zero.
28555         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28556         input constraint instead of both input and output constraint.  Use ecx
28557         clobber instead of %ecx.
28558         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28559         mutex_unlock): Use a statement expression instead of an expression list.
28560         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28561         type to vm_size_t instead of vm_address_t.
28562         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28563         defined instead of whether it is non-zero.
28564         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28565         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28566         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28567         comparisons with mapaddr.
28568         * nscd/nscd-client.h: Include <time.h>.
28569         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28570         9th parameter to __vm_region instead of int.
28571         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28572         * scripts/check-local-headers.sh (exclude): Add device/,
28573         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28574         cthreads.h.
28576 2015-03-19  Roland McGrath  <roland@hack.frob.com>
28578         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28579         to account for alignment padding.
28580         * sysdeps/arm/memmove.S: Likewise.
28582 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
28584         * sysdeps/unix/sysv/linux/generic/README: New file.
28586 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
28588         [BZ #18138]
28589         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28590         (futex_abstimed_wait)
28591         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28592         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28593         of lll_futex_timed_wait.
28595 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
28597         [BZ #17542]
28598         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28600 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
28602         [BZ #17090]
28603         [BZ #17620]
28604         [BZ #17621]
28605         [BZ #17628]
28606         * NEWS: Update.
28607         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28608         entries with Static TLS too.  Skip entries past the end of the
28609         allocated DTV, from Alan Modra.
28610         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
28611         Static TLS DTV entry set up from...
28612         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28613         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28614         * nptl/allocatestack.c (init_one_static_tls): ... and here...
28615         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28616         for Static TLS.
28617         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
28618         that the slot we find is associated with the given map before
28619         using its generation count.
28620         * nptl_db/db_info.c: Include ldsodefs.h.
28621         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28622         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28623         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28624         (link_map::l_tls_offset): New struct field.
28625         (dtv_t::counter): Likewise.
28626         (rtld_global): New struct.
28627         (_rtld_global): New rtld variable.
28628         (dl_tls_dtv_slotinfo_list): New rtld global field.
28629         (dtv_slotinfo_list): New struct.
28630         (dtv_slotinfo): Likewise.
28631         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28632         (td_lookup): Rename to...
28633         (td_mod_lookup): ... this.  Use new mod parameter instead of
28634         LIBPTHREAD_SO.
28635         * nptl_db/td_thr_tlsbase.c: Include link.h.
28636         (dtv_slotinfo_list, dtv_slotinfo): New functions.
28637         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
28638         addresses even if the DTV is out of date or missing them.
28639         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28640         index zero-length arrays.
28641         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28642         (td_lookup): Make it a macro implemented in terms of...
28643         (td_mod_lookup): ... this declaration.
28644         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28645         (DB_MAIN_VARIABLE): Likewise.
28647 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
28649         [BZ #18134]
28650         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28652 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
28654         * stdlib/setenv.c (__add_to_environ): Revert previous change.
28656 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
28658         [BZ #18128]
28659         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28660         (atomic_add, atomic_increment_and_test)
28661         (atomic_decrement_and_test): Fix 64-bit arithmetic.
28663 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
28665         * stdlib/setenv.c (__add_to_environ):
28666         Dump core quickly if setenv (..., NULL, ...) is called.
28668 2015-03-13  Roland McGrath  <roland@hack.frob.com>
28670         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28671         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28672         all the necessary asm magic in one place.
28673         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28674         using those.
28676 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
28678         [BZ #14906]
28679         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28680         traced file mtime. Use consistent log message.
28681         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28682         (register_traced_file): Call install_watches. Always set mtime.
28683         (invalidate_cache): Iterate over all trace files. Call install_watches.
28684         (inotify_check_files): Don't inline. Handle watching parent
28685         directories and configuration file movement in and out.
28686         (handle_inotify_events): New function.
28687         (main_loop_poll): Call handle_inotify_events.
28688         (main_loop_epoll): Likewise.
28689         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28690         (struct traced_file): Use array of inotify fds. Add parent directory,
28691         and basename.
28692         (struct database_dyn): Remove unused file_mtime.
28693         (init_traced_file): New inline function.
28694         (define_traced_file): New macro.
28695         * nss/nss_db/db-init.c: Use define_traced_file.
28696         (_nss_db_init): Use init_traced_file.
28697         * nss/nss_files/files-init.c: Use define_traced_file.
28698         (_nss_files_init): Use init_traced_file.
28700 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
28702         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28703         [_LIBC]: Do not include <stdlib.h>.
28704         [!_LIBC] (abort): Remove declaration.
28705         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28706         _FP_STATIC_ASSERT instead of conditionally calling abort.
28707         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28708         (_FP_EXTEND_CNAN): Likewise.
28709         (FP_TRUNC): Likewise.
28710         (__FP_CLZ): Likewise.
28711         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28713 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
28715         * manual/string.texi (XPG basename): Fix prototype.
28717 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28719         [BZ #18080]
28720         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28721         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28722         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28723         (__setcontext): Likewise.
28724         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28725         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28726         Call rt_sigprocmask syscall one time to set new signal mask
28727         and retrieve the current signal mask instead of two calls.
28728         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28729         (__swapcontext): Likewise.
28730         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28731         * stdlib/tst-setcontext2.c: New file.
28733 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
28735         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28737 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
28739         [BZ #18093]
28740         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28741         the wrong size.
28743 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
28745         [BZ #18043]
28746         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28748 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
28750         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28751         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28752         Remove define.
28753         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28754         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28755         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28756         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28757         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28758         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28759         define.
28760         * nptl_db/td_symbol_list.c (td_lookup): Remove
28761         HAVE_ASM_GLOBAL_DOT_NAME code.
28762         * sysdeps/powerpc/powerpc64/configure.ac: Remove
28763         HAVE_ASM_GLOBAL_DOT_NAME check.
28764         * sysdeps/powerpc/powerpc64/configure: Regenerate.
28765         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28766         (DOT_LABEL): Remove define.
28767         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28768         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28769         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28770         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28771         (__TLS_GET_ADDR): Likewise.
28772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28773         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28775 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
28777         [BZ #18111]
28778         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28779         (_FPU_SETCW): Initialize cw from fpsr before storing.
28780         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28781         (fesetexceptflag): Rewrite using fpu_control.h.
28782         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28784 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
28786         [BZ #18110]
28787         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28788         asms.
28789         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28791 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
28793         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28794         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28795         abort.
28796         (_FP_FMA): Likewise.
28797         (_FP_DIV): Likewise.
28799 2015-03-10  Roland McGrath  <roland@hack.frob.com>
28801         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28802         with 0 in that case.
28803         * Makefile (summarize-tests): New canned sequence, factored out of
28804         commands for targets tests and xtests.  Display summary lines that
28805         don't start with PASS: or XFAIL: rather than ones that do start with
28806         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
28807         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28808         do start with ERROR: or FAIL:.
28809         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28810         (except for [$(build-shared) = yes]).
28811         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28812         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28813         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28814         * nptl/Makefile: Revert 2015-03-04 changes.
28815         [$(CXX) empty] (tests-unsupported): New variable.
28816         * debug/Makefile: Likewise.
28818         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28819         gnulib file.  Replace __attribute with __attribute__ throughout.
28821 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
28823         * sysdeps/hppa/fpu/libm-test-ulps: Update.
28825 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28827         [BZ #18104]
28828         * math/auto-libm-test-in: Add another test of pow.
28829         * math/auto-libm-test-out: Regenerated.
28831 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28833         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28834         $(config-cflags-nofma).
28836 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
28838         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28839         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28840         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28841         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28842         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28843         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28844         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28845         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28846         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28847         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28848         Add comment on closing #endif.
28850 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28852         * posix/wordexp.c (CHAR_IN_SET): New macro.
28853         (parse_param): Use it.
28855 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28857         * sysdeps/powerpc/fpu/libm-test-ulps: update.
28859 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28861         [BZ #18043]
28862         * posix/wordexp.c (parse_param): Fix buffer overflow.
28863         * posix/wordexp-test.c (test_case): Add test case.
28865 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28867         [BZ #18042]
28868         * posix/wordexp.c (parse_backtick): Fix off-by-one.
28869         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28871 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
28873         [BZ #18043]
28874         * posix/wordexp-test.c (test_case): Add test for BZ #18043
28875         (do_bz18043): Delete.
28876         (at_page_end): New.
28877         (testit): Refactor to have words at the edge of unreadable page.
28879 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
28881         [BZ #16734]
28882         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28883         Cleanup read-only streams as well.
28884         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28886 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28888         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28889         <bits/libc-lockP.h>
28891 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
28893         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
28894         on [__KERNEL__].
28895         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28896         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28897         * soft-fp/op-common.h (_FP_DECL): Likewise.
28899 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
28901         * elf/ifuncdep2.c (global): Replace
28902         __attribute__((visibility("protected"))) with
28903         asm (".protected global").
28904         * elf/ifuncmod1.c (global): Likewise.
28905         * elf/ifuncmod5.c (global): Likewise.
28907 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
28909         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28910         <asm/sfp-machine.h> instead of <sfp-machine.h>.
28912 2015-03-06  Roland McGrath  <roland@hack.frob.com>
28914         * manual/install.texi (Configuring and compiling):
28915         Document test-wrapper-env-only.
28916         * INSTALL: Regenerated.
28918 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28920         [BZ #18043]
28921         * posix/wordexp.c (parse_param): Fix buffer overflow.
28922         * posix/wordexp-test.c (do_bz18043): Add test case.
28924 2015-03-06  Vincent Bernat  <vincent@bernat.im>
28926         * time/tst-strptime2.c (do_test): Ensure failing tests are
28927         reported correctly.
28928         * time/tst-strptime3.c (do_test): Likewise.
28930 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
28932         Fix aio_error thread-safety.
28933         * sysdeps/pthread/aio_error.c: New file
28934         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28935         synchronization.
28937 2015-03-06  Florian Weimer  <fweimer@redhat.com>
28939         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28940         (group_number, vfprintf): Use it.
28941         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28942         (JUMP, REF): Use it.
28943         (WORK_BUFFER_SIZE): New enum constant.
28944         (process_arg, vfprintf): Use it.
28946 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
28948         * manual/errno.texi (Error Messages): Complete example function
28949         by adding missing #define.
28950         (program_invocation_name): Add statement indicating GNU
28951         extension and reference which header file declares the variable.
28952         (program_invocation_short_name): Likewise.
28954 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
28956         * manual/errno.texi (Error Messages): Delete strerror ISO C89
28957         compatibility note.
28959 2015-03-05  Roland McGrath  <roland@hack.frob.com>
28961         * Makeconfig (test-wrapper-env-only): New variable.
28962         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28963         then use that with $(test-wrapper-env-only) rather than using
28964         $(test-wrapper-env) $(run-program-env) $($*-ENV).
28966 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
28968         [BZ #18082]
28969         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28970         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28971         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28972         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28973         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28974         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28975         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28976         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28977         Likewise.
28978         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28979         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28980         Likewise.
28981         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28982         Likewise.
28983         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28984         Likewise.
28985         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28986         Likewise.
28987         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28988         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28989         Likewise.
28990         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28991         Likewise.
28992         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28993         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28995 2015-03-04  Roland McGrath  <roland@hack.frob.com>
28997         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28998         (ETH_ALEN): New macro.
28999         (struct ether_addr): Use it for length of ether_addr_octet.
29001         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
29002         (setdb): Don't call __nss_configure_lookup for "rpc".
29003         (do_test): Don't call test_rpc.
29004         (output_rpcent, test_rpc): Functions moved ...
29005         * sunrpc/test-rpcent.c: ... to this new file.
29006         * sunrpc/Makefile (tests): Add it.
29008         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
29009         __xpg_sigpause.
29010         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
29011         * nptl/tst-signal6.c: Likewise.
29012         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
29013         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
29015         * configure.ac (libc_cv_cxx_link_ok): New check.
29016         Reset CXX to empty if it fails to link.
29017         * configure: Regenerated.
29018         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
29019         bug-atexit3-lib only if $(CXX) is nonempty.
29020         * nptl/Makefile (tests): Likewise for tst-cancel24.
29021         (tests, tests-static): Likewise for tst-cancel24-static.
29022         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
29023         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
29024         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
29025         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
29027 2015-03-04  Andreas Schwab  <schwab@suse.de>
29029         [BZ #17631]
29030         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
29031         for non-GCC compilers.
29032         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
29033         Likewise.
29035 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29037         [BZ #17776]
29038         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
29039         integer before bitwise and assembly operations.
29040         (feclearexcept): Likewise.
29041         * math/test-fenvinline.c: New file.
29042         * math/Makefile: Add test-fenvinline test.
29044 2015-03-03  Alan Modra  <amodra@gmail.com>
29046         [BZ #16512]
29047         * scripts/localplt.awk: Strip off symbol version.
29048         * NEWS: Mention bug fix.
29050 2015-03-02  Roland McGrath  <roland@hack.frob.com>
29052         * sysdeps/pthread/timer_routines.c
29053         (timer_free_list, thread_free_list, thread_active_list): Make static.
29055 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
29057         [BZ #17779]
29058         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29059         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29060         Undefine.
29061         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29062         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29063         Likewise.
29064         * sysdeps/unix/sysv/linux/sh/kernel-features.h
29065         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
29066         Likewise.
29068 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
29070         [BZ #18036]
29071         * posix/fnmatch_loop.c (END): Detect invalid pattern.
29072         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
29074 2015-03-02  Andreas Schwab  <schwab@suse.de>
29076         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29077         variable name.
29079 2015-03-02  Florian Weimer  <fweimer@redhat.com>
29081         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29082         Return error status.
29084 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
29086         [BZ #15969]
29087         * locale/findlocale.c (_nl_find_locale): Introduce const
29088         version of loc_name and drop unsafe type casts.
29090 2015-02-27  Roland McGrath  <roland@hack.frob.com>
29092         * dlfcn/tststatic2.c (main): Converted to ...
29093         (do_test): ... this.
29094         (TEST_FUNCTION): New macro.
29095         Include test-skeleton.c.
29097 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
29099         [BZ #17711]
29100         * elf/Makefile (tests): Add vismain only if PIE is enabled.
29101         (tests-pie): Add vismain.
29102         (CFLAGS-vismain.c): New.
29103         * elf/vismain.c: Add comments for PIE requirement.
29105 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29107         [BZ #18046]
29108         [BZ #18047]
29109         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29110         0x1p-56L as threshold for just returning the argument.
29111         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29112         0x1p-32L as threshold for just returning the argument.
29113         * math/auto-libm-test-in: Add more tests of atanh.
29114         * math/auto-libm-test-out: Regenerated.
29115         * sysdeps/i386/fpu/libm-test-ulps: Update.
29116         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29118 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29120         * string/bcopy.c (bcopy): Call memmove for performance.
29122 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
29124         * string/bzero.c (__bzero): Call memset for performance.
29126 2015-02-27  John David Anglin  <dave.anglin@bell.net>
29128         [BZ #18068]
29129         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29130         to 00100000.
29132 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
29134         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29136 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
29138         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
29139         (__kernel_standard): Use CSTR macro when setting exc.name.
29140         * sysdeps/ieee754/Makefile [$(subdir) = math]
29141         (CFLAGS-k_standard.c): Remove variable.
29143         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
29144         setting p and q from "else if" to "else".
29145         (qzero): Likewise.
29146         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
29147         (qone): Likewise.
29148         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
29149         (qzerof): Likewise.
29150         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29151         (qonef): Likewise.
29152         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
29153         (qzero): Likewise.
29154         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29155         (qone): Likewise.
29157         [BZ #18038]
29158         [BZ #18039]
29159         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
29160         return pi/2 for arguments below 0x1p-113L.
29161         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
29162         return pi/2 for arguments below 0x1p-106L.
29163         * math/auto-libm-test-in: Add more tests of acos.
29164         * math/auto-libm-test-out: Regenerated.
29166         [BZ #16351]
29167         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
29168         (MO): New macro.
29169         (__ieee754_asin): Force underflow exception for results with small
29170         absolute value.
29171         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
29172         (MO): New macro.
29173         (__ieee754_asinf): Force underflow exception for results with
29174         small absolute value.
29175         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
29176         (__ieee754_asin): Force underflow exception for results with small
29177         absolute value.
29178         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
29179         (__ieee754_asinf): Force underflow exception for results with
29180         small absolute value.
29181         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
29182         (__ieee754_asinl): Force underflow exception for results with
29183         small absolute value.
29184         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
29185         (__ieee754_asinl): Force underflow exception for results with
29186         small absolute value.
29187         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
29188         (__ieee754_asinl): Force underflow exception for results with
29189         small absolute value.
29190         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29191         Include <math.h>.
29192         * math/auto-libm-test-in: Do not mark underflow exceptions as
29193         possibly missing for bug 16351.
29194         * math/auto-libm-test-out: Regenerated.
29196         [BZ #18030]
29197         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
29198         of power of 2 down when low part has opposite sign.
29199         * math/libm-test.inc (logb_test_data): Add more tests.
29201 2015-02-26  Andreas Schwab  <schwab@suse.de>
29203         [BZ #18032]
29204         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
29205         over collating symbol inside a bracket expression.  Minor cleanup.
29206         * posix/tst-fnmatch3.c (do_test): Add test case.
29208 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
29210         [BZ #18029]
29211         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
29212         Adjust exponent of power of 2 down when low part has opposite
29213         sign.
29214         * math/libm-test.inc (ilogb_test_data): Add more tests.
29216 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
29218         [BZ #15969]
29219         * locale/findlocale.c (_nl_find_locale): Fix constness error in
29220         the previous change.
29222         [BZ #15969]
29223         * locale/findlocale.c (_nl_find_locale): Retry archive search
29224         after alias expansion.
29226 2015-02-25  Roland McGrath  <roland@hack.frob.com>
29228         * iconv/tst-iconv3.c (main): Converted to ...
29229         (do_test): ... this.
29230         (TEST_FUNCTION): New macro.
29231         Include test-skeleton.c.
29233         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
29234         (convert): Make function static.
29235         (test_unalign): Likewise.  Add const to argument pointee types.
29236         (main): Replace with static function do_test.
29237         Print "Succeeded." only if RET is zero.
29238         (TEST_FUNCTION): New macro.
29239         Include test-skeleton.c.
29241         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
29242         returns a null pointer.
29244 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29246         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
29247         to __memcpy_ppc only for static builds.
29249 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
29251         [BZ #18020]
29252         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
29253         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
29254         * math/auto-libm-test-in: Add more tests of asinh.
29255         * math/auto-libm-test-out: Regenerated.
29256         * sysdeps/i386/fpu/libm-test-ulps: Update.
29257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29259 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
29261         [BZ #15850]
29262         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
29263         and ip6_mtuinfo definitions here.
29264         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
29265         in this define too.  Update comment.
29267 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
29269         * elf/sprof.c (load_shobj): Tweak error message to match others.
29271 2015-02-24  Kevin Easton  <kevin@guarana.org>
29273         [BZ #16145] (partial fix)
29274         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
29275         to reduce lock contention.
29277 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
29279         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
29280         (struct timex): Update time comment.
29281         (ADJ_SETOFFSET): Define.
29283 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
29285         [BZ #18019]
29286         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29287         2**56 not 2**28 as threshold for log (2x) formula.
29288         * math/auto-libm-test-in: Add more tests of acosh.
29289         * math/auto-libm-test-out: Regenerated.
29290         * sysdeps/i386/fpu/libm-test-ulps: Update.
29291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29293 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29295         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
29296         parenthesis around the buf assignment.
29297         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
29299 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
29301         [BZ #16783]
29302         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
29303         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
29304         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
29305         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29306         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29307         * math/libm-test.inc (scalb_test_data): Add more tests.
29309 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
29311         [BZ #17916]
29312         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29313         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29315 2015-02-24  Eric Rannaud  <e@nanocritical.com>
29317         [BZ #17523]
29318         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29319         * io/bits/fcntl2.h (open): Use it.
29320         (openat): Likewise.
29321         * io/open.c (__libc_open): Likewise.
29322         * io/open64.c (__libc_open64): Likewise.
29323         * io/open64_2.c (__open64_2): Likewise.
29324         * io/open_2.c (__open_2): Likewise.
29325         * io/openat.c (__openat): Likewise.
29326         * io/openat64.c (__openat64): Likewise.
29327         * io/openat64_2.c (__openat64_2): Likewise.
29328         * io/openat_2.c (__openat_2): Likewise.
29329         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29330         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29331         * sysdeps/posix/open64.c (__libc_open64): Likewise.
29332         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29333         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29334         (__open_nocancel): Likewise.
29335         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29336         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29337         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29339 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29341         [BZ #14841]
29342         * resolv/gethnamaddr.c (getanswer): Skip logging if
29343         RES_USE_DNSSEC is set.
29344         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29346 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
29348         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29350 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
29352         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29353         201304L, for Unicode 7.
29355 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
29357         [BZ #17836]
29358         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29359         shared library.  Add gmon-start.os otherwise.
29360         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29361         $(objpfx)gmon-start.os if builing shared library.
29362         ($(objpfx)g$(static-start-installed-name)): Likewise.
29364 2015-02-23  Andreas Schwab  <schwab@suse.de>
29366         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29368 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29370         [BZ #17269]
29371         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29372         (enlarge_userbuf): Likewise.
29374 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
29376         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29377         * math/atest-exp.c (TIMEOUT): Adjust to 200.
29378         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29379         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29381 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
29383         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29384         expression inside statement expression.
29386 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
29388         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29389         <sysdeps/nptl/lowlevellock.h> and remove macros and
29390         functions that are now defined there.
29391         (SYS_futex): Remove.
29392         (lll_compare_and_swap): Remove.
29393         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29395 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
29397         [BZ #17999]
29398         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29399         instead of scandirat.
29400         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29401         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29402         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29403         __scandirat.
29404         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29405         (__scandirat): Declare.  Use libc_hidden_proto.
29406         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29407         Remove variable.
29408         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29410 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29412         [BZ #15319]
29413         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29414         (MO): New macro.
29415         (__ieee754_atan2): For results with small absolute value, force
29416         underflow exception and remove excess range and precision from
29417         return value.
29418         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29419         (MO): New macro.
29420         (__ieee754_atan2f): For results with small absolute value, force
29421         underflow exception and remove excess range and precision from
29422         return value.
29423         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29424         (MO): New macro.
29425         (__atan): For results with small absolute value, force underflow
29426         exception and remove excess range and precision from return value.
29427         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29428         (MO): New macro.
29429         (__atanf): For results with small absolute value, force underflow
29430         exception and remove excess range and precision from return value.
29431         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29432         <math.h>.
29433         (__ieee754_atan2): Force underflow exception for results with
29434         small absolute value.
29435         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29436         <math_private.h>.
29437         (atan): Force underflow exception for results with small absolute
29438         value.
29439         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29440         (__atanf): Force underflow exception for results with small
29441         absolute value.
29442         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29443         <math.h>.
29444         (__atanl): Force underflow exception for results with small
29445         absolute value.
29446         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29447         (__atanl): Force underflow exception for results with small
29448         absolute value.
29449         * sysdeps/x86/fpu/bits/mathinline.h
29450         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29451         (__ieee754_atan2): Only define inline for long double.
29452         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29453         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29454         * math/auto-libm-test-in: Do not mark underflow exceptions as
29455         possibly missing for bug 15319.  Add more tests of atan2.
29456         * math/auto-libm-test-out: Regenerated.
29457         * math/libm-test.inc (casin_test_data): Do not mark underflow
29458         exceptions as possibly missing for bug 15319.
29459         (casinh_test_data): Likewise.
29460         * sysdeps/i386/fpu/libm-test-ulps: Update.
29462 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
29464         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29465         * sysdeps/mips/bits/endian.h: Fix comments.
29467 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
29469         [BZ #17996]
29470         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29471         (hdestroy_r): Likewise.
29472         (hsearch_r): Likewise.
29473         (__hcreate_r): Declare and use libc_hidden_proto.
29474         (__hdestroy_r): Likewise.
29475         (__hsearch_r): Likewise.
29476         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29477         (hcreate): Call __hcreate_r instead of hcreate_r.
29478         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29479         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29480         as weak alias of __hcreate_r.
29481         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29482         __hdestroy_r.
29483         (hsearch_r): Rename to __hsearch_r and define as weak alias of
29484         __hsearch_r.
29485         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29486         Remove variable.
29487         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29488         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29489         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29490         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29492 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29494         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29495         arena_lock into a single arena_get.
29497 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
29499         * dl-reloc.c: Inlucde libc-internal.h.
29500         (_dl_try_allocate_static_tls): Call ALIGN_UP.
29501         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29502         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29503         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29504         (grow_heap): Likewise.
29505         * malloc/malloc.c: Include libc-internal.h.
29506         (do_check_malloc): Call powerof2.
29507         (sysmalloc): Use pagesize. Call ALIGN_UP.
29508         (systrim): Use pagesize.
29509         (mremap_chunk): Use pagesize. Call ALIGN_UP.
29510         (__libc_valloc): Use pagesize.
29511         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29513 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29515         [BZ #17991]
29516         * include/sys/resource.h (__getrlimit64): Declare.  Use
29517         libc_hidden_proto.
29518         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29519         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
29520         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29521         getrlimit64.
29522         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29523         __getrlimit64.
29524         [!getrlimit64] (getrlimit64): Define as weak alias of
29525         __getrlimit64.  Use libc_hidden_weak.
29526         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29527         using __getrlimit64 not __new_getrlimit64.
29528         (__GI_getrlimit64): Likewise.
29529         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29530         Likewise.
29531         (__GI_getrlimit64): Likewise.
29532         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29534         (getrlimit): Add __getrlimit64 alias.
29535         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29536         Likewise.
29537         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29538         Remove variable.
29539         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29540         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29542 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
29544         * libio/fileops.c: Add missing sys/mman.h
29545         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29547 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
29549         * manual/math.texi (Errors in Math Functions): Clarify goals
29550         regarding inexact and underflow exceptions.
29552 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29554         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29555         * sysdeps/mips/memset.S: Ditto.
29557 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
29559         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29561 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
29563         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29564         (__v1longjmp): Remove versioned symbol.
29565         (__v1siglongjmp): Remove alias and versioned symbol.
29566         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29567         (__v2siglongjmp): Likewise.
29569 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29571         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29573 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
29575         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29577 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29579         [BZ #17987]
29580         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29581         zero result does not depend on the sign resulting from
29582         subtraction.
29583         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29584         Likewise.
29585         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29586         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29587         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29588         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29589         * math/libm-test.inc (remquo_test_data): Add more tests.
29591 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
29593         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29594         Problem reported by J William Piggott.
29596 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
29598         [BZ #17978]
29599         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29600         products 4 * y and 2 * y where those would overflow.
29601         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29602         Likewise.
29603         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29604         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29605         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29606         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29607         * math/libm-test.inc (remquo_test_data): Add more tests.
29609         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29611         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29612         [defined _COMPILING_NEWLIB].
29613         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29614         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29616         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29617         [!defined __mips_isa_rev || __mips_isa_rev < 6].
29619 2015-02-16  Torvald Riegel  <triegel@redhat.com>
29621         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29622         acquired.
29624 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
29626         [BZ #17792]
29627         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29628         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29629         HOST_STACK_END_ADDR): Likewise.
29631 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
29633         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29634         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29635         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29637 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29639         * sysdeps/generic/c++-types.data: New file.
29640         * sysdeps/generic/ld.abilist: New file.
29641         * sysdeps/generic/libBrokenLocale.abilist: New file.
29642         * sysdeps/generic/libanl.abilist: New file.
29643         * sysdeps/generic/libc.abilist: New file.
29644         * sysdeps/generic/libcrypt.abilist: New file.
29645         * sysdeps/generic/libdl.abilist: New file.
29646         * sysdeps/generic/libm.abilist: New file.
29647         * sysdeps/generic/libpthread.abilist: New file.
29648         * sysdeps/generic/libresolv.abilist: New file.
29649         * sysdeps/generic/librt.abilist: New file.
29651 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29653         [BZ #17569]
29654         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29655         Compute absolute value of x as modified by fmod, not original
29656         value of x.
29657         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29658         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
29659         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
29660         RUN_TEST_ffI_f1_mod8.
29661         (remquo_test_data): Add more tests.
29663 2015-02-13  Roland McGrath  <roland@hack.frob.com>
29665         * sysdeps/init_array/pt-crti.S: New file.
29667 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
29669         [BZ #17967]
29670         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29671         __builtin_fmaf instead of relying on contraction of a * b + c.
29673 2015-02-12  J William Piggott  <elseifthen@gmx.com>
29675         [BZ #17969]
29676         * manual/time.texi: correct the zoneinfo path in the TZ Variable
29677         node.
29679 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29681         [BZ #17964]
29682         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29683         __builtin_fma instead of relying on contraction of a * b + c.
29685 2015-02-12  Roland McGrath  <roland@hack.frob.com>
29687         * Makeconfig (ASFLAGS): Add -Werror=undef.
29688         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29689         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29690         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29692         * Makeconfig (after-link): New variable.
29693         (+link-pie, +link-pie-tests): Use it.
29694         (+link-static, +link-static-tests): Likewise.
29695         (+link, +link-tests): Likewise.
29696         * Makerules (build-module, build-module-asneeded): Likewise.
29697         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29698         Likewise.
29699         * elf/Makefile ($(objpfx)ld.so): Likewise.
29701 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
29703         [BZ #17965]
29704         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29705         both struct timeval and struct timespec.
29707 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
29709         [BZ #16560]
29710         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29711         and redefine.
29712         (__ieee754_exp2l): Do not multiply small fractional parts by
29713         M_LN2l.
29714         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29715         small argument.
29716         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29717         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29718         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29719         * math/auto-libm-test-in: Add more tests of exp2.
29720         * math/auto-libm-test-out: Regenerated.
29722 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29724         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29725         unaligned path.
29727 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29729         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29730         little endian.
29732 2015-02-12  Andreas Schwab  <schwab@suse.de>
29734         [BZ #15790]
29735         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29736         Filter out elision flags from value returned in kind.
29737         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29738         * nptl/tst-pthread-mutexattr.c: New file.
29740 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29742         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29743         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29744         into gnu-gnu, and update comment to refer to abi-tags.
29746 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
29748         [BZ #15467]
29749         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29750         (__sincos): Set errno to EDOM for infinite argument.
29751         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29752         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29753         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29754         (__sincosl): Set errno to EDOM for infinite argument.
29755         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29756         (__sincosl): Set errno to EDOM for infinite argument.
29757         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29758         (__sincosl): Set errno to EDOM for infinite argument.
29759         * math/libm-test.inc (sincos_test_data): Test errno setting.
29761 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
29763         * string/strxfrm_l.c: Remove #define STRCMP.
29764         * string/strcoll_l.c: Remove #define STRLEN.
29765         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29766         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29768 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
29770         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29771         * sysdeps/mips/mips32/sfp-machine.h: ... here.
29772         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29773         * sysdeps/mips/mips64/Makefile: ... here.
29774         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29775         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29776         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29777         * sysdeps/mips/mips64/sfp-machine.h: ... here.
29778         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29779         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29780         * sysdeps/mips/mips64/n64/Implies: Likewise.
29782 2015-02-10  Roland McGrath  <roland@hack.frob.com>
29784         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29785         <sys/time.h>, <string.h>, and <errno.h>.
29786         (dest_offset, dest_address, value, zero): Remove unused variables.
29787         (ldouble): Remove typedef.
29788         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29789         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
29790         1).  Fix code style.
29791         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29792         (check): Function removed.
29793         (CHECK): New macro.
29794         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
29795         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29796         Don't call set_sigaction_FP and remove_sigaction_FP here.
29797         (ldouble_test): Just use 'long double' as macro argument, no need for
29798         the 'ldouble' typedef.
29799         (do_test): Set up SIGFPE handler at start, using plain signal rather
29800         than sigaction.  Fix code style.
29802 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
29804         [BZ #17949]
29805         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29806         jump label.
29808 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
29810         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29811         * sysdeps/powerpc/powerpc32/configure: Regenerated.
29813         * sysdeps/powerpc/configure.ac: Remove file.
29814         * sysdeps/powerpc/configure: Likewise.
29816         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29817         [sysdep_routines]: Remove wordcopy-power6 object.
29818         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29819         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29820         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29821         (__memmove_ppc32): Likewise.
29822         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29823         file.
29824         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29825         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29826         Remove preprocessor.
29828         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29829         [sysdep_routines]: Remove wide chars objects.
29830         [wcsmbs]: New rule for wide char objects.
29832         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29833         Remove wordcopy-power6 obejct.
29834         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29835         Use local call for wordcopy and memcpy symbols.
29836         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29837         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29838         implementation for loader.
29839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29841         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29842         Remove wordcopy-power7 object.
29843         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29844         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29845         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29846         (_wordcopy_fwd_dest_aligned): Likewise.
29847         (_wordcopy_bwd_aligned): Likewise.
29848         (_wordcopy_bwd_dest_aligned): Likewise.
29850         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29851         Rewrite to call __memmove_ppc instead of include default
29852         implementation.
29854         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29855         Remove wide chars objects.
29856         [wcsmbs]: New rule for wide char objects.
29858 2015-02-09  Andreas Schwab  <schwab@suse.de>
29860         [BZ #17912]
29861         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29862         in terms of __O_DIRECTORY.
29864 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29866         * time/getdate.c: Include <stdbool.h>.
29867         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29868         call PTR_MANGLE.
29869         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29870         PTR_DEMANGLE.
29872 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
29874         Add ersatz _Static_assert on older C hosts
29875         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29876         pre-C11 C platform that is not known to support _Static_assert.
29878 2015-02-07  Richard Braun  <rbraun@sceen.net>
29880         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29881         sigstate.
29882         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29884 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29886         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29887         priority against unexistent AIO_PRIO_DELTA_MAX.
29888         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29889         instead of int.
29890         * misc/fchflags.c (fchflags): Likewise.
29891         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29892         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29893         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29894         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29895         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29896         Declare macros.
29897         [__USE_MISC] (chflags, fchflags): Declare functions.
29898         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29899         EINVAL when nfds is greater than FD_SETSIZE.
29900         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29901         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29902         45.
29903         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29904         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29905         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29906         MACH_RCV_TIMED_OUT.
29907         * hurd/hurd/signal.h (_hurd_self_sigstate,
29908         _hurd_critical_section_lock, _hurd_critical_section_unlock):
29909         Explicit casts from void *.
29910         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29911         * abi-tags: Rename gnu-gnu os into gnu.
29913         [BZ #4719]
29914         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29915         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29916         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29917         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29918         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29919         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29921         [BZ #17944]
29922         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29923         duplicates ADDR->sun_path with sockaddr LEN limitation.
29924         * sysdeps/mach/hurd/connect.c: Include <string.h>
29925         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29926         * sysdeps/mach/hurd/sendmsg.c: Likewise.
29927         * sysdeps/mach/hurd/sendto.c: Likewise.
29928         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29929         implementing it by hand.
29931 2015-02-06  Roland McGrath  <roland@hack.frob.com>
29933         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29934         Use sfi_breg on ldr.
29935         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29936         Likewise.
29938         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29939         it's defined.
29940         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29941         Test SIGSETXID only if it's defined.
29943         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29945         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29946         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
29948         * nptl/tst-align2.c: Moved ...
29949         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29950         * nptl/Makefile (tests): Remove tst-align2.
29951         * sysdeps/unix/sysv/linux/Makefile
29952         [$(subdir) = nptl] (tests): Add tst-align-clone.
29953         * nptl/tst-getpid1.c: Moved ...
29954         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29955         * nptl/tst-getpid2.c: Moved ...
29956         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29957         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29958         * sysdeps/unix/sysv/linux/Makefile
29959         [$(subdir) = nptl] (tests): ... here.
29960         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29961         * sysdeps/unix/sysv/linux/Makefile
29962         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29964         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29965         Drop trailing \n from perror argument.  Use return rather than exit.
29967         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29968         on [SA_SIGINFO].
29969         * nptl/tst-cancel21.c (do_test): Likewise.
29970         * debug/tst-backtrace6.c: Include <signal.h> first thing.
29971         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29972         [!SA_SIGINFO]: Make it a stub test.
29974         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29975         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29977         * posix/tst-getlogin.c: Move to ...
29978         * login/tst-getlogin.c: ... here.
29979         * posix/Makefile (tests): Move tst-getlogin to ...
29980         * login/Makefile (tests): ... here.
29982         * libio/tst-atime.c (do_test): Move local variables SV and E
29983         inside [ST_NOATIME] conditional.
29985         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29987         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29989         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29990         (wait_code): New function replaces macro.
29991         Call nanosleep rather than syscall.
29993         * nptl/pt-system.c: Rewritten.  Put everything under
29994         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29995         Use IFUNC to redirect when possible.
29997         * nptl/pt-longjmp.c: Rewritten.  Put everything under
29998         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29999         Use IFUNC to redirect when possible.
30001         * nptl/pt-fork.c: Rewritten.  Put everything under
30002         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
30003         Use IFUNC to redirect when possible.
30004         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
30006         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
30007         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
30008         unconditionally nowadays.  This included the only reference to
30009         __vdso_clock_gettime that appears outside libc proper.
30010         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
30011         Remove version set (containing only __vdso_clock_gettime).
30012         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
30013         Add attribute_hidden.
30014         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
30015         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
30016         libc_hidden_data_def.
30017         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
30018         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
30020         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
30021         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
30022         setrpcent, and getrpcport to ...
30023         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
30024         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
30025         getrpcbynumber_r, and getrpcent_r to ...
30026         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
30027         * inet/getrpcbyname.c: Moved ...
30028         * sunrpc/getrpcbyname.c: ... here.
30029         * inet/getrpcbyname_r.c: Moved ...
30030         * sunrpc/getrpcbyname_r.c: ... here.
30031         * inet/getrpcbynumber.c: Moved ...
30032         * sunrpc/getrpcbynumber.c: ... here.
30033         * inet/getrpcbynumber_r.c: Moved ...
30034         * sunrpc/getrpcbynumber_r.c: ... here.
30035         * inet/getrpcent.c: Moved ...
30036         * sunrpc/getrpcent.c: ... here.
30037         * inet/getrpcent_r.c: Moved ...
30038         * sunrpc/getrpcent_r.c: ... here.
30039         * inet/Makefile (routines): Move those to ...
30040         * sunrpc/Makefile (routines): ... here.
30041         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
30042         the $(subdirs) list.
30043         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
30044         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
30045         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
30046         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
30048         * elf/Makefile (routines): Include $(all-dl-routines), not just
30049         $(dl-routines).
30050         (rtld-routines): Likewise.  Use = rather than :=.
30051         * sysdeps/aarch64/Makefile [$(subdir) = elf]
30052         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
30053         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
30054         * sysdeps/arm/Makefile: Likewise.
30055         * sysdeps/i386/Makefile: Likewise.
30056         * sysdeps/x86_64/Makefile: Likewise.
30057         * sysdeps/hppa/Makefile [$(subdir) = elf]
30058         (sysdep_routines, sysdep-rtld-routines): Don't add
30059         $(sysdep-dl-routines) to these.
30060         * sysdeps/ia64/Makefile: Likewise.
30061         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
30062         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
30063         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
30064         Don't add dl-static to these; sysdep-dl-routines alone is enough.
30065         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
30066         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
30067         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
30068         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
30069         * sysdeps/powerpc/Makefile [$(subdir) = elf]
30070         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
30071         these; sysdep-dl-routines alone is enough.
30073 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
30075         [BZ #17932]
30076         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30077         where multiplication results in zero and third argument is finite
30078         and nonzero.
30079         * math/auto-libm-test-in: Add more tests of fma.
30080         * math/auto-libm-test-out: Regenerated.
30082         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30083         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30084         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30085         (_FP_CMP_EQ): Likewise.
30086         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30088         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30089         extra argument CHECK_NAN.  Redefine as wrapper around
30090         _FP_EXTEND_CNAN.
30092 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
30094         * version.h (RELEASE): Set to "stable".
30095         (VERSION): Set to "2.21"
30096         * include/features.h (__GLIBC_MINOR__): Set to 21.
30098         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30100 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30101             Paul Eggert  <eggert@cs.ucla.edu>
30103         [BZ #16618]
30104         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30105         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30106         size in bytes. Store needed elements in wpmax. Use needed size
30107         in bytes for extend_alloca.
30109 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
30111         * manual/install.texi: Latest tested versions are GCC 4.9.2,
30112         binutls 2.25, and texinfo 5.2.
30113         * INSTALL: Regenerate.
30114         * sysdeps/nios2/configure: Regenerate.
30115         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30116         * manual/contrib.texi: Update.
30117         * po/be.po: Update.
30118         * po/bg.po: Update.
30119         * po/ca.po: Update.
30120         * po/cs.po: Update.
30121         * po/da.po: Update.
30122         * po/de.po: Update.
30123         * po/el.po: Update.
30124         * po/eo.po: Update.
30125         * po/es.po: Update.
30126         * po/fi.po: Update.
30127         * po/fr.po: Update.
30128         * po/gl.po: Update.
30129         * po/hr.po: Update.
30130         * po/hu.po: Update.
30131         * po/ia.po: Update.
30132         * po/id.po: Update.
30133         * po/it.po: Update.
30134         * po/ja.po: Update.
30135         * po/ko.po: Update.
30136         * po/lt.po: Update.
30137         * po/nb.po: Update.
30138         * po/nl.po: Update.
30139         * po/pl.po: Update.
30140         * po/pt_BR.po: Update.
30141         * po/ru.po: Update.
30142         * po/rw.po: Update.
30143         * po/sk.po: Update.
30144         * po/sl.po: Update.
30145         * po/sv.po: Update.
30146         * po/tr.po: Update.
30147         * po/uk.po: Update.
30148         * po/vi.po: Update.
30149         * po/zh_CN.po: Update.
30150         * po/zh_TW.po: Update.
30152         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
30153         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
30154         * sysdeps/hppa/dl-irel.h: Remove #warning.
30155         * sysdeps/hppa/entry.h: Provide prototype for
30156         __canonicalize_funcptr_for_compare and cast argument.
30157         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
30158         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
30159         * sysdeps/hppa/sotruss-lib.c: New file.
30160         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
30161         (atomic_compare_and_exchange_val_acq): Use __typeof__.
30162         (atomic_compare_and_exchange_bool_acq): Likewise.
30163         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
30164         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
30166         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
30167         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
30168         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
30170 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
30172         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
30173         called function in non-PIC case.
30175 2015-01-31  David S. Miller  <davem@davemloft.net>
30177         * sysdeps/sparc/sparc32/bits/atomic.h
30178         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
30179         unlock not after it.
30180         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
30181         volatile register usage warnings from the compiler.
30183         * sysdeps/sparc/nptl/sem_init.c: Delete.
30184         * sysdeps/sparc/nptl/sem_post.c: Delete.
30185         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
30186         * sysdeps/sparc/nptl/sem_wait.c: Delete.
30187         * sysdeps/sparc/sparc32/sem_init.c: New file.
30188         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
30189         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
30190         padding explicitly initialized.
30191         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
30192         padding for in-semaphore spinlock.
30193         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
30194         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
30195         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
30196         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
30197         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
30198         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
30199         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
30200         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
30201         version.
30202         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
30203         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
30205 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
30207         [BZ #17801]
30208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30209         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
30210         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
30211         New.
30212         (index_AVX_Fast_Unaligned_Load): Likewise.
30213         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
30214         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
30215         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
30216         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
30217         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
30218         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
30219         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
30220         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
30221         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
30223 2015-01-29  Andreas Schwab  <schwab@suse.de>
30225         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
30227 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
30229         [BZ #17892]
30230         * nscd/nscd_stat.c (send_stats): Initialize DATA.
30232 2015-01-28  Martin Sebor  <msebor@redhat.com>
30234         * math/README.libm-test: Clarify. Add "How to read the test output."
30236 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
30238         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
30239         Define to 0.
30241 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
30243         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
30244         (__HAVE_64B_ATOMICS): Define to 0.
30246 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30248         [BZ #17885]
30249         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
30250         value to set as new flag.
30252         [BZ #16576]
30253         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
30254         and use _ARCH_PPCSQ instead.
30255         (__ieee754_sqrt): Likewise.
30256         (__ieee754_sqrtf): Likewise.
30257         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
30258         _ARCH_PPCSQ is defined.
30259         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
30260         fsqrt instruction.
30261         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
30262         _ARCH_PPCSQ is defined.
30263         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
30264         fsqrts instruction.
30265         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
30267 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30269         * iconv/loop.c: Suppress array out of bound warning caused by GCC
30270         bug (GCC BZ #64739).
30272 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
30274         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
30275         Mark _retval as used.
30276         (lll_futex_wake_unlock): Likewise.
30277         (lll_futex_timed_wait_requeue_pi): Likewise.
30279         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30280         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
30281         register variables.
30283         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
30284         libm_hidden_def.
30286         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
30287         (__bswap_64): Mark as __always_inline.
30289 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
30291         [BZ #15378]
30292         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
30293         when none of the search directories exist.
30295 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
30297         [BZ #17869]
30298         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
30299         power8 in .machine directive.
30301         [BZ #17868]
30302         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
30303         set dependency from opd value.
30305 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
30307         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30308         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30309         architecture.
30311 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
30313         [BZ #17870]
30314         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30315         with uint64_t.
30316         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30317         (uint64_t) 1.
30318         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30319         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30320         Replace 1UL with (uint64_t) 1.
30321         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30322         int with uint64_t.
30324 2015-01-23  Roland McGrath  <roland@hack.frob.com>
30326         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30327         (if_freenameindex): Likewise.
30329         * resource/getrlimit64.c: Add missing libc_hidden_def.
30331 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
30333         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30334         __label__.
30335         (_FP_FMA): Likewise.
30336         (_FP_TO_INT_ROUND): Likewise.
30337         (_FP_FROM_INT): Likewise.
30339 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30341         [BZ #16418]
30342         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30343         Make code racy and cancel safe.
30345 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
30347         * sysdeps/arm/unwind-resume.h: Fix copyright year.
30348         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30349         attribution.
30351         * pwd/tst-getpw.c: Rewrite.
30353         [BZ #17702]
30354         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30355         (modules-names): Add moddummy1 and moddummy2.
30356         ($(objpfx)tst-rec-dlopen): Define.
30357         * dlfcn/moddummy1.c: New file.
30358         * dlfcn/moddummy2.c: New file.
30359         * dlfcn/tst-rec-dlopen.c: New file.
30360         * elf/dl-cache.c (_dl_load_cache_lookup):
30361         Return char*. Copy result with alloca/strcpy/strdup.
30362         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30363         returns char*. Free cached. If not saving realname
30364         free cached.
30365         * elf/dl-open.c (dl_open_worker): Do not assert that
30366         _r_debug->r_state is RT_CONSISTENT.
30367         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30368         returns char*.
30370 2015-01-21  Torvald Riegel  <triegel@redhat.com>
30371             Carlos O'Donell  <carlos@redhat.com>
30373         [BZ #12674]
30374         * nptl/sem_waitcommon.c: New file.
30375         * nptl/sem_wait.c: Include sem_waitcommon.c.
30376         (__sem_wait_cleanup, do_futex_wait): Remove.
30377         (__new_sem_wait): Adapt.
30378         (__new_sem_trywait): New function.
30379         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30380         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30381         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30382         (sem_timedwait): Adapt.
30383         * nptl/sem_post.c (__new_sem_post): Adapt.
30384         (futex_wake): New function.
30385         (__old_sem_post): Add release MO fence.
30386         * nptl/sem_open.c (sem_open): Adapt.
30387         * nptl/sem_init.c (__new_sem_init): Adapt.
30388         (futex_private_if_supported): New function.
30389         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30390         (__old_sem_getvalue): Add using previous code.
30391         * sysdeps/nptl/internaltypes.h: Adapt.
30392         * nptl/tst-sem13.c (do_test): Adapt.
30393         * nptl/tst-sem11.c (main): Adapt.
30394         * nptl/sem_trywait.c: Remove.
30395         * nptl/DESIGN-sem.txt: Remove.
30396         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30397         (gen-as-const-headers): Remove structsem.sym.
30398         * nptl/structsem.sym: Remove.
30399         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30400         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30401         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30402         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30403         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30404         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30405         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30406         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30407         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30408         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30409         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30410         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30411         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30412         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30413         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30414         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30415         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30416         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30417         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30418         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30419         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30420         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30422 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
30424         * INSTALL: Regenerated.
30426         * po/libc.pot: Regenerated.
30428 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
30429             Sandra Loosemore  <sandra@codesourcery.com>
30430             Andrew Jenner  <andrew@codesourcery.com>
30431             Joseph Myers  <joseph@codesourcery.com>
30432             Nathan Sidwell  <nathan@codesourcery.com>
30434         * NEWS: Mention new Nios II port.
30435         * sysdeps/nios2/Implies: New file.
30436         * sysdeps/nios2/Makefile: New file.
30437         * sysdeps/nios2/Subdirs: New file.
30438         * sysdeps/nios2/Versions: New file.
30439         * sysdeps/nios2/__longjmp.S: New file.
30440         * sysdeps/nios2/abort-instr.h: New file.
30441         * sysdeps/nios2/backtrace.c: New file.
30442         * sysdeps/nios2/bits/endian.h: New file.
30443         * sysdeps/nios2/bits/fenv.h: New file.
30444         * sysdeps/nios2/bits/link.h: New file.
30445         * sysdeps/nios2/bits/setjmp.h: New file.
30446         * sysdeps/nios2/bsd-_setjmp.S: New file.
30447         * sysdeps/nios2/bsd-setjmp.S: New file.
30448         * sysdeps/nios2/configure: New generated file.
30449         * sysdeps/nios2/configure.ac: New file.
30450         * sysdeps/nios2/crti.S: New file.
30451         * sysdeps/nios2/crtn.S: New file.
30452         * sysdeps/nios2/dl-init.c: New file.
30453         * sysdeps/nios2/dl-machine.h: New file.
30454         * sysdeps/nios2/dl-sysdep.h: New file.
30455         * sysdeps/nios2/dl-tls.h: New file.
30456         * sysdeps/nios2/dl-trampoline.S: New file.
30457         * sysdeps/nios2/gccframe.h: New file.
30458         * sysdeps/nios2/gmp-mparam.h: New file.
30459         * sysdeps/nios2/jmpbuf-offsets.h: New file.
30460         * sysdeps/nios2/jmpbuf-unwind.h: New file.
30461         * sysdeps/nios2/ldsodefs.h: New file.
30462         * sysdeps/nios2/libc-tls.c: New file.
30463         * sysdeps/nios2/libm-test-ulps: New file.
30464         * sysdeps/nios2/machine-gmon.h: New file.
30465         * sysdeps/nios2/math-tests.h: New file.
30466         * sysdeps/nios2/math_private.h: New file.
30467         * sysdeps/nios2/memusage.h: New file.
30468         * sysdeps/nios2/nptl/Makefile: New file.
30469         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30470         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30471         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30472         * sysdeps/nios2/nptl/pthreaddef.h: New file.
30473         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30474         * sysdeps/nios2/nptl/tls.h: New file.
30475         * sysdeps/nios2/preconfigure: New file.
30476         * sysdeps/nios2/s_fma.c: New file.
30477         * sysdeps/nios2/s_fmaf.c: New file.
30478         * sysdeps/nios2/setjmp.S: New file.
30479         * sysdeps/nios2/sfp-machine.h: New file.
30480         * sysdeps/nios2/sotruss-lib.c: New file.
30481         * sysdeps/nios2/stackguard-macros.h: New file.
30482         * sysdeps/nios2/stackinfo.h: New file.
30483         * sysdeps/nios2/start.S: New file.
30484         * sysdeps/nios2/sysdep.h: New file.
30485         * sysdeps/nios2/tls-macros.h: New file.
30486         * sysdeps/nios2/tst-audit.h: New file.
30487         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30488         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30489         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30490         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30491         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30492         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30493         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30494         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30495         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30496         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30497         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30498         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30499         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30500         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30501         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30502         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30503         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30504         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30505         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30506         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30507         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30508         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30509         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30510         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30511         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30512         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30513         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30514         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30515         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30516         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30517         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30518         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30519         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30520         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30521         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30522         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30523         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30524         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30525         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30526         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30527         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30528         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30529         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30530         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30532 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30534         [BZ #17844]
30535         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30536         (getutent): Use weak_alias in non SHARED case
30537         and default_symbol_version in SHARED case.
30538         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30539         (getutent_r, pututline): Likewise.
30540         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30541         (getutid): Likewise.
30542         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30543         (getutid_r): Likewise.
30544         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30545         (getutline): Likewise.
30546         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30547         (getutline_r): Likewise.
30548         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30549         (updwtmp): Likewise.
30551 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
30553         [BZ #17848]
30554         * sysdeps/s390/s390-32/memcmp.S
30555         (memcmp_g5): Rename to __memcmp_g5.
30556         * sysdeps/s390/s390-32/memcpy.S
30557         (memcpy_g5): Rename to __memcpy_g5.
30558         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30559         (memcpy_mvcle) Rename to __memcpy_mvcle.
30560         * sysdeps/s390/s390-32/memset.S
30561         (memset_g5): Rename to __memset_g5.
30562         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30563         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30564         and use prefixed functions.
30565         * sysdeps/s390/s390-32/multiarch/memcmp.S
30566         (memcmp_z196): Rename to __memcmp_z196.
30567         (memcmp_z10): Rename to __memcmp_z10.
30568         (memcmp): Set alias to __memcmp_g5.
30569         (bcmp): Set alias to __memcmp_g5.
30570         * sysdeps/s390/s390-32/multiarch/memcpy.S
30571         (memcpy_z196): Rename to __memcpy_z196.
30572         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30573         (memcpy_z10): Rename to __memcpy_z10.
30574         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30575         (memcpy): Set alias to __memcpy_g5.
30576         * sysdeps/s390/s390-32/multiarch/memset.S
30577         (memset_z196): Rename to __memset_z196.
30578         Jump to __memset_mvcle instead of memset_mvcle.
30579         (memset_z10): Rename to __memset_z10.
30580         Jump to __memset_mvcle instead of memset_mvcle.
30581         (memset_mvcle) Rename to __memset_mvcle.
30582         (memset): Set alias to __memset_g5.
30583         * sysdeps/s390/s390-64/memcmp.S
30584         (memcmp_z900): Rename to __memcmp_z900.
30585         * sysdeps/s390/s390-64/memcpy.S
30586         (memcpy_z900): Rename to __memcpy_z900.
30587         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30588         (memcpy_mvcle) Rename to __memcpy_mvcle.
30589         * sysdeps/s390/s390-64/memset.S
30590         (memset_z900): Rename to __memset_z900.
30591         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30592         (IFUNC_RESOLVE): Prefix ifunc-resolve function
30593         and use prefixed functions.
30594         * sysdeps/s390/s390-64/multiarch/memcmp.S
30595         (memcmp_z196): Rename to __memcmp_z196.
30596         (memcmp_z10): Rename to __memcmp_z10.
30597         (memcmp): Set alias to __memcmp_z900.
30598         (bcmp): Set alias to __memcmp_z900.
30599         * sysdeps/s390/s390-64/multiarch/memcpy.S
30600         (memcpy_z196): Rename to __memcpy_z196.
30601         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30602         (memcpy_z10): Rename to __memcpy_z10.
30603         Jump to __memcpy_mvcle instead of memcpy_mvcle.
30604         (memcpy): Set alias to __memcpy_z900.
30605         * sysdeps/s390/s390-64/multiarch/memset.S
30606         (memset_z196): Rename to __memset_z196.
30607         Jump to __memset_mvcle instead of memset_mvcle.
30608         (memset_z10): Rename to __memset_z10.
30609         Jump to __memset_mvcle instead of memset_mvcle.
30610         (memset_mvcle) Rename to __memset_mvcle.
30611         (memset): Set alias to __memset_z900.
30613 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
30615         [BZ #17748]
30616         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30617         __fesetenv instead of fesetenv.
30619 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30621         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30622         macro.
30624 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30626         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30627         regression on LE.
30629         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30630         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30631         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30632         strncmp-power8 object.
30633         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30634         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30635         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30636         * NEWS: Update.
30638 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
30639             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30641         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30642         trailing byte check.
30644 2015-01-13  David S. Miller  <davem@davemloft.net>
30646         * include/signal.h (__sigreturn): Guard with __USE_MISC.
30648 2015-01-13  Roland McGrath  <roland@hack.frob.com>
30650         * login/logout.c (logout): Use memset rather than bzero.
30651         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30652         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30653         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30654         (_gethtbyaddr): Likewise.
30655         * locale/programs/simple-hash.c (bcopy): Macro removed.
30657 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30659         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30660         Add strcmp-power8 object.
30661         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30662         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30663         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30664         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30665         __strcmp_power8 implementation.
30666         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30667         * NEWS: Update.
30669         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30670         Add strncpy-power8 and stpncpy-power8 objects.
30671         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30672         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30673         implementations.
30674         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30675         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30676         __stpncpy_power8 implementation.
30677         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30678         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30679         __strncpy_power8 implementation.
30680         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30681         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30682         * NEWS: Update.
30684         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30685         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30686         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30689         strncat-power8 object.
30690         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30691         __strcat_power8 implementation.
30692         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30693         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30694         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30695         optimized strcat for power8.
30697         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30698         strcpy-power8 and stpcpy-power8 objects.
30699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30700         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30701         implementations.
30702         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30703         multiarch stpcpy implementation for POWER8.
30704         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30705         multiarch strcpy implementation for POWER8.
30706         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30707         __strcpy_power8 function.
30708         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30709         stpcpy for POWER8.
30710         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30711         strcpy for POWER8.
30712         * NEWS: Update.
30714 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
30716         [BZ #16009]
30717         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30718         weights and rules. Use do_xfrm_cached if data fits in cache,
30719         do_xfrm otherwise.  Moved former main loop to...
30720         * (do_xfrm_cached): New function.
30721         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30722         find_idx, find_position and stack_push.
30723         * (find_idx): New function.
30724         * (find_position): Likewise.
30725         * localedata/sort-test.sh: Added test run for do_xfrm.
30726         * localedata/xfrm-test.c (main): Added command line option
30727         -nocache to run the test with strings that are too large for
30728         the STRXFRM cache.
30730 2015-01-13  Torvald Riegel  <triegel@redhat.com>
30732         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30733         variable to lll_futex_wake call, not the value itself.
30735 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
30737         [BZ #17803]
30738         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30739         twom64.  Adjust value to 0x1p-64L.
30740         (__scalblnl): Only return standard underflowing result for K <=
30741         -64 not K <= -63; adjust exponent for underflowing result by 64
30742         not 63.
30743         * math/libm-test.inc (scalbn_test_data): Add more tests.
30744         (scalbln_test_data): Likewise.
30746         [BZ #17834]
30747         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30748         0x1p63L.
30749         (__scalblnl): Get new exponent of adjusted subnormal value from ES
30750         not HX.
30751         * math/libm-test.inc (scalbn_test_data): Add more tests.
30752         (scalbln_test_data): Likewise.
30754 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30755             Stefani Seibold  <stefani@seibold.net>
30757         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30758         (sysdep_routines): Add dl-vdso here, ...
30759         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30760         (sysdep_routines): ... not here.
30761         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30762         fallback when vDSO is not presented.
30763         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30764         Define with libc_hidden_proto/libc_hidden_data_def definitions.
30765         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30766         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30767         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30768         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30769         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30770         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30771         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30772         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30773         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
30774         fallback configurable symbol when vDSO is not available.
30775         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30776         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
30777         be able to redefine fallback symbol when vDSO is not available.
30778         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30779         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30781 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30783         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30784         (TLS_INIT_TP): Add tm_capable initialization.
30785         (TLS_DEFINE_INIT_TP): Likewise.
30786         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30787         TCB.
30788         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30789         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30790         calculation.
30791         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30792         transactoion is lock elision is built and TCB tm_capable is set.
30793         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30795         (INTERNAL_SYSCALL_NCS): Likewise.
30796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30797         (INTERNAL_SYSCALL_NCS): Likewise.
30798         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30800         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30801         for powerpc.
30802         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30803         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30804         and remove it for 32 bits case.
30805         [pthread_rwlock_t] (__rwelision): New field for lock elision.
30806         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30807         initialization.
30808         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30809         Disable lock elision with rdlocks if elision is not available.
30811         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30812         (sysdep_routines): Add lock elision objects.
30813         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30814         [pthread_mutex_t] (__spins): Rework to add lock elision field.
30815         [pthread_mutex_t] (__elision): Add field.
30816         [__PTHREAD_SPINS]: Adjust to init lock elision field.
30817         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30818         elision definitions for powerpc.
30819         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30820         implementation of lock elision for powerpc.
30821         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30822         implementation of timed lock elision for powerpc.
30823         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30824         implementation of trylock with lock elision for powerpc.
30825         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30826         implementaion of unlock for lock elision for powerpc.
30827         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30828         automatic enable lock elision for mutexes.
30829         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30830         transaction execution definitions for powerpc.
30831         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30832         definitions.
30833         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30834         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30835         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30836         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30837         * NEWS: Update.
30839 2015-01-09  Roland McGrath  <roland@hack.frob.com>
30841         * sysdeps/posix/shm-directory.c: Use <> rather than ""
30842         for #include of <shm-directory.h>.
30844 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
30846         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30847         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30849 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
30851         [BZ #17791]
30852         * NEWS: Mention bug fix.
30853         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30854         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30855         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30857 2015-01-09  Torvald Riegel <triegel@redhat.com>
30859         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30861 2015-01-09  Torvald Riegel <triegel@redhat.com>
30863         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30865 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30867         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30868         pointer and cast to uintptr_t.
30870 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30872         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30873         removed.
30874         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30876 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
30878         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30879         of 0.
30881 2015-01-08  Roland McGrath  <roland@hack.frob.com>
30883         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30884         <nptl/pthreadP.h> instead.
30885         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30887         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30888         already defined.
30889         [__SIGRTMIN] (init): Function removed.
30890         [__SIGRTMIN] (initialized): Variable removed.
30891         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30892         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30893         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30894         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30895         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30896         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30897         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30898         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30899         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30900         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30901         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30902         * sysdeps/nptl/allocrtsig.c: New file.
30903         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30904         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30905         * sysdeps/generic/testrtsig.h: File removed.
30907         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30908         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30910         * nptl/nptl-init.c (pthread_functions): Conditionalize
30911         .ptr__nptl_setxid initialization on [SIGSETXID].
30913         * sysdeps/nptl/sys/procfs.h: New file.
30914         * nptl_db/Makefile (headers): Add it.
30915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30917         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30918         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30919         * nptl/pthread_attr_setaffinity.c: Include it.
30920         * nptl/pthread_setattr_default_np.c: Likewise.
30921         * nptl/check-cpuset.h: New file.
30923 2015-01-08  Richard Henderson  <rth@redhat.com>
30925         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30926         (CFLAGS-tst-execstack-prog.c): Likewise.
30927         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30929 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
30930             Sandra Loosemore  <sandra@codesourcery.com>
30931             Andrew Jenner  <andrew@codesourcery.com>
30932             Joseph Myers  <joseph@codesourcery.com>
30933             Nathan Sidwell  <nathan@codesourcery.com>
30935         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30936         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30937         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30938         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30939         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30940         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30941         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30942         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30943         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30944         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30945         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30946         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30947         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30948         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30949         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30950         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30951         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30953 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30955         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30956         timespec struct member in syscall macro.
30957         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30958         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30959         first timeval struct member in syscall macro.
30960         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30962 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
30964         [BZ #17748]
30965         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30966         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30967         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30968         __feupdateenv and define as weak alias of __feupdateenv.  Use
30969         libm_hidden_weak.
30970         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30971         libm_hidden_def.
30972         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30973         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
30974         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30975         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30976         libm_hidden_def.
30977         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30978         __feupdateenv and define as weak alias of __feupdateenv.  Use
30979         libm_hidden_weak.
30980         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30981         libm_hidden_def.
30982         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30983         __feupdateenv and define as weak alias of __feupdateenv.  Use
30984         libm_hidden_weak.
30985         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30986         libm_hidden_def.
30987         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30988         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30989         (__feupdateenv): Likewise.
30990         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30991         __feupdateenv and define as weak alias of __feupdateenv.  Use
30992         libm_hidden_weak.
30993         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30994         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30995         libm_hidden_def.
30996         * sysdeps/tile/math_private.h (__feupdateenv): New inline
30997         function.
30998         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30999         libm_hidden_def.
31000         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
31001         __feupdateenv instead of feupdateenv.
31002         (default_libc_feupdateenv_test): Likewise.
31003         (libc_feresetround_ctx): Likewise.
31005 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31007         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
31008         prototype.
31010 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
31012         * posix/regcomp.c (parse_bracket_exp): Initialize type to
31013         COLL_SYM in a couple of places to avoid uninitialized variable
31014         wanings on tilegx gcc 4.8.2.
31016 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31018         * sysdeps/aarch64/strcpy.S: New file.
31019         * sysdeps/aarch64/stpcpy.S: New file.
31020         * NEWS: Updated.
31022 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
31024         * sysdeps/aarch64/strrchr.S: New file.
31025         * NEWS: Updated.
31027 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
31029         [BZ #17658]
31030         * stdlib/setenv.c: Fix memory leak when setting large,
31031         duplicate string.
31033 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
31035         [BZ #17273]
31036         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
31037         and tabs from buffer before parsing fstab entry.
31038         * misc/tst-mntent.c (main): Add test for mount entry with
31039         trailing spaces and tabs.
31041 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
31043         [BZ #17748]
31044         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
31045         * math/fesetround.c (fesetround): Rename to __fesetround and
31046         define as weak alias of __fesetround.  Use libm_hidden_weak.
31047         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
31048         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
31049         * sysdeps/arm/fesetround.c (fesetround): Likewise.
31050         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
31051         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
31052         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
31053         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
31054         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
31055         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
31056         __fesetround_inline.
31057         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
31058         __fesetround_inline instead of __fesetround.
31059         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
31060         __fesetround and define as weak alias of __fesetround.  Use
31061         libm_hidden_weak.  Call __fesetround_inline instead of
31062         __fesetround.
31063         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
31064         __fesetround and define as weak alias of __fesetround.  Use
31065         libm_hidden_weak.
31066         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
31067         Likewise.
31068         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
31069         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31070         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
31071         * sysdeps/tile/math_private.h (__fesetround): New inline function.
31072         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
31073         __fesetround and define as weak alias of __fesetround.  Use
31074         libm_hidden_weak.
31075         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
31076         __fesetround instead of fesetround.
31077         (default_libc_feholdexcept_setround): Likewise.
31078         (libc_feholdsetround_ctx): Likewise.
31079         (libc_feholdsetround_noex_ctx): Likewise.
31081         [BZ #17748]
31082         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31083         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31084         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31085         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31086         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31087         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31088         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31089         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31090         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31091         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31092         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31093         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31094         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31095         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31096         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31097         libm_hidden_def.
31098         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31099         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31100         Likewise.
31101         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31102         define as weak alias of __fesetenv.  Use libm_hidden_weak.
31103         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31104         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31105         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31106         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31107         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
31108         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31109         __fesetenv instead of fesetenv.
31110         (libc_feresetround_noex_ctx): Likewise.
31111         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31112         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31113         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31114         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31115         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31116         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31117         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31118         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31119         (__feupdateenv): Likewise.
31120         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31121         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31122         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31123         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31125 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31127         [BZ #17806]
31128         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31129         addresses have been freed.
31131 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
31133         * resolv/res_init.c (__res_vinit): Improve comments about nserv
31134         and nservall.
31136 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
31138         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
31139         Clean up check_pf allocation pattern. addresses
31141 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31143         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
31144         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
31145         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
31146         * nptl/pthread_exit.c (__pthread_exit): Likewise.
31147         * nptl/pthread_join.c (pthread_join): Likewise.
31148         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
31149         * sysdeps/posix/waitid.c (__waitid): Likewise.
31150         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31151         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31152         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31153         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31154         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31155         Likewise.
31156         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31157         (__libc_pread64): Likewise.
31158         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31159         (__libc_pwrite): Likewise.
31160         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31161         (__libc_pwrite64): Likewsie.
31162         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31163         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31164         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31165         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31166         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31167         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31168         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31170         Likewise.
31171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31172         (__libc_pread64): Likewise.
31173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
31174         Likewise.
31175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31176         (__libc_pwrite64): Likewise.
31177         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31178         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31179         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
31180         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
31181         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31182         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31183         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
31184         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31185         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31186         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31187         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
31188         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31189         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31190         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
31191         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31192         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31193         Likewise.
31195 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
31197         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
31198         (CFLAGS-test-double.c): Likewise.
31199         (CFLAGS-test-ldouble.c): Likewise.
31200         (CPPFLAGS-test-ifloat.c): Likewise.
31201         (CPPFLAGS-test-idouble.c): Likewise.
31202         (CPPFLAGS-test-ildoubl.c): Likewise.
31203         (CFLAGS-test-test-fenv.c): Remove variable.
31204         (CFLAGS-test-misc.c): Likewise.
31206 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
31208         [BZ #17797]
31209         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
31210         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
31211         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
31212         CLOCKS_PER_SEC == 1000000.
31213         * time/clocktest.c (main): Replace %ld with %jd and cast to
31214         intmax_t.
31216 2015-01-05  Roland McGrath  <roland@hack.frob.com>
31218         * sysdeps/generic/unwind-resume.h: New file.
31219         * sysdeps/gnu/unwind-resume.c: Include it.
31220         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
31221         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
31222         argument list.
31223         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
31224         global rather than static.
31225         (_Unwind_Resume): Update user.
31226         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
31227         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
31228         rather than static.  Add __attribute__ ((cold)).
31229         (_Unwind_Resume, __gcc_personality_v0): Update callers.
31230         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
31231         * sysdeps/arm/arm-unwind-resume.S: New file.
31232         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
31233         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
31234         * sysdeps/arm/Makefile [$(subdir) = csu]
31235         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
31236         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31237         Add rt-arm-unwind-resume.
31238         [$(subdir) = nptl]
31239         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31240         Add pt-arm-unwind-resume.
31241         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
31242         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
31244 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31246         [BZ #17748]
31247         * include/fenv.h (__feholdexcept): Declare.  Use
31248         libm_hidden_proto.
31249         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
31250         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
31251         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31252         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
31253         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
31254         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
31255         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
31256         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31257         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
31258         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
31259         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31260         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
31261         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
31262         (feholdexcept): Likewise.
31263         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31264         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31265         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31266         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31267         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
31268         __feholdexcept instead of feholdexcept.
31269         (default_libc_feholdexcept_setround): Likewise.
31271 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31273         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
31274         to avoid using stl/str to align destination.
31276 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31278         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
31280 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31282         [BZ #17796]
31283         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
31284         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
31285         Define as weak alias not strong alias.
31287 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
31289         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
31290         bltzal with addiupc.
31291         (RTLD_START): Ditto.
31293 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
31295         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
31296         for __vdso_* functions in declarations.
31297         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
31298         definitions.
31299         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
31300         INTERNAL_VSYSCALL): Use struct return types to check for error.
31302         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
31303         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
31304         function with cast from llround().
31305         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31306         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
31307         Define.
31309 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
31311         [BZ #17793]
31312         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31313         Define as weak alias not strong alias.
31315         [BZ #17635]
31316         * ctype/ctype-c99.c: New file.  isblank implementation moved from
31317         ...
31318         * ctype/ctype-extn.c: ... here.
31319         (__isblank_l): Move to ...
31320         * ctype/ctype-c99_l.c: ... here.  New file.
31321         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31322         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31323         Remove variable.
31324         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31325         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31326         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31327         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31328         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31330         [BZ #17777]
31331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31332         (posix_fadvise64): Define as weak alias not strong alias.
31333         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31334         (posix_fallocate64): Likewise.
31335         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31336         Remove variable.
31337         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31338         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31339         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31340         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31341         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31343 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
31345         [BZ #16191]
31346         * NEWS: Mention bug fix.
31347         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31348         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31349         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31350         (HOST_STACK_END_ADDR): Likewise.
31352 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31354         [BZ #17748]
31355         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
31356         * math/fegetround.c (fegetround): Rename to __fegetround and
31357         define as weak alias of __fegetround.  Use libm_hidden_weak.
31358         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31359         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31360         * sysdeps/arm/fegetround.c (fegetround): Likewise.
31361         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31362         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31363         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31364         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31365         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31366         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31367         Undefine after rather than before function definition; use
31368         parentheses around function name in definition.
31369         (__fegetround): Also undefine macro after function definition.
31370         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31371         __fegetround and define as weak alias of __fegetround.  Use
31372         libm_hidden_weak.  Do not undefine as macro.
31373         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31374         Likewise.
31375         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31376         __fegetround and define as weak alias of __fegetround.  Use
31377         libm_hidden_weak.
31378         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31379         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31380         * sysdeps/tile/math_private.h (__fegetround): New inline function.
31381         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31382         __fegetround and define as weak alias of __fegetround.  Use
31383         libm_hidden_weak.
31384         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31385         __fegetround instead of fegetround.
31387         [BZ #17782]
31388         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31389         Condition macro definition on [__USE_MISC].
31391         [BZ #17781]
31392         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31393         (struct sigaction): Change type of sa_flags field to int.
31395         [BZ #17780]
31396         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31397         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31398         __glibc_reserved0.
31400         * nptl/version.c (banner): Use single year in copyright notice.
31402         * NEWS: Update copyright dates.
31403         * catgets/gencat.c (print_version): Likewise.
31404         * csu/version.c (banner): Likewise.
31405         * debug/catchsegv.sh: Likewise.
31406         * debug/pcprofiledump.c (print_version): Likewise.
31407         * debug/xtrace.sh (do_version): Likewise.
31408         * elf/ldconfig.c (print_version): Likewise.
31409         * elf/ldd.bash.in: Likewise.
31410         * elf/pldd.c (print_version): Likewise.
31411         * elf/sotruss.sh: Likewise.
31412         * elf/sprof.c (print_version): Likewise.
31413         * iconv/iconv_prog.c (print_version): Likewise.
31414         * iconv/iconvconfig.c (print_version): Likewise.
31415         * locale/programs/locale.c (print_version): Likewise.
31416         * locale/programs/localedef.c (print_version): Likewise.
31417         * login/programs/pt_chown.c (print_version): Likewise.
31418         * malloc/memusage.sh (do_version): Likewise.
31419         * malloc/memusagestat.c (print_version): Likewise.
31420         * malloc/mtrace.pl: Likewise.
31421         * manual/libc.texinfo: Likewise.
31422         * nptl/version.c (banner): Likewise.
31423         * nscd/nscd.c (print_version): Likewise.
31424         * nss/getent.c (print_version): Likewise.
31425         * nss/makedb.c (print_version): Likewise.
31426         * posix/getconf.c (main): Likewise.
31427         * scripts/test-installation.pl: Likewise.
31428         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31430 2015-01-02  Will Newton  <will.newton@linaro.org>
31432         * sysdeps/arm/armv7/configure: Removed.
31433         * sysdeps/arm/armv7/configure.ac: Likewise.
31435 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
31437         * All files with FSF copyright notices: Update copyright dates
31438         using scripts/update-copyrights.
31439         * intl/plural.c: Regenerated.
31440         * locale/programs/charmap-kw.h: Likewise.
31441         * locale/programs/locfile-kw.h: Likewise.
31443 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31445         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31447 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31449         [BZ #17748]
31450         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31451         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31452         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31453         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31454         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31455         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31456         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31457         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31458         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31459         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31460         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31461         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31462         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31463         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31464         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31465         libm_hidden_def.
31466         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31467         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31468         Likewise.
31469         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31470         define as weak alias of __fegetenv.  Use libm_hidden_weak.
31471         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31472         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31473         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31474         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31475         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
31476         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31477         __fegetenv instead of fegetenv.
31478         (libc_feholdsetround_noex_ctx): Likewise.
31480 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
31482         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31483         (Elf_MIPS_ABIFlags_v0): New structure.
31484         (EF_MIPS_FP64): Define.
31485         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31486         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31487         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31488         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31489         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31490         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31491         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31492         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31493         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31494         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31495         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31496         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31497         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31498         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31499         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31500         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31501         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31502         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31503         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31504         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31505         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31506         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31507         field.
31508         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31509         EF_MIPS_FP64.
31510         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31511         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31512         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31513         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31514         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31515         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31516         * sysdeps/mips/tst-abi-interlink.c: Likewise.
31517         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31518         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31519         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31520         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31521         record the current FP ABI extension.
31522         (mips-mode-switch): Define to show if kernel headers support mode
31523         switching.
31524         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31525         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31526         supported SYSV ABI version to 3.
31527         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31528         feature.
31530 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31531             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31533         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31534         path.
31535         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31537 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
31539         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31540         __fegetround and redefine to call __fegetround.  Remove condition
31541         on [!__NO_MATH_INLINES].
31542         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31543         function.
31544         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31545         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31546         Remove macro.
31547         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31548         instead of <fenv_libc.h>.
31549         (__llrintl): Call fegetround instead of __fegetround.
31550         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31551         instead of <fenv_libc.h>.
31552         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31553         (__lrintl): Call fegetround instead of __fegetround.
31554         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31555         instead of <fenv_libc.h>.
31556         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31557         (__rintl): Call fegetround instead of __fegetround.
31559 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31561         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31562         arrays.
31564 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31566         [BZ #17775]
31567         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31568         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31569         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31571 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31573         * sysdeps/i386/tls-macros.h: Include <features.h>.
31574         (TLS_LE): Use non-PIC version for GCC >= 5.0.
31575         (TLS_IE): Likewise.
31576         (TLS_LD): Likewise.
31577         (TLS_GD): Likewise.
31578         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31579         define for GCC >= 5.0.
31581 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
31583         * math/test-fenv.c (test_single_exception, set_single_exc,
31584         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31585         feexcp_mask_test, feenable_test, fe_single_test): Add
31586         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31587         case where they are not used.
31588         * math/libm-test.inc: Likewise.
31589         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31590         unused in the absence of FP rounding/exception support.
31591         * stdio-common/tst-printf-round.c: Likewise.
31592         * stdlib/tst-strtod-round.c: Likewise.
31593         * stdlib/tst-strtod-underflow.c: Likewise.
31595 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
31597         [BZ #17723]
31598         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31599         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31600         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31601         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31602         libm_hidden_weak.
31603         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31604         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31605         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31606         libm_hidden_def.
31607         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31608         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31609         libm_hidden_weak.
31610         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31611         Likewise.
31612         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31613         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31614         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31615         libm_hidden_weak.
31616         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31617         libm_hidden_def.
31618         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31619         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31620         (__feraiseexcept): Likewise.
31621         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31622         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
31623         libm_hidden_weak.
31624         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31625         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31626         libm_hidden_def.
31627         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31628         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31629         Use libm_hidden_def.
31630         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31631         libm_hidden_def.
31632         (feraiseexcept): Define as weak not strong alias.  Use
31633         libm_hidden_weak.
31634         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31635         New inline function.  Factored out of ...
31636         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
31637         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31638         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31639         feraiseexcept.
31640         * math/w_acos.c (__acos): Likewise.
31641         * math/w_asin.c (__asin): Likewise.
31642         * math/w_ilogb.c (__ilogb): Likewise.
31643         * math/w_j0.c (y0): Likewise.
31644         * math/w_j1.c (y1): Likewise.
31645         * math/w_jn.c (yn): Likewise.
31646         * math/w_log.c (__log): Likewise.
31647         * math/w_log10.c (__log10): Likewise.
31648         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31649         * sysdeps/aarch64/fpu/math_private.h
31650         (libc_feupdateenv_test_aarch64): Likewise.
31651         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31652         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31653         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31654         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31655         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31656         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31657         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31658         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31659         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31660         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31662 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
31664         [BZ #17732]
31665         * io/test-utime.c (main): Replace %ld with %jd and cast to
31666         intmax_t.
31667         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31668         * nptl/tst-mutex5.c: Include <stdint.h>.
31669         (do_test): Replace %ld with %jd and cast to intmax_t.
31670         * posix/tst-regex.c (run_test): Likewise.
31671         (run_test_backwards): Likewise.
31672         * rt/tst-clock.c: Include <stdint.h>.
31673         (clock_test): Replace %ld with %jd and cast to intmax_t.
31674         * rt/tst-cpuclock1.c: Include <stdint.h>.
31675         (do_test): Replace %lu with %ju and cast to uintmax_t.
31676         * rt/tst-cpuclock2.c: Include <stdint.h>.
31677         (do_test): Replace %lu with %ju and cast to uintmax_t.
31678         * rt/tst-mqueue1.c: Include <stdint.h>.
31679         (check_attrs): Replace %ld with %jd and cast to intmax_t.
31680         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31681         intmax_t.
31682         * rt/tst-mqueue4.c (do_test): Likewise.
31683         * rt/tst-timer4.c: Include <stdint.h>.
31684         (check_ts): Replace %ld with %jd and cast to intmax_t.
31685         (do_test): Likewise.
31686         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31687         and cast to intmax_t.
31688         * sysdeps/pthread/tst-timer.c (main): Likewise.
31689         * time/clocktest.c (main): Likewise.
31690         * time/tst-posixtz.c (do_test): Likewise.
31691         * timezone/tst-timezone.c (main): Likewise.
31693 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
31694             H.J. Lu  <hongjiu.lu@intel.com>
31696         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31697         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31698         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31699         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31700         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31701         version if bit_Fast_Unaligned_Load is set.
31702         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31703         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31704         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31705         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31706         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31707         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31708         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31709         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31710         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31711         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31712         to 4.
31713         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31714         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31715         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31716         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31718 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
31720         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31721         instead of #if to avoid a Wundef warning.
31722         * stdlib/tst-limits.c (do_test): Likewise.
31724         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31725         parallel other exception macros.
31726         (fegetenv): Convert from macro to extern inline so that it applies
31727         retroactively to inline functions already seen by the compiler.
31728         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31730         * posix/Makefile (before-compile): Use $(objpfx) for
31731         posix-conf-vars-def.h.
31733 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31735         * posix/getconf.c (main): Use size_t for type of I.
31736         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31737         NSPEC.
31739         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31740         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31741         * posix/posix-envs.def: Likewise.
31742         * sysdeps/posix/sysconf.c: Likewise.
31743         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31744         (specs): Remove array.
31745         * scripts/gen-posix-conf-vars.awk: Support generation of specs
31746         array.
31748         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31749         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31750         (__sysconf): Use CONF_IS_* macros.
31752         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31753         ($(objpfx)posix-conf-vars-def.h): New target.
31754         * posix/posix-conf-vars.list: New file.
31755         * posix/posix-conf-vars.h: New file.
31756         * posix/confstr.c: Include posix-conf-vars.h.
31757         (confstr): Use CONF_IS_* macros.
31758         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
31759         CONF_IS_* macros.
31760         * scripts/gen-posix-conf-vars.awk: New file.
31762 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
31764         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31765         fegetround): Add no-op macros to avoid linknamespace issues.
31767         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31768         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31770         * sysdeps/unix/sysv/linux/tile/sysdep.h
31771         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31772         assembly-specific section to avoid a redefinition warning.
31774         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31775         long before casting to pointer to avoid a cast warning.
31777 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
31779         * sysdeps/tile/tilegx/Implies: New file.
31781 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
31783         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31785 2014-12-23  Florian Weimer  <fweimer@redhat.com>
31787         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31789 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31791         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31792         not define.
31793         * sysdeps/unix/sysv/linux/utimes.c: Do not include
31794         <kernel-features.h>.
31795         (__utimes) [__NR_utimes]: Make code unconditional.
31796         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31797         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31798         (__ASSUME_UTIMES): Do not undefine.
31799         * sysdeps/unix/sysv/linux/tile/kernel-features.h
31800         (__ASSUME_UTIMES): Likewise.
31801         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31802         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31803         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31804         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31806 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31808         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31810 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
31812         [BZ #17747]
31813         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31814         alias to weak alias for j0l, y0l.
31815         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31816         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31818         [BZ #17746]
31819         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31820         conversion.
31822 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
31824         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31825         to zero if not already defined.
31827 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31829         [BZ #17724]
31830         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31831         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
31832         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
31833         (char *) casts added.
31834         * sysdeps/ieee754/k_standardf.c: New file.
31835         * sysdeps/ieee754/k_standardl.c: Likewise.
31836         * math/Makefile (libm-support): Remove k_standard.
31837         (libm-calls): Add k_standard.
31839 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31841         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31842         Optimize to avoid an unnecessary FPCR read.
31844 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31846         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31847         Optimize to reduce FPCR/FPSR accesses.
31849 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31851         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31852         Call libc_fetestexcept_aarch64.
31854 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
31856         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31857         Call libc_fesetround_aarch64.
31859 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
31861         [BZ #17733]
31862         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31863         (__bind): Do not define as weak alias.
31864         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31865         define.
31866         (__getsockname): Do not define as weak alias.
31868 2014-12-22  Will Newton  <will.newton@linaro.org>
31870         * manual/install.texi: Document that we require bison 2.7
31871         or above.
31872         * INSTALL: Regenerate.
31873         * configure.ac: Use AC_CHECK_PROG_VER instead of
31874         AC_PATH_PROG when checking for bison and check for
31875         version 2.7 or above.
31876         * configure: Regenerate.
31878 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
31880         [BZ #17745]
31881         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31882         * sysdeps/tile/ffsll.c (ffsll): To here.
31884         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31886 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31888         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31889         if not defined.
31890         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31891         definition.
31892         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31893         hidden ___tls_get_addr.
31894         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31895         hidden __tls_get_addr.
31896         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31897         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31898         Likewise.
31900 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
31902         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31903         _dl_init call.
31905 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
31907         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31908         from "call _dl_init@PLT".
31909         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31911 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
31913         * manual/search.texi: (Array Sort Function): Clarify stable sorting
31914         guarantees.
31916 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
31918         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31920 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31922         [BZ #17744]
31923         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31924         strnlen.
31926 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31928         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31929         of multu on MIPSr6.
31930         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31931         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31932         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31933         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31934         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31936 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
31938         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31939         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31940         (PTR_SUBU): Use subu for mips32r6/mips64r6.
31941         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31942         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31943         mips32r6/mips64r6.
31944         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31946 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
31948         * string/strncat.c (STRNCAT): Simplify implementation.
31950 2014-12-19  David S. Miller  <davem@davemloft.net>
31952         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31953         access the quad as both a long double and as a series of 4 words.
31955         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31956         link_map->l_info array access.
31958 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
31960         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31962         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31963         * math/atest-exp2.c (TIMEOUT): Likewise.
31964         * math/atest-sincos.c (TIMEOUT): Likewise.
31966 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
31968         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31969         -Wno-error with -fno-builtin-lround.
31971 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31973         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31974         Contains futex constants and functions moved over from ...
31975         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
31976         <lowlevellock-futex.h>.
31977         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31978         (lll_timedwait_tid): Add comments and parentheses around macro
31979         arguments.
31981 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31983         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31984         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
31985         (__lll_private_flag): Remove.
31986         (lll_futex_wait): Likewise.
31987         (lll_futex_timed_wait): Likewise.
31988         (lll_futex_wake): Likewise.
31989         (lll_futex_requeue): Likewise.
31990         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31991         (__lll_timedwait_tid): Spell out argument names.
31992         (lll_timedwait_tid): Add comments and parentheses around macro
31993         arguments.
31994         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31995         LLL_SHARED and LLL_PRIVATE usable from assembly code.
31997 2014-12-19  Torvald Riegel  <triegel@redhat.com>
31999         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
32000         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
32001         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32002         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
32003         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
32004         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
32005         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
32006         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
32007         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
32008         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
32009         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
32010         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
32011         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
32012         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
32013         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
32014         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
32015         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
32016         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
32017         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
32019 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32021         * sysdeps/x86_64/x32/Makefile: New file.
32023 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
32025         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
32026         1L with (mp_limb_t) 1.
32028 2014-12-17  Roland McGrath  <roland@hack.frob.com>
32030         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
32031         * nptl/libc_pthread_init.c: ... here.
32032         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
32033         * nptl/register-atfork.c: ... here.
32035         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
32036         Use pthread_sigmask rather than INTERNAL_SYSCALL.
32037         Use assert_perror to check its return value.
32038         (__gai_create_helper_thread): Likewise.
32040         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
32042         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
32044 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
32046         [BZ #17725]
32047         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
32048         __profil_counter.
32049         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
32050         Likewise.
32051         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
32052         Likewise.
32053         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
32054         Likewise.
32055         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
32056         (profil_counter): Likewise.
32057         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
32058         (profil_counter): Likewise.
32059         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
32060         Likewise.
32061         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
32062         Likewise.
32063         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
32064         (profil_counter): Likewise.
32065         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
32066         Likewise.
32067         [!__profil_counter] (profil_counter): Define as weak alias of
32068         __profil_counter.
32069         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
32070         (profil_counter): Rename to __profil_counter.
32071         [!__profil_counter] (profil_counter): Define as weak alias of
32072         __profil_counter.
32073         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
32074         (profil_counter): Rename to __profil_counter.
32075         [!__profil_counter] (profil_counter): Define as weak alias of
32076         __profil_counter.
32077         * sysdeps/posix/profil.c: Update comment referring to
32078         profil_counter.
32079         (__profil): Use __profil_counter instead of profil_counter.
32080         * sysdeps/posix/sprofil.c (profil_counter): Rename to
32081         __profil_counter.  Use __profil_counter_ushort and
32082         __profil_counter_uint in definitions.
32083         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32084         instead of profil_counter_uint and profil_counter_ushort.
32086         [BZ #17722]
32087         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32088         define as weak alias of __inet_makeaddr.
32089         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32090         as weak alias of __inet_addr.
32091         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32092         as weak alias of __inet_pton.  Use libc_hidden_weak.
32093         * include/arpa/inet.h (__inet_pton): Declare.  Use
32094         libc_hidden_proto.
32095         (inet_makeaddr): Don't use libc_hidden_proto.
32096         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
32097         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32098         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
32099         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32100         Remove variable.
32101         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32102         (test-xfail-POSIX/time.h/linknamespace): Likewise.
32104 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
32106         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32108 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32110         * stdio-common/bug-vfprintf-nargs.c (do_test):
32111         Cast value to intptr_t to avoid format warning
32112         for usage with PRIdPTR printing macro.
32114 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
32116         * libio/tst-widetext.c (do_test):
32117         Use format type %td instead of %Zd for ptrdiff_t
32118         in order to avoid format warning.
32120 2014-12-17  Andreas Schwab  <schwab@suse.de>
32122         * nscd/mem.c (gc): Add size_t cast to match printf format.
32124 2014-12-16  Roland McGrath  <roland@hack.frob.com>
32126         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32127         (init): Apply PTR_MANGLE to pointers before storing them.
32128         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32129         before using them.
32131 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
32133         [BZ #17719]
32134         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32135         define as weak alias of __memrchr.
32136         (__memrchr): Do not define as strong alias of memrchr.
32137         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
32138         Remove variable.
32139         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32140         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32141         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32143         [BZ #17717]
32144         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
32145         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
32146         (if_indextoname): Rename to __if_indextoname and define as weak
32147         alias of __if_indextoname.  Use libc_hidden_weak.
32148         (if_freenameindex): Rename to __if_freenameindex and define as
32149         weak alias of __if_freenameindex.
32150         (if_nameindex): Rename to __if_nameindex and define as weak alias
32151         of __if_nameindex.
32152         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
32153         __if_nametoindex and define as weak alias of __if_nametoindex.
32154         Use libc_hidden_weak.
32155         (if_freenameindex): Rename to __if_freenameindex and define as
32156         weak alias of __if_freenameindex.
32157         (if_nameindex): Rename to __if_nameindex and define as weak alias
32158         of __if_nameindex.
32159         (if_indextoname): Rename to __if_indextoname and define as weak
32160         alias of __if_indextoname.  Use libc_hidden_weak.
32161         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
32162         __if_nametoindex and define as weak alias of __if_nametoindex.
32163         Use libc_hidden_weak.
32164         (if_freenameindex): Rename to __if_freenameindex and define as
32165         weak alias of __if_freenameindex.  Use libc_hidden_weak.
32166         (if_nameindex_netlink): Use __if_freenameindex instead of
32167         if_freenameindex.
32168         (if_nameindex): Rename to __if_nameindex and define as weak alias
32169         of __if_nameindex.  Use libc_hidden_weak.
32170         (if_indextoname): Rename to __if_indextoname and define as weak
32171         alias of __if_indextoname.  Use libc_hidden_weak.
32172         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
32173         libc_hidden_proto.
32174         [!_ISOMAC] (__if_freenameindex): Likewise.
32175         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
32176         if_nametoindex.
32177         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
32178         variable.
32179         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32180         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32181         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32182         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32183         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32184         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32185         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32187         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
32188         Remove variable.
32189         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32190         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32192 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32194         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
32195         subscript above bounds'
32197         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
32198         bounds.
32200 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
32202         * libio/tst-fopenloc.c: Use test-skeleton.c.
32204         * stdlib/tst-bsearch.c: Use test-skeleton.c.
32205         (entry): Rename to ITEM.
32206         (do_test, comp): Adjust.
32208         * stdio-common/tst-fseek.c: Use test-skeleton.c.
32210 2014-12-16  Torvald Riegel  <triegel@redhat.com>
32212         * string/tester.c: Include <libc-internal.h>.
32213         (test_memset): Ignore -Wmemset-transposed-args.
32215 2014-12-16  Torvald Riegel  <triegel@redhat.com>
32217         * misc/tst-mntent2.c (do_test): Fix warning.
32219 2014-12-16  Torvald Riegel  <triegel@redhat.com>
32221         * elf/tst-unique4lib.cc(a): Mark as used.
32223 2014-12-16  Florian Weimer  <fweimer@redhat.com>
32225         [BZ #17630]
32226         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
32227         names.
32229 2014-12-16  Allan McRae  <allan@archlinux.org>
32231         * stdio-common/Makefile (tests): Re-add bug26.
32233 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
32235         [BZ #17657]
32236         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
32237         static array.
32239 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
32241         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
32242         (__lll_lock_wait): Likewise.
32243         (__lll_timedlock_wait): Likewise.
32244         (__lll_timedwait_tid): Likewise.
32245         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
32246         (__lll_robust_timedlock_wait): Likewise.
32247         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
32248         (lll_cond_trylock): Likewise.
32249         (__lll_lock): Likewise.
32250         (__lll_robust_lock): Likewise.
32251         (__lll_cond_lock): Likewise.
32252         (lll_robust_cond_lock): Likewise.
32253         (__lll_timedlock): Likewise.
32254         (__lll_robust_timedlock): Likewise.
32255         (__lll_unlock): Likewise.
32256         (__lll_robust_unlock): Likewise.
32257         (lll_wait_tid): Likewise.
32258         (lll_timedwait_tid): Likewise.
32260 2014-12-15  Torvald Riegel  <triegel@redhat.com>
32262         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
32264 2014-12-15  Torvald Riegel  <triegel@redhat.com>
32266         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
32268 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32270         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
32271         * stdio-common/tst-sprintf.c: Likewise.
32273 2014-12-15  Torvald Riegel  <triegel@redhat.com>
32275         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
32277 2014-12-15  Jeff Law  <law@redhat.com>
32279         [BZ #16617]
32280         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
32281         on the heap.  (CVE-2012-3406)
32282         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
32283         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
32284         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
32286 2014-12-15  Will Newton  <will.newton@linaro.org>
32288         * manual/install.texi: Bump required version of texinfo
32289         to 4.7 from 4.5.
32290         * INSTALL: Regenerated.
32291         * configure.ac: Check for makeinfo version 4.7 and above.
32292         * configure: Regenerated.
32294 2014-12-12  Roland McGrath  <roland@hack.frob.com>
32296         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
32297         PREFIX, string constant to insert between directory and name.
32298         * sysdeps/posix/shm_open.c: Update caller.
32299         * sysdeps/posix/shm_unlink.c: Likewise.
32300         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
32301         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
32302         (SEM_SHM_PREFIX): New macro.
32303         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
32304         [$(have-thread-library) = no].
32305         * nptl/Makefile (libpthread-routines): Add shm-directory.
32306         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
32307         * sysdeps/nptl/shm-directory.h: New file.
32308         * sysdeps/posix/shm-directory.c
32309         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32310         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32311         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32312         INTERNAL_SYSCALL.
32313         (__where_is_shmfs): Function removed.
32314         (mountpoint, defaultmount, defaultdir, __namedsem_once):
32315         Variables removed.
32316         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32317         Use SHM_GET_NAME.
32318         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
32320         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32321         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32322         unconditional for use inside libpthread.
32323         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32325 2014-12-12  Roland McGrath  <roland@hack.frob.com>
32327         * nptl/pthread_getaffinity.c: New file.
32328         * nptl/pthread_setaffinity.c: New file.
32329         * nptl/pthread_getname.c: New file.
32330         * nptl/pthread_setname.c: New file.
32332         * nptl/pthread_create.c (START_THREAD_DEFN)
32333         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32335 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32336             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32338         * resolv/res_send.c (send_vc): Disable warning resplen may
32339         be used uninitialized.
32341 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
32343         * nptl/tst-mutex6.c
32344         (ATTR_NULL): New define checks ATTR against NULL.
32345         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32346         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32348 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
32350         [BZ #17581]
32351         * malloc/hooks.c
32352         (mem2mem_check): Revert my previous change.
32353         (malloc_check_get_size): Revert my previous change.
32354         (mem2chunk_check): Revert my previous change.
32356 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32358         * sysdeps/posix/shm-directory.c: New file.
32359         * sysdeps/posix/shm-directory.h: New file.
32360         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32361         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32362         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
32363         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32364         Transmute EPERM to EACCES.
32365         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32366         from ...
32367         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
32368         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32370 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32372         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32373         pointer and cast to uintptr_t.
32374         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32375         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32376         Add cast to avoid warning.
32377         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32379 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32381         * nptl/semaphore.h: Move to ...
32382         * sysdeps/pthread/semaphore.h: ... here.
32383         * Makefile (installed-headers): Change nptl/semaphore.h to
32384         sysdeps/pthread/semaphore.h.
32386 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32388         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32389         generated error format strings.
32391         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32392         -Wformat-extra-args warnings for scanf formats.
32393         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32394         test of zero-length format (duh).
32395         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32396         corner-case scanf format test.
32397         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32398         generated fprintf format string.
32399         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32400         corner-case sprintf format tests.
32401         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32402         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32403         -Wformat-extra-args warnings throughout.
32404         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32405         (CFLAGS-scanf4.c): Likewise.
32406         (CFLAGS-scanf7.c): Likewise.
32407         (CFLAGS-tst-sprintf.c): Likewise.
32408         (CFLAGS-tst-printf.c): Likewise.
32409         (CFLAGS-tst-printfsz.c): Likewise.
32411 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
32413         * include/cpio.h: New file.
32414         * include/fmtmsg.h: Likewise.
32416         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
32417         corresponding format argument to size_t.
32418         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
32419         arguments.
32420         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
32421         corresponding format argument to size_t.
32422         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
32423         arguments.
32424         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
32425         corresponding format argument to size_t.
32426         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32427         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32428         (CFLAGS-tst-mbswcs2.c): Likewise.
32429         (CFLAGS-tst-mbswcs3.c): Likewise.
32430         (CFLAGS-tst-mbswcs4.c): Likewise.
32431         (CFLAGS-tst-mbswcs5.c): Likewise.
32432         (CFLAGS-tst-trans.c): Likewise.
32434 2014-12-11  Roland McGrath  <roland@hack.frob.com>
32436         * posix/regexbug1.c (main): Use "%s" format with regerror results,
32437         rather than assuming they won't contain any '%'s.
32439 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
32441         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32442         inhibit_loop_to_libcall to avoid recursive calls.
32443         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32444         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32446 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
32448         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32449         prototype.
32451 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32453         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32454         integer value instead of boolean.
32456 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
32458         * malloc/malloc.c: Fix powerof2 check.
32460 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32462         * locale/programs/locfile.h (maybe_swap_uint32):
32463         Remove inline and add unused attribute.
32465 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
32467         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32468         Truncating assembler expression to a .long expression.
32470 2014-12-11  Andreas Schwab  <schwab@suse.de>
32472         * elf/rtld.c (struct map_args): Constify str member.
32473         (do_preload): Constify fname argument.
32475 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32477         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32478         constants definition.
32480 2014-12-11  Andreas Schwab  <schwab@suse.de>
32482         [BZ #16657]
32483         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32484         FORCE_ELISION instead of DO_ELISION.
32485         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32486         Remove.
32487         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32488         Likewise.
32490         * iconvdata/gconv-modules: Remove duplicate entry.
32492 2014-12-11  Will Newton  <will.newton@linaro.org>
32494         Merge gettext 0.19.3 into intl/.
32496         This involves a number of cosmetic changes to comments
32497         and ANSI function definitions and prototypes throughout
32498         all the files. The gettext copyright header is used but
32499         with the date ranges taken from the glibc copy.
32501         * NEWS: Add gettext merge to 2.21.
32502         * intl/bindtextdom.c: Switch to gettext copyright.
32503         Use ANSI definitions and prototypes.
32504         Use gl_* locking primitives rather than __libc_* ones.
32505         Use __builtin_expect rather than __glibc_likely/unlikely.
32506         * intl/dcgettext.c: Switch to gettext copyright.
32507         Use ANSI definitions and prototypes.
32508         * intl/dcigettext.c: Switch to gettext copyright.
32509         Use ANSI definitions and prototypes.
32510         (INTDIV0_RAISES_SIGFPE): New define.
32511         Use gl_* locking primitives rather than __libc_* ones.
32512         Include eval-plural.h instead of plural-eval.c.
32513         Use __builtin_expect rather than __glibc_likely/unlikely.
32514         * intl/dcngettext.c: Switch to gettext copyright.
32515         Use ANSI definitions and prototypes.
32516         * intl/dgettext.c: Likewise.
32517         * intl/dngettext.c: Likewise.
32518         * intl/plural-eval.c: Renamed to...
32519         * intl/eval-plural.h: ...this.
32520         * intl/explodename.c: Switch to gettext copyright.
32521         Use ANSI definitions and prototypes.
32522         (_nl_explode_name): Use strchr instead of __rawmemchr.
32523         * intl/finddomain.c: Switch to gettext copyright.
32524         Use ANSI definitions and prototypes.
32525         Use gl_* locking primitives rather than __libc_* ones.
32526         (_nl_find_domain): Use malloc rather than alloca for
32527         allocation of temporary locale name.
32528         * intl/gettext.c: Switch to gettext copyright.
32529         Use ANSI definitions and prototypes.
32530         * intl/gettextP.h: Switch to gettext copyright.
32531         Use ANSI definitions and prototypes.
32532         Use gl_* locking primitives rather than __libc_* ones.
32533         * intl/gmo.h: Switch to gettext copyright.
32534         (struct sysdep_string): Move struct segment_pair outside of
32535         struct definition.
32536         * intl/hash-string.c: Use ANSI definitions and prototypes.
32537         * intl/hash-string.h: Switch to gettext copyright.
32538         Use ANSI definitions and prototypes.
32539         * intl/l10nflist.c: Switch to gettext copyright.
32540         Use ANSI definitions and prototypes.
32541         (_nl_normalize_codeset): Avoid integer overflow.
32542         * intl/loadinfo.h: Switch to gettext copyright.
32543         Use ANSI definitions and prototypes.
32544         (LIBINTL_DLL_EXPORTED): New define.
32545         (PATH_SEPARATOR): New define.
32546         * intl/loadmsgcat.c: Switch to gettext copyright.
32547         * intl/localealias.c: Switch to gettext copyright.
32548         Use ANSI definitions and prototypes.
32549         (_nl_expand_alias): Use PATH_SEPARATOR.
32550         * intl/ngettext.c: Switch to gettext copyright.
32551         Use ANSI definitions and prototypes.
32552         * intl/plural-exp.c: Likewise.
32553         * intl/plural-exp.h: Switch to gettext copyright.
32554         Use ANSI definitions and prototypes.
32555         (struct expression): Move definition of enum operator outside
32556         of struct definition.
32557         * intl/plural.c: Regenerate.
32558         * intl/plural.y: Switch to gettext copyright.
32559         Use ANSI definitions and prototypes.
32560         Port to bison 3.0.
32561         * intl/textdomain.c: Switch to gettext copyright.
32562         Use ANSI definitions and prototypes.
32563         Use gl_* locking primitives rather than __libc_* ones.
32565 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
32567         * debug/warning-nop.c: Add used atrribute.
32569 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32571         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32573         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32574         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32575         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32577 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32578             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32580         [BZ #17634]
32581         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32582         Undefine after defining function.  Define as weak alias of
32583         __wcschr.  Use libc_hidden_weak.
32584         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
32585         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32586         (libc_hidden_def): Also define __GI___wcschr alias.
32587         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32588         __wcschr and define as weak alias of __wcschr.
32589         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32590         __wcschr.
32591         [!WCSCHR] (DEFAULT_WCSCHR): Define.
32592         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32593         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
32594         libc_hidden_weak.  Do not use libc_hidden_def.
32595         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32596         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32597         __GI___wcschr alias.
32598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32599         [IS_IN (libc)] (wcschr): Define as macro expanding to
32600         __redirect_wcschr.
32601         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32602         [IS_IN (libc)] (__wcschr_power6): Likewise.
32603         [IS_IN (libc)] (__wcschr_power7): Likewise.
32604         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
32605         instead of wcschr.
32606         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32607         __libc_wcschr.
32608         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32609         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32610         __wcschr and define as weak alias of __wcschr.  Use
32611         libc_hidden_builtin_def.
32612         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32613         as weak alias of __wcschr.  Use libc_hidden_weak.
32614         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32615         wcschr.
32616         * time/era.c (_nl_init_era_entries): Likewise.
32617         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32618         variable.
32619         (test-xfail-XPG3/time.h/linknamespace): Likewise.
32620         (test-xfail-XPG4/time.h/linknamespace): Likewise.
32622 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32624         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32625         format for long int variable.
32627 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
32629         [BZ #10672]
32630         * manual/search.texi: (Array Sort Function): Remove claim how to make
32631         qsort stable.
32633 2014-12-10  Andreas Schwab  <schwab@suse.de>
32635         [BZ #12847]
32636         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32637         user-controlled locks.
32639 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
32641         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32642         register.
32644 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
32646         * configure.ac (--disable-werror): New configure option.
32647         (enable_werror): New AC_SUBST.
32648         * configure: Regenerated.
32649         * config.make.in (enable-werror): New variable.
32650         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32651         -Wno-error=undef.
32652         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32653         * manual/install.texi (Configuring and compiling): Document
32654         --disable-werror.
32655         * INSTALL: Regenerated.
32656         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32657         (CFLAGS-tst-chk2.c): Likewise.
32658         (CFLAGS-tst-chk3.c): Likewise.
32659         (CFLAGS-tst-chk4.cc): Likewise.
32660         (CFLAGS-tst-chk5.cc): Likewise.
32661         (CFLAGS-tst-chk6.cc): Likewise.
32662         (CFLAGS-tst-lfschk1.c): Likewise.
32663         (CFLAGS-tst-lfschk2.c): Likewise.
32664         (CFLAGS-tst-lfschk3.c): Likewise.
32665         (CFLAGS-tst-lfschk4.cc): Likewise.
32666         (CFLAGS-tst-lfschk5.cc): Likewise.
32667         (CFLAGS-tst-lfschk6.cc): Likewise.
32669         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32670         (main): Disable -Wdeprecated-declarations around calls to
32671         register_printf_function.
32673         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32674         (do_test): Disable -Wdiv-by-zero around some calls to
32675         fwrite_unlocked and fread_unlocked.
32677         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32678         (DIAG_POP_NEEDS_COMMENT): Likewise.
32679         (_DIAG_STR1): Likewise.
32680         (_DIAG_STR): Likewise.
32681         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32682         * stdio-common/bug21.c: Include <libc-internal.h>.
32683         (do_test): Disable -Wformat around call to sscanf.
32684         * stdio-common/scanf14.c: Include <libc-internal.h>.
32685         (main): Disable -Wformat around some calls to scanf functions.
32687 2014-12-09  Torvald Riegel  <triegel@redhat.com>
32689         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32691 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32693         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32694         stack variable alignment.
32696 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
32698         [BZ #17682]
32699         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32700         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32701         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32702         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32703         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32704         __getrlimit instead of getrlimit.
32705         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32706         __gettimeofday instead of gettimeofday.
32707         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32708         Likewise.
32709         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32710         Likewise.
32711         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32712         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32713         Remove variable.
32714         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32715         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32717 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32719         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32720         for wide-character tests.
32722 2014-12-04  Roland McGrath  <roland@hack.frob.com>
32724         * io/openat64.c: #include <libc-internal.h>
32725         (__openat64): Prototypify.  Use ignore_value on MODE.
32726         * io/openat.c: Likewise.
32727         * misc/reboot.c: #include <libc-internal.h>
32728         (reboot): Prototypify.  Use ignore_value on HOWTO.
32729         * misc/ptrace.c: #include <libc-internal.h>
32730         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
32732 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
32734         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32735         XPG4, UNIX98 and XOPEN2K.
32736         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32737         Remove variable.
32738         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32740 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32742         * libio/fileops.c: Use ISO C style for function definitions.
32743         * libio/iofopen.c: Likewise.
32744         * libio/wfileops.c: Likewise.
32746         [BZ #17653]
32747         * libio/fileops.c (_IO_new_file_underflow): Unset cached
32748         offset on EOF.
32749         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32750         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32751         (fgets_func): Function pointer to fgets and fgetws.
32752         (do_ftell_test): Add test to verify ftell value after read
32753         EOF.
32754         (do_test): Set fgets_func.
32756         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32757         O_TRUNC flag for w and w+ modes.
32758         (do_rewind_test): Likewise.
32759         (do_ftell_test): Likewise.
32760         (do_write_test): Likewise.
32762         [BZ #17647]
32763         * libio/fileops.c (do_ftell): Seek only when there are
32764         unflushed writes.
32765         * libio/wfileops.c (do_ftell_wide): Likewise.
32766         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32767         test case.
32768         (do_one_test): Call it.
32770 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
32772         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32773         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32774         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32775         Remove variable.
32776         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32777         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32778         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32780 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32782         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32783         Remove variable.
32784         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32786         [BZ #17668]
32787         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32788         as weak alias of __getifaddrs.  Use libc_hidden_weak.
32789         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32790         __freeifaddrs.  Use libc_hidden_weak.
32791         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32792         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
32793         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32794         __freeifaddrs.  Use libc_hidden_weak.
32795         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32796         __getifaddrs and define as weak alias of __getifaddrs.  Use
32797         libc_hidden_weak.
32798         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32799         __freeifaddrs.  Use libc_hidden_weak.
32800         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32801         Remove variable.
32802         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32803         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32805 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32807         [BZ #17601]
32808         * sysdeps/mips/start.S (__start): Use indirect jump to call
32809         __libc_start_main.
32811 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
32813         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32815         * nptl/tst-mutex1.c: Include <stdbool.h>.
32816         [!ATTR] (ATTR_NULL): New macro.
32817         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32818         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32819         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32821         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32822         to char *.
32824         [BZ #17665]
32825         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32826         Change conditional to [__USE_MISC].
32828         [BZ #17664]
32829         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32830         fgets_unlocked.
32831         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32832         __fgets_unlocked.
32833         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32834         fgets_unlocked.
32835         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32836         Remove variable.
32837         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32838         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32839         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32840         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32841         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32842         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32843         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32844         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32845         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32847         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32849 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32851         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32852         Remove strpbrk objects.
32853         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32854         (__libc_ifunc_impl_list): Remove strpbrk implementation.
32855         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32856         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32857         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32858         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32860         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32861         Remove strcspn objects.
32862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32863         (__libc_ifunc_impl_list): Remove strcspn implementation.
32864         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32865         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32866         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32867         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32869         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32870         Remove strspn objetcs.
32871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32872         (__libc_ifunc_impl_list): Remove strspn implementation.
32873         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32874         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32875         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32876         * sysdeps/powerpc/powerpc64/strspn.S: New file.
32878 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
32880         [BZ #17581]
32881         * malloc/hooks.c
32882         (mem2mem_check): Add a terminator to the chain of checking blocks.
32883         (malloc_check_get_size): Use it here.
32884         (mem2chunk_check): Ditto.
32886 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32888         * sysdeps/powerpc/powerpc64/strtok.S: New file.
32889         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32891 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
32893         * bits/ioctl-types.h: Indent preprocessor directives correctly.
32895         * nptl/nptl-init.c: Include libc-internal.h.
32896         (__pthread_initialize_minimal_internal): Use ROUND_UP.
32898         * elf/ldconfig.c (search_dir): Expand comment.
32900 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
32902         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32903         variable.
32904         (linknamespace-symlist-stdlibs-tests): Likewise.
32905         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32906         instead of $(objpfx)symlist-stdlibs.
32907         (linknamespace-libs-isoc): New variable.
32908         (linknamespace-libs): Use $(linknamespace-libs-isoc).
32909         (linknamespace-libs-ISO): New variable.
32910         (linknamespace-libs-ISO99): Likewise.
32911         (linknamespace-libs-ISO11): Likewise.
32912         (linknamespace-libs-XPG3): Likewise.
32913         (linknamespace-libs-XPG4): Likewise.
32914         (linknamespace-libs-POSIX): Likewise.
32915         (linknamespace-libs-UNIX98): Likewise.
32916         (linknamespace-libs-XOPEN2K): Likewise.
32917         (linknamespace-libs-POSIX2008): Likewise.
32918         (linknamespace-libs-XOPEN2K8): Likewise.
32919         ($(objpfx)symlist-stdlibs): Replace by
32920         $(linknamespace-symlist-stdlibs-tests).  Use
32921         $(linknamespace-libs-$*) as set of libraries.
32922         ($(linknamespace-header-tests)): Update dependencies.  Use
32923         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32924         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32925         * conform/linknamespace.pl: Remove comment about considering
32926         definitions of symbols from irrelevant libraries.
32928 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
32930         [BZ #13862]
32931         * elf/dl-tls.c: Include <atomic.h>.
32932         (oom): Remove #ifdef SHARED/#endif.
32933         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32934         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
32935         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32936         big enough.
32937         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32938         * nptl/Makefile (tests): Add tst-stack4.
32939         (modules-names): Add tst-stack4mod.
32940         ($(objpfx)tst-stack4): New.
32941         (tst-stack4mod.sos): Likewise.
32942         ($(objpfx)tst-stack4.out): Likewise.
32943         ($(tst-stack4mod.sos)): Likewise.
32944         (clean): Likewise.
32945         * nptl/tst-stack4.c: New file.
32946         * nptl/tst-stack4mod.c: Likewise.
32948 2014-11-27  J. Brown  <jb999@gmx.de>
32950         * sysdeps/x86/bits/string.h: Add recent CPUs.
32952 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32954         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32955         sigblock.
32957         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32958         feof.
32960         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32961         variable.
32963 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
32965         * nscd/connections.c: Include libc-internal.h because of macro
32966         usage ignore_value.
32968 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
32970         * string/bits/string3.h (__warn_memset_zero_len): Don't
32971         declare for gcc newer than 5.0.
32972         (memset): Don't test for zero-length __LEN for gcc newer than
32973         5.0.
32975 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
32977         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32978         size_t for %zu format.
32980         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32981         difference, not %ju.
32983 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
32985         * include/libc-internal.h (ignore_value): New macro.
32986         * nscd/connections.c (restart): Wrap calls to setuid and setgid
32987         with ignore_value.
32989         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32990         definition.
32992         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32993         pthread_cleanup_push to void *.
32995         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32996         Undefine.
32998         [BZ #16619]
32999         [BZ #16740]
33000         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
33001         instead of 1L << 52.
33003         * libio/bug-rewind.c (do_test): Check fwscanf return values.
33004         * libio/bug-rewind2.c (do_test): Likewise.
33006         * debug/test-stpcpy_chk-ifunc.c: Remove file.
33007         * debug/test-strcpy_chk-ifunc.c: Likewise.
33008         * wcsmbs/test-wcschr-ifunc.c: Likewise.
33009         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
33010         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
33011         * wcsmbs/test-wcslen-ifunc.c: Likewise.
33012         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
33013         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
33014         * Rules [$(multi-arch) = no] (tests): Do not filter out
33015         $(tests-ifunc).
33016         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
33017         * debug/Makefile (tests-ifunc): Remove variable.
33018         (tests): Do not add $(tests-ifunc).
33019         * wcsmbs/Makefile (tests-ifunc): Remove variable.
33020         (tests): Do not add $(tests-ifunc).
33021         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
33022         [TEST_IFUNC]: Remove conditionals.
33023         * string/test-string.h (TEST_IFUNC): Remove macro.
33024         [TEST_IFUNC]: Remove conditionals.
33026         * string/test-strchr.c [!WIDE] (L): New macro.
33027         [WIDE] (L): Likewise.
33028         (check1): Use CHAR instead of char.  Use L on string and character
33029         constants.
33031 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
33033         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
33034         tests.
33035         * sysdeps/powerpc/bits/atomic.h
33036         (__arch_atomic_exchange_and_add_32_acq): Add definition.
33037         (__arch_atomic_exchange_and_add_32_rel): Likewise.
33038         (atomic_exchange_and_add_acq): Likewise.
33039         (atomic_exchange_and_add_rel): Likewise.
33040         * sysdeps/powerpc/powerpc32/bits/atomic.h
33041         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33042         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33043         * sysdeps/powerpc/powerpc64/bits/atomic.h
33044         (__arch_atomic_exchange_and_add_64_acq): Add definition.
33045         (__arch_atomic_exchange_and_add_64_rel): Likewise.
33047 2014-11-26  Torvald Riegel  <triegel@redhat.com>
33049         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
33050         Change synchronization of __sched_fifo_min_prio and
33051         __sched_fifo_max_prio.
33052         * nptl/pthread_mutexattr_getprioceiling.c
33053         (pthread_mutexattr_getprioceiling): Likewise.
33054         * nptl/pthread_mutexattr_setprioceiling.c
33055         (pthread_mutexattr_setprioceiling): Likewise.
33056         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
33057         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
33058         Likewise.
33060 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
33062         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
33063         void.
33065 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33067         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
33068         third argument const.
33070 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
33072         fnmatch: work around GCC compiler warning bug with uninit var
33073         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
33074         This works around a bug with x86-64 GCC 4.9.2 and earlier
33075         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
33076         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33077         used uninitialized in this function [-Wmaybe-uninitialized]".
33079 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
33081         * posix/bug-regex31.c (main): Return RES not 0.
33083 2014-11-25  Anton Blanchard <anton@samba.org>
33085         * sysdeps/powerpc/bits/atomic.h
33086         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33088 2014-11-24  Sterling Augustine  <saugustine@google.com>
33090         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33092 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
33094         [BZ #17608]
33095         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33097 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
33099         [BZ #17633]
33100         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33101         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33102         variable.
33103         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33104         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33106 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33108         * string/strncpy.c (strncpy): Improve performance by using memset.
33110 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
33112         * string/strcpy.c (strcpy):
33113         Improve performance by using strlen and memcpy.
33115 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
33117         * string/strcoll_l.c (get_next_seq): __always_inline.
33118         * string/strcoll_l.c (do_compare): __always_inline.
33120 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33122         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33123         defined.
33124         * include/mqueue.h: Likewise.
33125         * include/stdlib.h: Likewise.
33127         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33128         (get_null_defines): Adjust.
33129         * sunrpc/Makefile: Adjust comment.
33130         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33131         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33132         (CFLAGS-interp.c): Likewise.
33133         (CFLAGS-ldconfig.c): Likewise.
33134         (CPPFLAGS-.os): Likewise.
33135         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33136         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33137         * extra-modules.mk (extra-modules.mk): Likewise.
33138         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
33139         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
33140         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
33141         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33142         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
33143         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
33144         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
33145         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
33146         * iconvdata/Makefile (CPPFLAGS): Likewise.
33147         (cpp-srcs-left): Add libof for all iconvdata routines.
33148         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
33149         * include/assert.h: Likewise.
33150         * include/ctype.h: Likewise.
33151         * include/errno.h: Likewise.
33152         * include/libc-symbols.h: Likewise.
33153         * include/math.h: Likewise.
33154         * include/netdb.h: Likewise.
33155         * include/resolv.h: Likewise.
33156         * include/stdio.h: Likewise.
33157         * include/stdlib.h: Likewise.
33158         * include/string.h: Likewise.
33159         * include/sys/stat.h: Likewise.
33160         * include/wctype.h: Likewise.
33161         * intl/l10nflist.c: Likewise.
33162         * libidn/idn-stub.c: Likewise.
33163         * libio/libioP.h: Likewise.
33164         * nptl/libc_multiple_threads.c: Likewise.
33165         * nptl/pthreadP.h: Likewise.
33166         * posix/regex_internal.h: Likewise.
33167         * resolv/res_hconf.c: Likewise.
33168         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
33169         * sysdeps/arm/memmove.S: Likewise.
33170         * sysdeps/arm/sysdep.h: Likewise.
33171         * sysdeps/generic/_itoa.h: Likewise.
33172         * sysdeps/generic/symbol-hacks.h: Likewise.
33173         * sysdeps/gnu/errlist.awk: Likewise.
33174         * sysdeps/gnu/errlist.c: Likewise.
33175         * sysdeps/i386/i586/memcpy.S: Likewise.
33176         * sysdeps/i386/i586/memset.S: Likewise.
33177         * sysdeps/i386/i686/memcpy.S: Likewise.
33178         * sysdeps/i386/i686/memmove.S: Likewise.
33179         * sysdeps/i386/i686/mempcpy.S: Likewise.
33180         * sysdeps/i386/i686/memset.S: Likewise.
33181         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33182         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33183         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
33184         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
33185         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33186         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33191         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
33198         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
33199         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
33200         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33203         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33204         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33205         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33206         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33207         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
33208         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33209         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
33210         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33211         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33212         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33213         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33214         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33215         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33216         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33217         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33218         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33219         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33220         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33221         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33222         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33223         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33224         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33225         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33226         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33227         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
33228         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
33229         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33230         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33231         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33232         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
33233         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
33234         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33235         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33236         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
33237         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33238         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
33239         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
33240         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33241         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33242         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33243         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
33244         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33245         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33246         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
33247         * sysdeps/posix/closedir.c: Likewise.
33248         * sysdeps/posix/opendir.c: Likewise.
33249         * sysdeps/posix/readdir.c: Likewise.
33250         * sysdeps/posix/rewinddir.c: Likewise.
33251         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
33252         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
33253         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33254         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33255         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33256         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
33257         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
33258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
33259         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
33260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
33261         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
33262         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
33263         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
33264         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
33265         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
33266         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
33267         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
33268         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
33269         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
33270         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
33271         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
33272         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
33273         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
33274         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
33275         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
33276         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
33277         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
33278         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
33279         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
33280         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
33281         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
33282         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
33283         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
33284         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
33285         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
33286         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
33287         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33288         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33289         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
33290         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
33291         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
33292         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
33293         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
33294         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
33295         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
33296         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
33297         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
33298         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
33299         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
33300         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
33301         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
33302         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33303         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33304         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
33305         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
33306         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
33307         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33308         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33309         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33310         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33311         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33312         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33313         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33314         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33315         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33316         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33317         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33318         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33319         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33320         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33321         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33322         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33323         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33324         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33325         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33326         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33327         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33328         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33329         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33330         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33331         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33332         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33333         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33334         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33335         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33336         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33337         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33338         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33339         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33340         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33341         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33342         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33343         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33345         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33346         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33347         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33348         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33349         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33350         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33351         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33352         * sysdeps/unix/alpha/sysdep.S: Likewise.
33353         * sysdeps/unix/alpha/sysdep.h: Likewise.
33354         * sysdeps/unix/make-syscalls.sh: Likewise.
33355         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33356         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33357         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33358         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33359         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33360         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33361         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33362         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33363         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33364         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33365         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33366         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33367         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33368         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33369         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33370         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33371         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33372         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33373         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33374         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33375         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33376         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33377         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33378         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33379         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33380         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33381         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33384         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33385         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33386         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33388         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33389         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33390         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33391         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33392         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33393         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33394         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33395         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33396         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33397         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33398         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33399         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33400         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33401         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33402         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33404         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33405         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33406         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33407         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33408         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33409         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33410         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33411         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33412         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33413         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33414         * sysdeps/x86_64/memcpy.S: Likewise.
33415         * sysdeps/x86_64/memmove.c: Likewise.
33416         * sysdeps/x86_64/memset.S: Likewise.
33417         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33419         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33420         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33421         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33422         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33423         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33424         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33425         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33426         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33427         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33428         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33429         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33430         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33431         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33432         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33433         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33434         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33435         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33436         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33437         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33438         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33439         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33440         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33441         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33442         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33443         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33444         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33445         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33446         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33447         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33448         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33449         * sysdeps/x86_64/strcmp.S: Likewise.
33451         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33453         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33454         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33455         * elf/rtld-Rules: Likewise.
33456         * elf/setup-vdso.h: Likewise.
33457         * include/assert.h: Likewise.
33458         * include/bits/stdlib-float.h: Likewise.
33459         * include/errno.h: Likewise.
33460         * include/sys/stat.h: Likewise.
33461         * include/unistd.h: Likewise.
33462         * sysdeps/aarch64/setjmp.S: Likewise.
33463         * sysdeps/alpha/setjmp.S: Likewise.
33464         * sysdeps/arm/__longjmp.S: Likewise.
33465         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33466         * sysdeps/arm/setjmp.S: Likewise.
33467         * sysdeps/arm/sysdep.h: Likewise.
33468         * sysdeps/generic/_itoa.h: Likewise.
33469         * sysdeps/generic/dl-sysdep.h: Likewise.
33470         * sysdeps/generic/ldsodefs.h: Likewise.
33471         * sysdeps/i386/dl-tls.h: Likewise.
33472         * sysdeps/i386/setjmp.S: Likewise.
33473         * sysdeps/m68k/setjmp.c: Likewise.
33474         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33475         * sysdeps/mach/hurd/opendir.c: Likewise.
33476         * sysdeps/posix/getcwd.c: Likewise.
33477         * sysdeps/posix/opendir.c: Likewise.
33478         * sysdeps/posix/profil.c: Likewise.
33479         * sysdeps/powerpc/dl-procinfo.h: Likewise.
33480         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33481         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33482         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33483         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33484         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33485         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33486         * sysdeps/s390/dl-tls.h: Likewise.
33487         * sysdeps/s390/s390-32/setjmp.S: Likewise.
33488         * sysdeps/s390/s390-64/setjmp.S: Likewise.
33489         * sysdeps/sh/sh3/setjmp.S: Likewise.
33490         * sysdeps/sh/sh4/setjmp.S: Likewise.
33491         * sysdeps/unix/alpha/sysdep.h: Likewise.
33492         * sysdeps/unix/arm/sysdep.S: Likewise.
33493         * sysdeps/unix/i386/sysdep.S: Likewise.
33494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33495         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33496         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33497         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33498         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33499         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33500         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33501         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33502         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33503         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33504         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33505         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33506         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33507         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33509         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33510         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33511         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33512         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33513         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33514         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33516         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33517         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33518         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33521         * sysdeps/unix/x86_64/sysdep.S: Likewise.
33522         * sysdeps/x86_64/setjmp.S: Likewise.
33524         * include/math.h: Use IS_IN instead of IS_IN_libm.
33525         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33526         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33527         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33528         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33529         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33530         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33531         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33532         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33533         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33534         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33535         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33536         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33537         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33538         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33539         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33540         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33541         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33542         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33543         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33544         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33545         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33546         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33547         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33548         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33549         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33550         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33551         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33552         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33553         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33554         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33555         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33556         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33557         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33558         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33559         Likewise.
33560         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33561         Likewise.
33562         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33563         Likewise.
33564         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33565         Likewise.
33566         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33567         Likewise.
33568         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33569         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33570         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33571         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33572         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33573         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33579         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33580         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33581         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33582         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33583         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33584         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33585         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33586         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33587         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33588         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33589         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33591         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33592         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33593         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33594         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33596         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33597         * nptl/pthreadP.h: Likewise.
33598         * nptl_db/structs.def: Likewise.
33599         * sysdeps/arm/sysdep.h: Likewise.
33600         * sysdeps/nptl/bits/libc-lock.h: Likewise.
33601         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33602         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33603         * sysdeps/unix/alpha/sysdep.h: Likewise.
33604         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33605         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33606         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33607         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33608         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33609         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33610         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33611         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33612         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33613         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33614         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33615         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33616         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33617         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33621         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33622         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33623         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33624         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33625         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33626         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33627         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33628         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33629         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33631         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33632         * nptl/pthreadP.h: Likewise.
33633         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33634         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33635         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33636         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33637         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33638         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33639         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33640         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33641         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33642         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33643         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33644         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33646         Likewise.
33647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33648         Likewise.
33649         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33650         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33651         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33652         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33653         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33654         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33655         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33656         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33658         * dlfcn/dladdr.c: Use IS_IN.
33659         * dlfcn/dladdr1.c: Likewise.
33660         * dlfcn/dlclose.c: Likewise.
33661         * dlfcn/dlerror.c: Likewise.
33662         * dlfcn/dlinfo.c: Likewise.
33663         * dlfcn/dlmopen.c: Likewise.
33664         * dlfcn/dlopen.c: Likewise.
33665         * dlfcn/dlsym.c: Likewise.
33666         * dlfcn/dlvsym.c: Likewise.
33668         * include/ifaddrs.h: Use IS_IN.
33669         * inet/check_pf.c: Likewise.
33670         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33671         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33673         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33674         IS_IN_ldconfig.
33675         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33676         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33678         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33679         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33680         IS_IN (libc).
33682         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33684         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33685         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33686         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33687         * include/libc-symbols.h (IS_IN_LIB): New macro.
33688         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33689         * include/netdb.h: Likewise.
33690         * include/stap-probe.h: Remove all uses of IN_LIB.
33692         * Makeconfig (module-cppflags-real): Define MODULE_NAME
33693         instead of IN_MODULE.
33694         * include/libc-symbols.h (IN_MODULE): Define using
33695         MODULE_NAME.
33696         (PASTE_NAME, PASTE_NAME1): New macros.
33697         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33698         of IN_LIB.
33699         (STAP_PROBE_ASM): Likewise.
33701 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33703         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33704         __mach_init in dlopened libc.
33706 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
33708         * sysdeps/arm/preconfigure.ac: Delete EABI check.
33709         * sysdeps/arm/preconfigure: Regenerate.
33711 2014-11-21  Roland McGrath  <roland@hack.frob.com>
33713         * nptl/pthread_create.c (__pthread_create_2_1): Set
33714         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33715         when copying values from IATTR into PD.
33717 2014-11-21  Will Newton  <will.newton@linaro.org>
33718             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
33720         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33721         Refactor inline-asm.  Also add comment.
33723         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33724         ElfW macro instead of hardcoded Elf64 types.
33725         (la_aarch64_gnu_pltenter): Likewise.
33726         * sysdeps/aarch64/dl-machine.h
33727         (elf_machine_runtime_setup): Use ElfW(Addr).
33729         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33730         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33731         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33732         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33733         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33734         (R_AARCH64_TLS_DTPMOD64): Rename to ..
33735         (R_AARCH64_TLS_DTPMOD): This.
33736         (R_AARCH64_TLS_DTPREL64): Rename to ...
33737         (R_AARCH64_TLS_DTPREL): This.
33738         (R_AARCH64_TLS_TPREL64): Rename to ...
33739         (R_AARCH64_TLS_TPREL): This.
33740         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33741         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33742         R_AARCH64_TLS_TPREL64.
33743         (elf_machine_rela): Likewise.
33745 2014-11-21  Torvald Riegel  <triegel@redhat.com>
33747         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33748         by setting it to 0.  64b atomics are not supported currently.
33750 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33752         [BZ #16469]
33753         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33754         search domain names.
33756 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33758         [BZ #16469]
33759         * NEWS: Update.
33760         * resolv/res_query.c (__libc_res_nquerydomain): Retain
33761         trailing dot.
33762         * posix/tst-getaddrinfo5.c: New.
33763         * posix/Makefile (tests): Add it.
33765 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33767         [BZ #14498]
33768         * NEWS: Fixed.
33769         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33770         after parsing line but before break_if_match.
33771         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33772         if there is a protocol mismatch.
33774 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33776         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33777         because the potential race is on the user-supplied stream.
33779 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33781         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33782         string literal if not passed a buffer.
33783         * manual/job.texi (ctermid): Update reasoning, note deviation
33784         from posix, suggest mtasurace when not passed a buffer, for
33785         future non-preliminary safety notes.
33787 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33789         * manual/users.texi (cuserid): Fix MT-Safety note for the case
33790         of not passing it a buffer.
33791         Reported by Peng Haitao.
33793 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
33795         * manual/Makefile ($(objpfx)stamp-summary): Require
33796         check-safety.sh to pass.
33797         * manual/check-safety.sh: Wish for verification that every
33798         @deftypefn and @deftypefun is followed by a @safety remark.
33800 2014-11-20  Roland McGrath  <roland@hack.frob.com>
33802         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33804         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33805         PTHREAD_CANCEL_ASYNCHRONOUS.
33806         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33807         send SIGCANCEL.
33809         * nptl/default-sched.h: New file.
33810         * sysdeps/unix/sysv/linux/default-sched.h: New file.
33811         * nptl/pthread_create.c: Include it.
33812         (__pthread_create_2_1): Use collect_default_sched instead of making
33813         Linux syscalls here directly.
33815 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33817         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33818         __pthread_once): Use C11 atomics.
33820 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33822         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33824 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33826         * include/atomic.h (__atomic_link_error, __atomic_check_size,
33827         atomic_thread_fence_acquire, atomic_thread_fence_release,
33828         atomic_thread_fence_seq_cst, atomic_load_relaxed,
33829         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33830         atomic_compare_exchange_weak_relaxed,
33831         atomic_compare_exchange_weak_acquire,
33832         atomic_compare_exchange_weak_release,
33833         atomic_exchange_acquire, atomic_exchange_release,
33834         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33835         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33836         atomic_fetch_and_acquire,
33837         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33839 2014-11-20  Torvald Riegel  <triegel@redhat.com>
33841         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33842         USE_ATOMIC_COMPILER_BUILTINS): Define.
33843         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33844         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33845         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33846         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33847         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33848         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33849         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33850         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33851         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33852         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33853         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33854         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33855         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33856         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33857         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33858         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33859         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33860         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33861         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33862         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33863         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33864         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33865         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33866         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33867         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33868         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33869         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33870         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33871         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33872         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33873         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33874         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33875         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33876         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33877         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33878         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33879         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33880         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33881         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33882         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33884 2014-11-19  Roland McGrath  <roland@hack.frob.com>
33886         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33887         the sched_priority value here.  It was already checked when the user
33888         called pthread_attr_setschedparam.
33890         * nptl/tst-bad-schedattr.c: New file.
33891         * nptl/Makefile (tests): Add it.
33893 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
33894             Florian Weimer  <fweimer@redhat.com>
33895             Joseph Myers  <joseph@codesourcery.com>
33896             Adam Conrad  <adconrad@0c3.net>
33897             Andreas Schwab  <schwab@suse.de>
33898             Brooks  <bmoses@google.com>
33900         [BZ #17625]
33901         * wordexp-test.c (__dso_handle): Add prototype.
33902         (__register_atfork): Likewise.
33903         (__app_register_atfork): New function.
33904         (registered_forks): New global.
33905         (register_fork): New function.
33906         (test_case): Add 3 new tests for WRDE_CMDSUB.
33907         (main): Call __app_register_atfork.
33908         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33909         fork count is non-zero fail the test.
33910         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33911         is set.
33912         (parse_dollars): Remove check for WRDE_NOCMD.
33913         (parse_dquote): Likewise.
33915 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33917         * Makeconfig (built-modules): List non-library modules to be
33918         built.
33919         (module-cppflags): Include libc-modules.h for
33920         everything except shlib-versions.v.i.
33921         (CPPFLAGS): Use it.
33922         (before-compile): Add libc-modules.h.
33923         ($(common-objpfx)libc-modules.h,
33924         $(common-objpfx)libc-modules.stmp): New targets.
33925         (common-generated): Add libc-modules.h and libc-modules.stmp.
33926         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33927         * include/libc-symbols.h: Don't include libc-modules.h.
33928         * include/libc-modules.h: Remove file.
33929         * scripts/gen-libc-modules.awk: New script to generate
33930         libc-modules.h.
33931         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33932         Depend on libc-modules.stmp.
33934         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33936         * Makeconfig (in-module): Get value of libof set for the
33937         translation unit.
33938         (CPPFLAGS): Use $(in-module).
33939         * Makerules: Don't suffix routine names for nonlib.
33940         * include/libc-modules.h: New file.
33941         * include/libc-symbols.h: Include libc-modules.h
33942         (IS_IN): New macro to replace IS_IN_* macros.
33943         * elf/Makefile: Set libof-* for each routine.
33944         * elf/rtld-Rules: Likewise.
33945         * extra-modules.mk: Likewise.
33946         * iconv/Makefile: Likewise.
33947         * iconvdata/Makefile: Likewise.
33948         * locale/Makefile: Likewise.
33949         * malloc/Makefile: Likewise.
33950         * nss/Makefile: Likewise.
33951         * sysdeps/gnu/Makefile: Likewise.
33952         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33953         * sysdeps/unix/sysv/linux/Makefile: Likewise.
33954         * sysdeps/s390/s390-64/Makefile: Likewise.
33955         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
33956         CPPFLAGS for nscd instead of nonlib.
33958 2014-11-18  Roland McGrath  <roland@hack.frob.com>
33960         * nptl/createthread.c: New file.
33962         * nptl/createthread.c: Moved ...
33963         * sysdeps/unix/sysv/linux/createthread.c: ... here.
33965         * nptl/createthread.c: Add proper top-line comment.
33966         (do_clone): Folded into ...
33967         (create_thread): ... here.  Take new arguments STOPPED_START and
33968         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
33969         increment __nptl_threads, do event-reporting logic, do
33970         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33971         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
33972         resource cleanup if sched_setaffinity or sched_setscheduler fails,
33973         just send SIGCANCEL.
33974         * nptl/pthread_create.c: Forward-declare create_thread before
33975         including createthread.c.
33976         (start_thread): Use new macro START_THREAD_DEFN to replace defining
33977         declaration, and new macro START_THREAD_SELF to replace argument.
33978         Remove return statement.
33979         (report_thread_creation): New function.
33980         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
33981         synchronization logic, and __nptl_nthreads increment here, around
33982         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
33983         PD->parent_cancelhandling here, before create_thread.  When
33984         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33985         __deallocate_stack, and ENOMEM translation here.
33987 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
33989         [BZ #17616]
33990         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33991         (mptwo): Rename to __mptwo.
33992         (__inv): Use __mptwo instead of mptwo.
33993         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33994         (mptwo): Rename to __mptwo.
33995         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33996         of mpone and __mptwo instead of mptwo.
33997         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33998         instead of mpone.
33999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
34000         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
34001         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
34002         of mpone and __mptwo instead of mptwo.
34003         (__mpranred): Use __mpone instead of mpone.
34004         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
34005         variable.
34006         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34007         (test-xfail-ISO99/math.h/linknamespace): Likewise.
34008         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34009         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34010         (test-xfail-ISO11/math.h/linknamespace): Likewise.
34011         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34012         (test-xfail-XPG3/math.h/linknamespace): Likewise.
34013         (test-xfail-XPG4/math.h/linknamespace): Likewise.
34014         (test-xfail-POSIX/math.h/linknamespace): Likewise.
34015         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34016         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34017         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34018         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34019         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34020         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34021         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34022         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34023         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34024         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34026 2014-11-18  Tom de Vries  <tom@codesoucery.com>
34028         * manual/signal.texi (Primitives Interrupted by Signals): In section,
34029         replace BSD Handler xref with BSD Signal Handling.
34031 2014-11-17  Richard Henderson  <rth@redhat.com>
34033         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
34034         (_FP_PACK_RAW_2): Remove.
34035         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
34036         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
34037         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
34038         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
34039         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
34040         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
34041         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
34042         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
34043         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
34044         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
34045         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
34046         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
34047         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
34048         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
34049         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
34050         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
34052 2014-11-14  Roland McGrath  <roland@hack.frob.com>
34054         * signal/signal.h [__USE_MISC]
34055         (struct sigvec): Remove type.
34056         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
34057         (sigvec): Remove declaration.
34058         * sysdeps/posix/sigvec.c: Moved ...
34059         * signal/sigvec.c: ... here, replacing old file.
34060         (struct sigvec): New type, copied from old signal.h definition.
34061         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
34062         (__sigvec): Convert definition to prototype.
34063         (sigvec): Replace weak_alias with compat_symbol.
34064         * signal/Versions (libc: GLIBC_2.21): New version set.
34065         * include/signal.h: Remove __sigvec declaration.
34066         * sysdeps/unix/bsd/sigvec.c: Remove file.
34067         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
34068         * manual/signal.texi (BSD Handler): Remove subsection.
34069         Move siginterrupt up to ...
34070         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
34071         (Blocking in BSD): Fold subsection into its parent.
34072         * NEWS: Mention sigvec removal.
34074 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34076         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34077         (DLA_FMS): Make definition conditional only on [__FMA4__].
34078         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34079         definition.
34081         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34082         Make definition conditional only on [PROF].
34083         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34084         definition.
34085         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34086         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34088         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34089         !__GNUC__].
34090         * include/signal.h (__sigpause): Move declaration above call to
34091         libc_hidden_proto.
34092         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34093         variable.
34094         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34095         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34097 2014-11-14  David S. Miller  <davem@davemloft.net>
34099         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34100         Define before including <string/memcpy.c> and <string/mempcpy.c>.
34102 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
34104         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34105         * configure: Regenerated.
34106         * manual/install.texi (Tools for Compilation): Document a
34107         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34108         compiler verified to work.
34109         * INSTALL: Regenerated.
34111         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34112         redeclare with asm name.
34113         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34114         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34115         including <string.h>.
34116         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34117         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34118         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34119         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34120         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34121         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34122         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34124 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
34126         * stdlib/strtol.c (__strtol): Use prototype definition.
34128         [BZ #17594]
34129         * stdlib/strtol.c (SYM__): New macro.
34130         (SYM__1): Likewise.
34131         (__strtol): Likewise.
34132         (strtol): Rename to __strtol and define as weak alias of
34133         __strtol.  Use libc_hidden_weak.
34135 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34137         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
34138         Use numbered labels in inline assembly.
34140 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34142         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
34143         Add setjmp LIBC_PROBE.
34144         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
34145         Likewise.
34146         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
34147         Add longjmp, longjmp_target LIBC_PROBE.
34148         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
34149         Likewise.
34151 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34153         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34154         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
34155         to get rid of unused variable warning.
34157 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
34159         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
34160         Check for unwind_backtrace ==  NULL only in SHARED case.
34161         (__backchain_backtrace): Compile only in SHARED case.
34162         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
34163         Likewise.
34164         (__backchain_backtrace): Declare as static.
34166 2014-11-12  Roland McGrath  <roland@hack.frob.com>
34168         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
34169         (__libc_multiple_threads_ptr): Variable moved ...
34170         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
34172 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
34174         * conform/GlibcConform.pm: New file.
34175         * conform/conformtest.pl: Use GlibcConform module.
34176         * conform/linknamespace.pl: New file.
34177         * conform/list-header-symbols.pl: Likewise.
34178         * conform/Makefile (linknamespace-symlists-base): New variable.
34179         (linknamespace-symlists-tests): Likewise.
34180         (linknamespace-header-base): Likewise.
34181         (linknamespace-header-tests): Likewise.
34182         (tests-special): Add new tests.
34183         ($(linknamespace-symlists-tests)): New rule.
34184         (linknamespace-libs): New variable.
34185         ($(objpfx)symlist-stdlibs): New rule.
34186         ($(linknamespace-header-tests)): Likewise.
34187         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
34188         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
34189         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
34190         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
34191         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
34192         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
34193         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
34194         (test-xfail-ISO/math.h/linknamespace): Likewise.
34195         (test-xfail-ISO/signal.h/linknamespace): Likewise.
34196         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
34197         (test-xfail-ISO/time.h/linknamespace): Likewise.
34198         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34199         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
34200         (test-xfail-ISO99/math.h/linknamespace): Likewise.
34201         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34202         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34203         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34204         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34205         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34206         (test-xfail-ISO11/math.h/linknamespace): Likewise.
34207         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34208         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34209         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34210         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34211         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
34212         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
34213         (test-xfail-XPG3/math.h/linknamespace): Likewise.
34214         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
34215         (test-xfail-XPG3/search.h/linknamespace): Likewise.
34216         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
34217         (test-xfail-XPG3/time.h/linknamespace): Likewise.
34218         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
34219         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34220         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34221         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
34222         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34223         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34224         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
34225         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
34226         (test-xfail-XPG4/math.h/linknamespace): Likewise.
34227         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
34228         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34229         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34230         (test-xfail-XPG4/search.h/linknamespace): Likewise.
34231         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34232         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
34233         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
34234         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
34235         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
34236         (test-xfail-XPG4/time.h/linknamespace): Likewise.
34237         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
34238         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34239         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
34240         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34241         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34242         (test-xfail-POSIX/math.h/linknamespace): Likewise.
34243         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
34244         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
34245         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34246         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34247         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
34248         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34249         (test-xfail-POSIX/time.h/linknamespace): Likewise.
34250         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
34251         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34252         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34253         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34254         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34255         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34256         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34257         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34258         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34259         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34260         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
34261         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34262         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34263         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34264         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
34265         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34266         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34267         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
34268         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34269         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34270         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34271         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34272         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34273         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34274         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
34275         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
34276         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34277         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
34278         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34279         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
34280         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34281         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34282         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34283         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
34284         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34285         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34286         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34287         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
34288         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
34289         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
34290         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34291         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34292         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34293         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34294         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
34295         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
34296         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34297         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34298         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34299         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34300         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34301         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34302         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34303         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34304         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34305         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34306         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
34307         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34308         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34309         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34310         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34311         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34312         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34313         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34314         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34315         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34316         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34317         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34318         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34319         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34320         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34321         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34322         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34323         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34324         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34325         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34326         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34327         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34328         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34329         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34330         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34331         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34332         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34333         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34334         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34335         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34336         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34337         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34338         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34339         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34340         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34341         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34342         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34343         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34344         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34345         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34346         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34347         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34349         [BZ #17589]
34350         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34351         of fgets_unlocked.
34353         [BZ #17585]
34354         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34355         (memmem): Rename to __memmem and define as weak alias of
34356         __memmem.  Use libc_hidden_weak.
34357         (__memmem): Use libc_hidden_def.
34358         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
34359         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34360         memmem.
34362         [BZ #17582]
34363         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34364         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
34365         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34366         and define as weak alias of __fgets_unlocked.  Use
34367         libc_hidden_weak.
34368         (__fgets_unlocked): Use libc_hidden_def.
34369         * include/stdio.h (__fgets_unlocked): Declare.  Use
34370         libc_hidden_proto.
34371         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34372         __fgets_unlocked instead of fgets_unlocked.
34373         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34374         (GET_NPROCS_CONF_PARSER): Likewise.
34375         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34376         (GET_NPROCS_CONF_PARSER): Likewise.
34378         [BZ #17574]
34379         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34380         weak alias of __wmemset.  Use libc_hidden_weak.
34381         (__wmemset): Use libc_hidden_def.
34382         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
34383         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34384         of wmemset.
34386         [BZ #17573]
34387         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34388         with asm name __mempcpy.
34389         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34391         [BZ #17572]
34392         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34393         and define as weak alias of __rawmemchr.
34394         (__rawmemchr): Do not define as strong alias of rawmemchr.
34396         [BZ #17571]
34397         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34398         alias of __qsort_r.
34399         (qsort): Call __qsort_r instead of qsort_r.
34400         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34401         (__qsort_r): Declare.  Call libc_hidden_proto.
34402         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34403         instead of qsort_r.
34404         * nscd/gai.c (__qsort_r): Define to qsort_r.
34405         * posix/tst-rfc3484.c (__qsort_r): Likewise.
34406         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34407         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34409         [BZ #17570]
34410         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34411         define as weak alias of __malloc_info.
34413         [BZ #17584]
34414         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34415         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34416         (__rewinddir): Use libc_hidden_def.
34417         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34418         as weak alias of __rewinddir.  Don't use libc_hidden_def.
34419         (__rewinddir): Use libc_hidden_def.
34420         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34421         weak alias of __rewinddir.  Don't use libc_hidden_def.
34422         (__rewinddir): Use libc_hidden_def.
34423         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34424         (__rewinddir): Use libc_hidden_proto.
34425         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34426         rewinddir.
34427         (__getcwd): Use __rewinddir instead of rewinddir.
34429         [BZ #17583]
34430         * libio/fileno.c (fileno): Rename to __fileno and define as weak
34431         alias of __fileno.  Use libc_hidden_weak.
34432         (__fileno): Use libc_hidden_def.
34433         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34434         * libio/ftello.c (ftello): Rename to __ftello and define as weak
34435         alias of __ftello.
34436         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34437         __ftello.
34438         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34439         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
34440         libc_hidden_def.
34441         (fread_unlocked): Don't use libc_hidden_ver.
34442         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34443         and define as weak alias of __fread_unlocked.  Don't use
34444         libc_hidden_def.
34445         (__fread_unlocked): Use libc_hidden_def.
34446         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
34447         (ftello): Don't use libc_hidden_proto.
34448         (__ftello): Declare.  Use libc_hidden_proto.
34449         (fread_unlocked): Don't use libc_hidden_proto.
34450         (__fread_unlocked): Declare.  Use libc_hidden_proto.
34451         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34452         and __ftello instead of fileno, fread_unlocked and ftello.
34454 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
34456         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34457         GOT12.
34458         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34459         Likewise.
34460         (_dl_start_user): Likewise.
34461         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34463 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
34464             Siddhesh Poyarekar  <siddhesh@redhat.com>
34466         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34467         Move argv and envp down instead of moving argc up.
34468         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34470 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
34472         [BZ #17506]
34473         * test-skeleton.c (main): Return successful if one of
34474         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34475         * string/tst-strcoll-overflow.c: Define expected status.
34477 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
34479         [BZ #17475]
34480         * locale/iso-639.def: Define Bhili and Tulu language codes.
34482 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
34484         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34486 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
34488         [BZ #17555]
34489         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34491 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
34493         * configure.ac: Updated check of minimal required version to
34494         2.22.
34495         * manual/install.texi (Tools for Compilation): Updated version
34496         number.
34497         * configure: Regenerated.
34498         * INSTALL: Likewise.
34500 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
34502         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34503         __tls_get_addr.
34505 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
34507         * include/sys/wait.h (__libc_waitpid): Remove declaration.
34508         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34509         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34510         libc_hidden_weak.
34511         (waitpid): Define as alias of __waitpid.
34512         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34513         __waitpid.
34514         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34515         libc_hidden_weak.
34516         (waitpid): Define as alias of __waitpid.
34517         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34518         __libc_waitpid alias.
34519         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34520         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34521         Likewise.
34522         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34523         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34524         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34525         alias.
34526         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34527         __waitpid.
34528         (__waitpid): Don't define as alias.  Use libc_hidden_def not
34529         libc_hidden_weak.
34530         (waitpid): Define as alias of __waitpid.
34532 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
34534         * manual/llio.texi: Add comment that write safety has been
34535         fixed in Linux.
34537         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34538         (localplt-build-dso): Add elf/ld.so.
34539         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34540         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34541         and free for ld.so.
34542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34543         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34545         Likewise.
34546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34547         Likewise.
34548         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34549         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34550         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34551         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34552         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34553         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34554         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34555         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34556         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34557         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34558         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34560 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
34562         [BZ #14132]
34563         * include/libc-symbols.h (INTUSE): Remove macro.
34564         (INTDEF): Likewise.
34565         (INTVARDEF): Likewise.
34566         (_INTVARDEF): Likewise.
34567         (INTDEF2): Likewise.
34568         (INTVARDEF2): Likewise.
34569         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34570         rtld_hidden_def instead of INTVARDEF.
34571         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34572         (_dl_starting_up_internal): Remove declaration.
34573         (_dl_starting_up): Use rtld_hidden_proto.
34574         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34575         declaration.
34576         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34577         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34578         _dl_starting_up.
34579         * elf/dl-writev.h (_dl_writev): Likewise.
34580         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34581         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34582         _dl_starting_up_internal.
34584 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34586         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34587         test-skeleton.c.
34589 2014-11-05  Will Newton  <will.newton@linaro.org>
34591         * benchtests/Makefile: (bench-malloc): Add malloc thread
34592         scalability benchmark.
34593         * benchtests/bench-malloc-threads.c: New file.
34595 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
34597         * sysdeps/aarch64/strchrnul.S: New file.
34599 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34601         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34602         definition.
34603         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34604         Likewise.
34605         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34606         Likewise.
34607         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34608         Likewise.
34609         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34610         Likewise.
34611         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34612         Likewise.
34614 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
34616         * catgets/test-gencat.c: Use test-skeleton.c.
34617         * catgets/tst-catgets.c: Likewise.
34618         * csu/tst-empty.c: Likewise.
34619         * elf/tst-audit2.c: Likewise.
34620         * elf/tst-global1.c: Likewise.
34621         * elf/tst-pathopt.c: Likewise.
34622         * elf/tst-piemod1.c: Likewise.
34623         * elf/tst-tls10.c: Likewise.
34624         * elf/tst-tls11.c: Likewise.
34625         * elf/tst-tls12.c: Likewise.
34626         * gnulib/tst-gcc.c: Likewise.
34627         * iconvdata/tst-e2big.c: Likewise.
34628         * iconvdata/tst-loading.c: Likewise.
34629         * iconv/tst-iconv1.c: Likewise.
34630         * iconv/tst-iconv2.c: Likewise.
34631         * inet/test-inet6_opt.c: Likewise.
34632         * inet/tst-gethnm.c: Likewise.
34633         * inet/tst-network.c: Likewise.
34634         * inet/tst-ntoa.c: Likewise.
34635         * intl/tst-codeset.c: Likewise.
34636         * intl/tst-gettext2.c: Likewise.
34637         * intl/tst-gettext3.c: Likewise.
34638         * intl/tst-ngettext.c: Likewise.
34639         * intl/tst-translit.c: Likewise.
34640         * io/test-stat.c: Likewise.
34641         * libio/test-fmemopen.c: Likewise.
34642         * libio/tst-freopen.c: Likewise.
34643         * libio/tst-sscanf.c: Likewise.
34644         * libio/tst-ungetwc1.c: Likewise.
34645         * libio/tst-ungetwc2.c: Likewise.
34646         * libio/tst-widetext.c: Likewise.
34647         * localedata/tst-ctype.c: Likewise.
34648         * localedata/tst-digits.c: Likewise.
34649         * localedata/tst-leaks.c: Likewise.
34650         * localedata/tst-mbswcs1.c: Likewise.
34651         * localedata/tst-mbswcs2.c: Likewise.
34652         * localedata/tst-mbswcs3.c: Likewise.
34653         * localedata/tst-mbswcs4.c: Likewise.
34654         * localedata/tst-mbswcs5.c: Likewise.
34655         * localedata/tst-setlocale.c: Likewise.
34656         * localedata/tst-trans.c: Likewise.
34657         * localedata/tst-wctype.c: Likewise.
34658         * localedata/tst-xlocale1.c: Likewise.
34659         * login/tst-grantpt.c: Likewise.
34660         * malloc/tst-calloc.c: Likewise.
34661         * malloc/tst-malloc.c: Likewise.
34662         * malloc/tst-mallocstate.c: Likewise.
34663         * malloc/tst-mcheck.c: Likewise.
34664         * malloc/tst-mtrace.c: Likewise.
34665         * malloc/tst-obstack.c: Likewise.
34666         * math/atest-exp2.c: Likewise.
34667         * math/atest-exp.c: Likewise.
34668         * math/atest-sincos.c: Likewise.
34669         * math/test-matherr.c: Likewise.
34670         * math/test-misc.c: Likewise.
34671         * math/test-powl.c: Likewise.
34672         * math/tst-definitions.c: Likewise.
34673         * misc/tst-dirname.c: Likewise.
34674         * misc/tst-efgcvt.c: Likewise.
34675         * misc/tst-fdset.c: Likewise.
34676         * misc/tst-hsearch.c: Likewise.
34677         * misc/tst-mntent2.c: Likewise.
34678         * nptl/tst-sem7.c: Likewise.
34679         * nptl/tst-sem8.c: Likewise.
34680         * nptl/tst-sem9.c: Likewise.
34681         * nss/test-netdb.c: Likewise.
34682         * posix/tst-fnmatch.c: Likewise.
34683         * posix/tst-getlogin.c: Likewise.
34684         * posix/tst-gnuglob.c: Likewise.
34685         * posix/tst-mmap.c: Likewise.
34686         * pwd/tst-getpw.c: Likewise.
34687         * resolv/tst-inet_ntop.c: Likewise.
34688         * rt/tst-timer.c: Likewise.
34689         * stdio-common/test-fseek.c: Likewise.
34690         * stdio-common/test-popen.c: Likewise.
34691         * stdio-common/test-vfprintf.c: Likewise.
34692         * stdio-common/tst-cookie.c: Likewise.
34693         * stdio-common/tst-fileno.c: Likewise.
34694         * stdio-common/tst-gets.c: Likewise.
34695         * stdio-common/tst-obprintf.c: Likewise.
34696         * stdio-common/tst-perror.c: Likewise.
34697         * stdio-common/tst-sprintf2.c: Likewise.
34698         * stdio-common/tst-sprintf3.c: Likewise.
34699         * stdio-common/tst-sprintf.c: Likewise.
34700         * stdio-common/tst-swprintf.c: Likewise.
34701         * stdio-common/tst-tmpnam.c: Likewise.
34702         * stdio-common/tst-unbputc.c: Likewise.
34703         * stdio-common/tst-wc-printf.c: Likewise.
34704         * stdlib/tst-environ.c: Likewise.
34705         * stdlib/tst-fmtmsg.c: Likewise.
34706         * stdlib/tst-limits.c: Likewise.
34707         * stdlib/tst-rand48-2.c: Likewise.
34708         * stdlib/tst-rand48.c: Likewise.
34709         * stdlib/tst-random2.c: Likewise.
34710         * stdlib/tst-random.c: Likewise.
34711         * stdlib/tst-strtol.c: Likewise.
34712         * stdlib/tst-strtoll.c: Likewise.
34713         * stdlib/tst-tls-atexit.c: Likewise.
34714         * stdlib/tst-xpg-basename.c: Likewise.
34715         * string/test-ffs.c: Likewise.
34716         * string/tst-bswap.c: Likewise.
34717         * string/tst-inlcall.c: Likewise.
34718         * string/tst-strtok.c: Likewise.
34719         * string/tst-strxfrm.c: Likewise.
34720         * sysdeps/x86_64/tst-audit10.c: Likewise.
34721         * sysdeps/x86_64/tst-audit3.c: Likewise.
34722         * sysdeps/x86_64/tst-audit4.c: Likewise.
34723         * sysdeps/x86_64/tst-audit5.c: Likewise.
34724         * time/tst-ftime_l.c: Likewise.
34725         * time/tst-getdate.c: Likewise.
34726         * time/tst-mktime3.c: Likewise.
34727         * time/tst-mktime.c: Likewise.
34728         * time/tst-posixtz.c: Likewise.
34729         * time/tst-strptime2.c: Likewise.
34730         * time/tst-strptime3.c: Likewise.
34731         * wcsmbs/tst-btowc.c: Likewise.
34732         * wcsmbs/tst-mbrtowc.c: Likewise.
34733         * wcsmbs/tst-mbsrtowcs.c: Likewise.
34734         * wcsmbs/tst-wchar-h.c: Likewise.
34735         * wcsmbs/tst-wcpncpy.c: Likewise.
34736         * wcsmbs/tst-wcrtomb.c: Likewise.
34737         * wcsmbs/tst-wcsnlen.c: Likewise.
34738         * wcsmbs/tst-wcstof.c: Likewise.
34740 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
34742         [BZ #14132]
34743         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34744         INTDEF.
34745         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34746         declaration.
34747         (_dl_mcount): Use rtld_hidden_proto.
34748         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34749         _dl_mcount.
34750         * elf/rtld.c (_rtld_global_ro): Likewise.
34752         [BZ #14132]
34753         * elf/dl-init.c (_dl_init): Don't use INTDEF.
34754         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34755         of _dl_init_internal.
34756         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34757         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34758         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34759         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34760         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34761         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34762         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34763         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34764         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34765         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34766         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34767         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34768         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34769         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34770         * sysdeps/tile/dl-start.S (_start): Likewise.
34771         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34772         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34774         [BZ #14132]
34775         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34776         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34777         (rtld_progname): Make macro definition unconditional.
34778         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34779         INTDEF.
34780         (dlmopen_doit): Do not use INTUSE with _dl_argv.
34781         (dl_main): Likewise.
34782         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34783         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34784         instead of _dl_argv_internal.
34785         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34786         __GI__dl_argv instead of INTUSE(_dl_argv).
34787         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34788         __GI__dl_argv instead of _dl_argv_internal.
34790         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34791         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34792         macro.
34793         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34794         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34795         New macro.
34796         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34797         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34798         macro.
34799         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34800         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34802 2014-11-04  Andreas Schwab  <schwab@suse.de>
34804         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34806 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34808         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34809         mtvsrd instruction in binary form.
34811 2014-11-03  Andreas Schwab  <schwab@suse.de>
34813         [BZ #17522]
34814         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34815         for less than MB_LEN_MAX use a local buffer of that size.
34816         * libio/tst-fputws.c: New file.
34817         * libio/Makefile (tests): Add tst-fputws.
34819 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
34821         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34822         the size of the fpu_fr.fpu_dregs[] array.
34824 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
34826         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34827         (__nanosleep): Do not define as alias.
34828         (nanosleep): Define as alias of __nanosleep.
34829         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34830         __libc_nanosleep name.
34832 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34834         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34835         install.texi in comment.
34837 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34839         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34840         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34841         ... add here and use lwsync or sync ...
34842         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34843         ... and add here using lwsync.
34845 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
34847         * elf/dl-machine-reject-phdr.h: New file.
34848         * elf/dl-load.c: #include that.
34849         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34850         if that returned true.
34852 2014-10-31  Roland McGrath  <roland@hack.frob.com>
34854         [BZ #17496]
34855         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34856         gen-as-const-headers chunk.  Add a big scare comment after the last
34857         safe place to touch before-compile.
34859 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
34861         * manual/install.texi (Tools for Compilation): Update autoconf
34862         version requirements.
34863         * INSTALL: Regenerated.
34865         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34866         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34867         (__libc_pselect): Likewise.
34869         [BZ #14138]
34870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34875 2014-10-31  Torvald Riegel  <triegel@redhat.com>
34877         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34878         correct barrier instruction.
34879         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34880         Likewise.
34881         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34882         Likewise.
34884 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34886         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34887         after defining inlines.  Instead, just use parens to defeat macro
34888         expansion of __isctype in its declaration.
34890 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34892         * include/sys/uio.h (__libc_readv): Remove declaration.
34893         (__libc_writev): Likewise.
34894         * misc/readv.c (__libc_readv): Rename to __readv.
34895         (__readv): Do not define as alias.
34896         (readv): Define as alias of __readv.
34897         * misc/writev.c (__libc_writev): Rename to __writev.
34898         (__writev): Do not define as alias.
34899         (writev): Define as alias of __writev.
34900         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34901         (__readv): Do not define as alias.
34902         (readv): Define unconditionally as alias of __readv.
34903         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34904         (__writev): Do not define as alias.
34905         (writev): Define unconditionally as alias of __writev.
34906         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34907         name.
34908         (writev): Do not define __libc_writev name.
34910 2014-10-30  Roland McGrath  <roland@hack.frob.com>
34912         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34913         (convert_charseq): New function, broken out of ...
34914         (use_from_charmap): ... here.  Call it.
34915         (use_to_charmap): Use convert_charseq and free instead of duplicating
34916         its code with a variable-length stack struct.
34918 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
34920         * include/fcntl.h (__libc_creat): Remove declaration.
34921         * io/creat.c (__libc_creat): Rename to creat.
34922         (creat): Do not define as alias.
34923         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34924         of creat instead of __libc_creat.
34925         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34926         to creat.
34927         (creat): Do not define as alias.
34928         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34929         __libc_creat.
34930         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34931         __libc_creat name.
34932         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34933         Likewise.
34935 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
34937         * manual/llio.texi: Add comments discussing why write() may be
34938         considered MT-unsafe on Linux.
34940 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
34942         * dl-load.c (local_strdup): Remove.
34943         (expand_dynamic_string_token): Use __strdup.
34944         (decompose_rpath): Likewise.
34945         (_dl_map_object): Likewise.
34947 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
34949         [BZ #14132]
34950         * sysdeps/generic/unwind-dw2-fde.c
34951         (__register_frame_info_bases_internal): Do not declare.
34952         (__register_frame_info_table_bases_internal): Likewise.
34953         (__deregister_frame_info_bases_internal): Likewise.
34954         (__register_frame_info_bases): Declare and use hidden_proto before
34955         definition.  Use hidden_def instead of INTDEF.
34956         (__register_frame_info_table_bases): Likewise.
34957         (__deregister_frame_info_bases): Likewise.
34958         (__register_frame_info): Do not use INTUSE.
34959         (__register_frame): Likewise.
34960         (__register_frame_info_table): Likewise.
34961         (__register_frame_table): Likewise.
34962         (__deregister_frame_info): Likewise.
34963         (__deregister_frame): Likewise.
34965 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
34967         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34968         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34969         not undefine.
34970         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34971         Likewise.
34972         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34973         Likewise.
34975 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
34977         [BZ #14138]
34978         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34979         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34980         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34981         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34982         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34983         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34984         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34985         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34986         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34987         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34988         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34989         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34990         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34991         syscall.
34992         (setfsuid): Likewise.
34993         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34994         (setfsuid): Likewise.
34995         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34996         (setfsuid): Likewise.
34997         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34998         Likewise.
34999         (setfsuid): Likewise.
35000         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
35001         (setfsuid): Likewise.
35002         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
35003         Likewise.
35004         (setfsuid): Likewise.
35006 2014-10-27  Andreas Schwab  <schwab@suse.de>
35008         [BZ #17501]
35009         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
35010         check for Slow_SSE4_2 feature bit.
35011         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
35012         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
35013         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
35014         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
35016 2014-10-24  Roland McGrath  <roland@hack.frob.com>
35018         * configure.ac: Validate compiler version with a empirical test of
35019         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
35020         $CC -v output.
35021         * configure: Regenerated.
35023         * inet/htons.c (htons): Prototypify.
35024         * inet/htonl.c (htonl): Likewise.
35026 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35028         * string/strncat.c (strncat): Improve performance by using strlen.
35030 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35032         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
35034 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35036         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
35037         Call libc_fetestexcept_aarch64.
35039 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35041         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
35042         Call libc_feholdexcept_aarch64.
35044 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35046         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
35047         Call get_rounding_mode.
35049 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35051         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
35052         Simplify logic.
35054 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
35056         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
35057         Simplify logic.
35059 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
35061         [BZ #14138]
35062         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
35063         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
35064         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
35065         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
35066         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
35067         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
35068         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
35069         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
35070         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
35071         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
35072         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35073         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
35074         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
35075         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
35076         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35077         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35078         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35079         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35080         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35081         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35082         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35083         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35084         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35085         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35086         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35087         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35088         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35089         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35090         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35091         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35092         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35093         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35094         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35095         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35096         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35097         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35098         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35099         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35100         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35101         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35102         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35103         syscall.
35104         (geteuid): Likewise.
35105         (getgid): Likewise.
35106         (getuid): Likewise.
35107         (getresgid): Likewise.
35108         (getresuid): Likewise.
35109         (getgroups): Likewise.
35110         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35111         (geteuid): Likewise.
35112         (getgid): Likewise.
35113         (getuid): Likewise.
35114         (getresgid): Likewise.
35115         (getresuid): Likewise.
35116         (getgroups): Likewise.
35117         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35118         (geteuid): Likewise.
35119         (getgid): Likewise.
35120         (getuid): Likewise.
35121         (getresgid): Likewise.
35122         (getresuid): Likewise.
35123         (getgroups): Likewise.
35124         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35125         Likewise.
35126         (geteuid): Likewise.
35127         (getgid): Likewise.
35128         (getuid): Likewise.
35129         (getresgid): Likewise.
35130         (getresuid): Likewise.
35131         (getgroups): Likewise.
35132         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35133         (geteuid): Likewise.
35134         (getgid): Likewise.
35135         (getuid): Likewise.
35136         (getresgid): Likewise.
35137         (getresuid): Likewise.
35138         (getgroups): Likewise.
35139         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
35140         Likewise.
35141         (geteuid): Likewise.
35142         (getgid): Likewise.
35143         (getuid): Likewise.
35144         (getgroups): Likewise.
35146         [BZ #14138]
35147         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
35148         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
35149         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
35150         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35151         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
35152         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
35153         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
35154         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
35155         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
35156         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
35157         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
35158         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
35159         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
35160         __chown.
35161         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
35162         (lchown): Likewise.
35163         (fchown): Likewise.
35164         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
35165         Likewise.
35166         (lchown): Likewise.
35167         (fchown): Likewise.
35168         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
35169         (lchown): Likewise.
35170         (fchown): Likewise.
35171         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
35172         Likewise.
35173         (lchown): Likewise.
35174         (fchown): Likewise.
35176 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35178         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
35179         Simplify logic.
35181 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35183         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35184         Cleanup logic.
35186 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35188         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35189         Remove unused include.
35191 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
35193         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
35194         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
35195         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
35196         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
35198 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
35199             Helge Deller <deller@gmx.de>
35201         [BZ #17508]
35202         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
35203         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
35204         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
35206 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
35208         [BZ #14132]
35209         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
35210         Remove macro definition.
35211         (__ashrdi3_v_glibc20): Likewise.
35212         (__lshrdi3_v_glibc20): Likewise.
35213         (__cmpdi2_v_glibc20): Likewise.
35214         (__ucmpdi2_v_glibc20): Likewise.
35215         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
35216         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35217         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35218         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35219         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35220         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
35222 2014-10-22  Roland McGrath  <roland@hack.frob.com>
35224         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
35225         old GNU extension [0] syntax.
35226         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
35227         alloca rather than an array member with variable length.
35228         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
35229         * nscd/nscd.c (invalidate_db): New function, broken out of ...
35230         (parse_opt): ... here.  Likewise use alloca there.
35231         Validate the -i argument before checking for rootness.
35232         (send_shutdown): New function, broken out of ...
35233         (parse_opt): ... here.
35235 2014-10-22  Roland McGrath  <roland@hack.frob.com>
35237         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
35238         macro to get at the _rt_local_ro field.
35239         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
35240         ([PIC] case) or _dl_hwcap ([!PIC] case).
35241         * sysdeps/arm/setjmp.S: Likewise.
35243         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
35244         * sysdeps/arm/configure.ac: New check to define it.
35245         * sysdeps/arm/configure: Regenerated.
35246         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
35247         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
35248         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
35249         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
35250         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
35251         Use move/movt pair instead of a load.
35252         (LDST_GLOBAL): Macro removed.
35253         (LDR_GLOBAL): New macro replaces it.
35254         (LDR_HIDDEN): New macro.
35255         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
35256         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
35258         * setjmp/tst-setjmp-static.c: New file.
35259         * setjmp/Makefile (tests): Add it.
35260         (tests-static): New variable.
35262 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
35264         [BZ #17485]
35265         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
35267 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
35269         [BZ #14132]
35270         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
35272 2014-10-21  Roland McGrath  <roland@hack.frob.com>
35274         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
35276 2014-10-20  Roland McGrath  <roland@hack.frob.com>
35278         * io/fts.c (dirent_not_directory): New function.
35279         (fts_build): Call it.
35281 2014-10-20  Roland McGrath  <roland@hack.frob.com>
35283         * nptl/version.c (__nptl_main): Use normal __write rather than
35284         INTERNAL_SYSCALL.
35285         (banner): Update copyright years.
35287         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
35288         gettimeofday.
35289         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35290         * nptl/pthread_cond_timedwait.c: Likewise.
35291         * nptl/pthread_mutex_timedlock.c: Likewise.
35292         * nptl/sem_timedwait.c: Likewise.
35294         * sysdeps/nptl/bits/libc-lock.h
35295         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35296         (__libc_lock_init_recursive): Return void, not 0.
35297         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
35298         (__libc_rwlock_init): Likewise.
35299         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
35301 2014-10-20  Torvald Riegel  <triegel@redhat.com>
35303         [BZ #15215]
35304         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
35305         (__pthread_once_slow): ... here.
35306         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
35307         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35309 2014-10-20  Torvald Riegel  <triegel@redhat.com>
35311         [BZ #15215]
35312         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35313         __PTHREAD_ONCE_FORK_GEN_INCR): New.
35314         * sysdeps/nptl/fork.c (__libc_fork): Use them.
35315         * nptl/pthread_once.c (__pthread_once): Likewise.
35316         Update comments.
35318 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
35320         [BZ #14138]
35321         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35322         name.
35323         (writev): Use __libc_writev as strong name.
35324         * sysdeps/unix/sysv/linux/readv.c: Remove file.
35325         * sysdeps/unix/sysv/linux/writev.c: Likewise.
35327 2014-10-17  Roland McGrath  <roland@hack.frob.com>
35329         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35331         * sysdeps/i386/nptl/tls.h
35332         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35333         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35334         New macros.
35335         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35336         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35337         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35338         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35339         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35340         Call CHECK_THREAD_SYSINFO instead of doing an assert.
35342         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35343         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35344         on [__NR_futex].
35345         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35346         broken out of ...
35347         (__pthread_mutex_init): ... here.  Call it.
35348         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35349         Conditionalize PI cases on [__NR_futex].
35350         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35351         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35352         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35354         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35355         conditional on [SIGSETXID].
35356         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35357         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35358         is defined.  Likewise for SIGSETXID.
35359         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35360         Conditionalize definitions on [SIGSETXID].
35361         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35362         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35363         unblocking on [SIGCANCEL].
35365         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35366         [__NR_set_robust_list].
35368 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
35370         * string/strcoll_l.c (get_next_seq): Fix up formatting.
35371         (do_compare): Likewise.
35373 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
35375         [BZ #15884]
35376         * string/strcoll_l.c: Don't include stdio.h.
35377         (coll_seq): Remove members idxarr and rulearr.
35378         (get_next_seq_cached): Remove function.
35379         (get_next_seq): Likewise.
35380         (get_next_seq_nocache): Rename to get_next_seq.
35381         (do_compare): Remove function.
35382         (do_compare_nocache): Rename to do_compare.
35383         (STRCOLL): Remove weight and rules cache.
35385 2014-10-16  Roland McGrath  <roland@hack.frob.com>
35387         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35388         * sysdeps/arm/sfp-machine.h: ... to here.
35389         * sysdeps/arm/Implies: Remove arm/soft-fp.
35391 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
35393         * conform/data/sys/utsname.h-data (*_t): Allow.
35394         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35395         [POSIX] (WEXITED): Do not expect constant.
35396         [POSIX] (WSTOPPED): Likewise.
35397         [POSIX] (WNOHANG): Likewise.
35398         [POSIX] (WNOWAIT): Likewise.
35399         [POSIX] (siginfo_t): Do not expect type or elements.
35400         [POSIX] (pid_t): Do not expect type.
35401         [POSIX] (signal.h): Do not allow header.
35402         [POSIX] (sys/resource.h): Likewise.
35403         [POSIX] (si_*): Do not allow pattern.
35404         [POSIX] (W*): Likewise.
35405         [POSIX] (P_*): Likewise.
35406         [POSIX] (BUS_*): Likewise.
35407         [POSIX] (CLD_*): Likewise.
35408         [POSIX] (FPE_*): Likewise.
35409         [POSIX] (ILL_*): Likewise.
35410         [POSIX] (POLL_*): Likewise.
35411         [POSIX] (SEGV_*): Likewise.
35412         [POSIX] (SI_*): Likewise.
35413         [POSIX] (TRAP_*): Likewise.
35414         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35415         variable.
35417 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
35419         [BZ #12926]
35420         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35421         infinite loop when __recvmsg returns 0.
35423 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
35425         * CANCEL-FCT-WAIVE: Remove file.
35426         * CANCEL-FILE-WAIVE: Likewise.
35428         [BZ #14132]
35429         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35430         instead of INTVARDEF.
35431         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35432         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35433         rtld_hidden_data_def instead of INTVARDEF.
35434         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35435         * elf/dl-deps.c (expand_dst): Likewise.
35436         * elf/dl-load.c (_dl_dst_count): Likewise.
35437         (_dl_dst_substitute): Likewise.
35438         (decompose_rpath): Likewise.
35439         (_dl_init_paths): Likewise.
35440         (open_path): Likewise.
35441         (_dl_map_object): Likewise.
35442         * elf/rtld.c (dl_main): Likewise.
35443         (process_dl_audit): Likewise.
35444         (process_envvars): Likewise.
35445         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35446         Remove declaration.
35447         (__libc_enable_secure): Use rtld_hidden_proto.
35449 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35451         * elf/dl-load.c
35452         (add_path): New function broken out of _dl_rtld_di_serinfo.
35453         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
35455 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35457         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35458         parentheses around macro arguments.
35459         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35460         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35461         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35462         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35463         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35464         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35465         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35466         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35467         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35469         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35470         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35471         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35472         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35473         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35474         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35475         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35476         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35477         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35478         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35479         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35480         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35481         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35482         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35483         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35484         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35485         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35487         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35488         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35489         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35490         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35491         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35492         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35493         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35494         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35495         Likewise.
35496         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35497         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35498         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35499         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35500         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35501         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35502         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35503         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35504         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35505         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35506         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35507         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35508         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35509         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35510         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35511         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35512         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35513         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35514         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35515         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35516         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35517         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35518         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35519         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35520         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35521         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35522         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35523         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35524         (_FP_FRAC_SRS_1): Likewise.
35525         (_FP_FRAC_CLZ_1): Likewise.
35526         (_FP_MUL_MEAT_1_imm): Likewise.
35527         (_FP_MUL_MEAT_1_wide): Likewise.
35528         (_FP_MUL_MEAT_1_hard): Likewise.
35529         (_FP_SQRT_MEAT_1): Likewise.
35530         (_FP_FRAC_ASSEMBLE_1): Likewise.
35531         (_FP_FRAC_DISASSEMBLE_1): Likewise.
35532         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35533         (__FP_CLZ_2): Likewise.
35534         (_FP_MUL_MEAT_2_wide): Likewise.
35535         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35536         (_FP_MUL_MEAT_2_gmp): Likewise.
35537         (_FP_MUL_MEAT_2_120_240_double): Likewise.
35538         (_FP_SQRT_MEAT_2): Likewise.
35539         (_FP_FRAC_ASSEMBLE_2): Likewise.
35540         (_FP_FRAC_DISASSEMBLE_2): Likewise.
35541         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35542         (_FP_FRAC_CLZ_4): Likewise.
35543         (_FP_MUL_MEAT_4_wide): Likewise.
35544         (_FP_MUL_MEAT_4_gmp): Likewise.
35545         (_FP_SQRT_MEAT_4): Likewise.
35546         (_FP_FRAC_ASSEMBLE_4): Likewise.
35547         (_FP_FRAC_DISASSEMBLE_4): Likewise.
35548         * soft-fp/op-common.h (_FP_CMP): Likewise.
35549         (_FP_CMP_EQ): Likewise.
35550         (_FP_CMP_UNORD): Likewise.
35551         (_FP_TO_INT): Likewise.
35552         (_FP_FROM_INT): Likewise.
35553         [!__FP_CLZ] (__FP_CLZ): Likewise.
35554         (_FP_DIV_HELP_imm): Likewise.
35555         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35556         Likewise.
35557         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35558         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35559         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35560         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35561         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35563         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35565         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35566         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35567         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35568         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35569         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35570         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35571         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35572         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35573         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35574         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35575         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35576         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35577         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35578         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35586         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35587         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35588         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35590         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35591         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35592         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35593         (FP_UNPACK_RAW_SP): Likewise.
35594         (FP_PACK_RAW_S): Likewise.
35595         (FP_PACK_RAW_SP): Likewise.
35596         (FP_UNPACK_S): Likewise.
35597         (FP_UNPACK_SP): Likewise.
35598         (FP_UNPACK_SEMIRAW_S): Likewise.
35599         (FP_UNPACK_SEMIRAW_SP): Likewise.
35600         (FP_PACK_S): Likewise.
35601         (FP_PACK_SP): Likewise.
35602         (FP_PACK_SEMIRAW_S): Likewise.
35603         (FP_PACK_SEMIRAW_SP): Likewise.
35604         (_FP_SQRT_MEAT_S): Likewise.
35605         (FP_CMP_S): Likewise.
35606         (FP_CMP_EQ_S): Likewise.
35607         (FP_CMP_UNORD_S): Likewise.
35608         (FP_TO_INT_S): Likewise.
35609         (FP_FROM_INT_S): Likewise.
35611         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35613         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35614         (FP_EX_INVALID_IMZ): Likewise.
35615         (FP_EX_INVALID_IMZ_FMA): Likewise.
35616         (FP_EX_INVALID_ISI): Likewise.
35617         (FP_EX_INVALID_ZDZ): Likewise.
35618         (FP_EX_INVALID_IDI): Likewise.
35619         (FP_EX_INVALID_SQRT): Likewise.
35620         (FP_EX_INVALID_CVI): Likewise.
35621         (FP_EX_INVALID_VC): Likewise.
35622         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35623         "invalid" exceptions.
35624         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35625         (_FP_ADD_INTERNAL): Likewise.
35626         (_FP_MUL): Likewise.
35627         (_FP_FMA): Likewise.
35628         (_FP_DIV): Likewise.
35629         (_FP_CMP_CHECK_NAN): Likewise.
35630         (_FP_SQRT): Likewise.
35631         (_FP_TO_INT): Likewise.
35632         (FP_EXTEND): Likewise.
35634 2014-10-09  Allan McRae  <allan@archlinux.org>
35636         * po/fr.po: Update French translation from translation project.
35638 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
35640         [BZ #14132]
35641         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35642         of INTDEF.
35643         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35644         (__cxa_atexit): Use libc_hidden_proto.
35645         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35647         [BZ #14132]
35648         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35649         declaration.
35650         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35651         [!_ISOMAC] (__iswspace_l_internal): Likewise.
35652         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35653         [!_ISOMAC] (__iswctype_internal): Likewise.
35654         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35655         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35656         alias.
35657         (fcntl): Remove __fcntl_internal alias.
35658         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35659         __connect_internal alias.
35660         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35661         Likewise.
35663         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35664         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35665         FP_DENORM_ZERO.
35666         (_FP_CHECK_FLUSH_ZERO): New macro.
35667         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35668         (_FP_CMP): Likewise.
35669         (_FP_CMP_EQ): Likewise.
35670         (_FP_TO_INT): Do not set inexact for subnormal arguments if
35671         FP_DENORM_ZERO.
35672         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35673         (FP_TRUNC): Likewise.
35675         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35676         treated as invalid conversion, not as normal exponent.
35678         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35679         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
35680         (_FP_CMP_EQ): Likewise.
35681         (_FP_CMP_UNORD): Likewise.
35682         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35683         (FP_CMP_EQ_D): Likewise.
35684         (FP_CMP_UNORD_D): Likewise.
35685         * soft-fp/extended.h (FP_CMP_E): Likewise.
35686         (FP_CMP_EQ_E): Likewise.
35687         (FP_CMP_UNORD_E): Likewise.
35688         * soft-fp/quad.h (FP_CMP_Q): Likewise.
35689         (FP_CMP_EQ_Q): Likewise.
35690         (FP_CMP_UNORD_Q): Likewise.
35691         * soft-fp/single.h (FP_CMP_S): Likewise.
35692         (FP_CMP_EQ_S): Likewise.
35693         (FP_CMP_UNORD_S): Likewise.
35694         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35695         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35696         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35697         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35698         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35699         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35700         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35701         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35702         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35703         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35704         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35705         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35706         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35707         to FP_CMP_Q.
35708         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35709         FP_CMP_Q.
35710         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35711         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35712         FP_CMP_EQ_Q.
35713         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35714         FP_CMP_Q.
35715         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35716         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35717         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35718         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35719         FP_CMP_EQ_Q.
35720         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35721         FP_CMP_Q.
35722         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35723         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35724         FP_CMP_EQ_Q.
35725         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35726         FP_CMP_Q.
35727         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35728         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35729         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35730         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35731         FP_CMP_EQ_Q.
35733         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35734         a subnormal result, set the underflow exception if trapping on
35735         underflow is enabled.
35736         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35737         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35738         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35739         redefine to 0.
35740         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35741         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35742         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35743         * soft-fp/extendxftf2.c (__extendxftf2): Use
35744         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35746         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35747         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35748         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35749         FP_HANDLE_EXCEPTIONS.
35750         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35751         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35752         FP_HANDLE_EXCEPTIONS.
35753         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35754         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35755         FP_HANDLE_EXCEPTIONS.
35756         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35757         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35758         FP_HANDLE_EXCEPTIONS.
35760 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
35762         [BZ #14132]
35763         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35764         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35765         use INTUSE.
35766         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35767         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35768         Remove alias.
35769         (__adjtimex): Define using libc_hidden_ver.
35770         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35771         Remove declaration.
35772         (ntp_gettime): Call __adjtimex directly.
35773         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35774         Remove declaration.
35775         (ntp_gettimex): Call __adjtimex directly.
35776         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35777         __adjtimex_internal alias.
35779 2014-10-08  Roland McGrath  <roland@hack.frob.com>
35781         [BZ #17460]
35782         * nscd/nscd.c (more_help): Rewrite list of tables collection
35783         using xstrdup and asprintf.
35785         * nscd/nscd_conf.c: Remove local xstrdup declaration.
35787 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35788             Roland McGrath  <roland@hack.frob.com>
35790         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35791         (do_lookup_unique): ... local function 'enter' here; update callers.
35793 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
35795         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35796         compat_symbol calls on [SHARED].
35797         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35798         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35799         Remove.
35800         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35801         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35802         (oldsetrlimit): Remove.
35803         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35805         (lchown): New syscall entry.
35806         (oldsetrlimit): Remove.
35807         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35808         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35809         (oldsetrlimit): Remove.
35810         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35812         [BZ #14138]
35813         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35814         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35815         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35816         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35817         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35818         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35819         (fchown): Likewise.
35820         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35821         (fchown): Likewise.
35822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35823         Likewise.
35825 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35827         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35828         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35829         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35830         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35831         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35832         Likewise.
35833         (__old_sem_post): Likewise.
35835 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
35837         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35838         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35839         HAVE_CLOCK_GETTIME_VSYSCALL macros.
35840         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35841         Use INLINE_VSYSCALL macro.
35842         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35843         __vdso_clock_gettime.
35844         * sysdeps/unix/sysv/linux/tile/init-first.c
35845         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35846         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35847         __vdso_clock_gettime.
35849         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35850         to set up frame more cleanly.
35852         * sysdeps/tile/memcmp.c: New file.
35854         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35856         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35857         * sysdeps/tile/tilegx/strcasestr.c: New file.
35858         * sysdeps/tile/tilegx/strnlen.c: New file.
35859         * sysdeps/tile/tilegx/strstr.c: New file.
35861         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35863 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
35865         * nptl/tst-setuid3.c: Write errors to stdout.
35867 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35869         * elf/dl-deps.c
35870         (preload): New functions broken out of _dl_map_object_deps.
35871         (_dl_map_object_deps):  Remove a nested function. Update call sites.
35873 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
35875         [BZ #14138]
35876         * sysdeps/unix/sysv/linux/execve.c: Remove file.
35877         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35879 2014-10-01  Steve Ellcey  <sellcey@mips.com>
35881         * sysdeps/mips/strcmp.S: New.
35883 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
35885         [BZ #14138]
35886         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35887         (linkat): Likewise.
35888         (mkdirat): Likewise.
35889         (readlinkat): Likewise.
35890         (renameat): Likewise.
35891         (symlinkat): Likewise.
35892         (unlinkat): Likewise.
35893         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35894         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35895         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35896         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35897         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35898         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35899         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35901 2014-09-30  Will Newton  <will.newton@linaro.org>
35903         * math/math.h: Define long double math functions if
35904         _LIBC_TEST is defined.
35905         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35907         * localedata/Makefile: Move assignment to tests-special
35908         into an ifdef testing run-built-tests.
35909         * timezone/Makefile: Likewise.
35911 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
35913         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35914         with $(BASH) not $(SHELL).
35916 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
35917             Matthew LeGendre  <legendre1@llnl.gov>
35919         [BZ #17411]
35920         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35921         l_reloc_result.
35923 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
35925         * stdio-common/printf_fp.c
35926         (hack_digit): New function, broken out of ...
35927         (__printf_fp): ... local function here.  Update call sites.
35928         hack_digit now takes an additional parameter that is a pointer
35929         to a struct of the referenced locals.  Those locals moved inside
35930         the struct and references updated.
35932 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
35934         * aclocal.m4: Require autoconf 2.69.
35935         * configure: Regenerated.
35936         * sysdeps/aarch64/configure: Likewise.
35937         * sysdeps/alpha/configure: Likewise.
35938         * sysdeps/arm/armv7/configure: Likewise.
35939         * sysdeps/arm/configure: Likewise.
35940         * sysdeps/ia64/configure: Likewise.
35941         * sysdeps/mach/configure: Likewise.
35942         * sysdeps/mips/configure: Likewise.
35943         * sysdeps/s390/configure: Likewise.
35944         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35947         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35948         file.
35949         * sysdeps/ia64/configure.ac: Likewise.
35951 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
35953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35954         specify symbol version for ld.so.  Do not include entry for
35955         libpthread.
35956         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35957         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35958         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35960         [BZ #14171]
35961         * Makeconfig [$(build-shared) = yes]
35962         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35963         makefiles.
35964         [$(build-shared) = yes && $(soversions.mk-done) = t]
35965         ($(common-objpfx)gnu/lib-names.h): Remove rule.
35966         [$(build-shared) = yes && $(soversions.mk-done) = t]
35967         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
35968         to Makerules.
35969         [$(build-shared) = yes && $(soversions.mk-done) = t]
35970         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35971         here.
35972         [$(build-shared) = yes && $(soversions.mk-done) = t]
35973         (common-generated): Don't append gnu/lib-names.h and
35974         gnu/lib-names.stmp here.
35975         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35976         (lib-names-h-abi): New variable.
35977         [$(build-shared) = yes && $(soversions.mk-done) = t]
35978         (lib-names-stmp-abi): Likewise.
35979         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35980         abi-variants] (before-compile): Append
35981         $(common-objpfx)$(lib-names-h-abi).
35982         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35983         abi-variants] (common-generated): Append gnu/lib-names.h.
35984         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35985         abi-variants] (install-others-nosubdir): Depend on
35986         $(inst_includedir)/$(lib-names-h-abi).
35987         [$(build-shared) = yes && $(soversions.mk-done) = t &&
35988         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35989         [$(build-shared) = yes && $(soversions.mk-done) = t]
35990         ($(common-objpfx)$(lib-names-h-abi)): New rule.
35991         [$(build-shared) = yes && $(soversions.mk-done) = t]
35992         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35993         [$(build-shared) = yes && $(soversions.mk-done) = t]
35994         (common-generated): Append $(lib-names-h-abi) and
35995         $(lib-names-stmp-abi).
35996         * scripts/lib-names.awk: Do not handle multi being set.
35997         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35998         Remove variable.
35999         (abi-lp64_be-ld-soname): Likewise.
36000         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
36001         Likewise.
36002         (abi-hard-ld-soname): Likewise.
36003         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
36004         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
36005         Remove variable.
36006         (abi-o32_hard-ld-soname): Likewise.
36007         (abi-o32_soft_2008-ld-soname): Likewise.
36008         (abi-o32_hard_2008-ld-soname): Likewise.
36009         (abi-n32_soft-ld-soname): Likewise.
36010         (abi-n32_hard-ld-soname): Likewise.
36011         (abi-n32_soft_2008-ld-soname): Likewise.
36012         (abi-n32_hard_2008-ld-soname): Likewise.
36013         (abi-n64_soft-ld-soname): Likewise.
36014         (abi-n64_hard-ld-soname): Likewise.
36015         (abi-n64_soft_2008-ld-soname): Likewise.
36016         (abi-n64_hard_2008-ld-soname): Likewise.
36017         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
36018         Likewise.
36019         (abi-64-v2-ld-soname): Likewise.
36020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
36021         ld.so entries.
36022         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
36023         variable.
36024         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
36025         entry.
36026         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
36027         variable.
36028         (abi-64-ld-soname): Likewise.
36029         (abi-x32-ld-soname): Likewise.
36030         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
36031         entry.
36032         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36034 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
36036         [BZ #14138]
36037         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
36038         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
36039         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
36040         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
36041         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
36042         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
36043         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
36044         syscall entry for GLIBC_2.2 symbol version.
36045         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
36046         Likewise.
36047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
36048         (setrlimit): Likewise.
36049         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
36050         Likewise.
36052 2014-09-23  Will Newton  <will.newton@linaro.org>
36054         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
36055         _LINUX_ARM_SYSDEP_H include guard too.
36056         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
36057         define.
36059 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36061         * sysdeps/unix/sysv/linux/eventfd.c:
36062         Make first argument unsigned.
36063         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
36064         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
36066 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
36068         [BZ #16852]
36069         * socket/recvmmsg.c (recvmmsg): Drop const argument.
36070         * socket/sys/socket.h: Likewise.
36071         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
36073 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36075         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
36077 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
36079         * time/tst-ftime.c: New test.
36080         * time/Makefile (tests): Add tst-ftime.
36082 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
36084         * soft-fp/extended.h: Fix comment formatting.
36085         * soft-fp/op-1.h: Likewise.
36086         * soft-fp/op-2.h: Likewise.
36087         * soft-fp/op-4.h: Likewise.
36088         * soft-fp/op-8.h: Likewise.
36089         * soft-fp/op-common.h: Likewise.
36090         * soft-fp/soft-fp.h: Likewise.
36092         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36094 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
36096         [BZ #6652]
36097         * Makeconfig (soversions-default-setname): Remove variable.
36098         ($(common-objpfx)soversions.i): Don't pass default_setname to
36099         soversions.awk.
36100         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36101         oldest_abi to abi-versions.awk.
36102         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36103         * config.make.in (oldest-abi): Remove variable.
36104         * configure.ac (--enable-oldest-abi): Remove configure option.
36105         * configure: Regenerated.
36106         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36107         text.
36108         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36109         * scripts/soversions.awk: Do not handle default_setname variable.
36110         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36111         variable.
36112         * sysdeps/mach/hurd/configure: Regenerated.
36113         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36114         variable.
36115         * sysdeps/unix/sysv/linux/configure: Regenerated.
36117 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36119         * elf/Makefile (CFLAGS-interp.c): Remove.
36120         ($(elf-objpfx)runtime-linker.h): Generate header with linker
36121         path string.
36122         * elf/interp.c: Include generated runtime-linker.h
36124         * Makerules (lib%.so): Don't include $(+interp) in
36125         prerequisites.
36126         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36127         * dlfcn/eval.c: Remove file.
36129         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36130         macros.
36132         [BZ #17266]
36133         * misc/sys/cdefs.h: Define __extern_always_inline for clang
36134         4.2 and newer.
36136         [BZ #17370]
36137         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
36139 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
36140             Jakub Jelinek  <jakub@redhat.com>
36142         [BZ #17266]
36143         * libio/stdio.h: Check definition of __fortify_function
36144         instead of __extern_always_inline to include bits/stdio2.h.
36145         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
36146         check if __extern_always_inline is defined.
36147         [__USE_MISC || __USE_XOPEN]: Likewise.
36148         [__USE_ISOC99] Likewise.
36149         * misc/sys/cdefs.h (__fortify_function): Define only if
36150         __extern_always_inline is defined.
36151         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
36152         __extern_always_inline and __extern_inline only for g++-4.3
36153         and newer or a compatible gcc.
36155 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
36157         [BZ #17371]
36158         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36159         last change to handle zero prefix length.
36161 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36163         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
36164         _SC_REGEX_VERSION.
36166         * posix/getconf.c (vars): Add _POSIX_IPV6 and
36167         _POSIX_RAW_SOCKETS.
36169 2014-09-13  Allan McRae  <allan@archlinux.org>
36171         * po/ru.po: Update Russian translation from translation project.
36173 2014-09-12  Roland McGrath  <roland@hack.frob.com>
36175         * locale/programs/locale.c (show_locale_vars): Inline local function
36176         into its sole call site.  Clean up some style nits.
36177         (print_item): New function, broken out of ...
36178         (show_info): ... local function here.  Clean up style nits.
36180         * locale/programs/ld-ctype.c (set_one_default): New function, broken
36181         out of ...
36182         (set_class_defaults): ... local function set_default here.
36183         Define set_default as a macro locally to pass constant parameters.
36184         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
36185         rather than a shared local.
36187         * stdlib/rpmatch.c (try): New function, broken out of ...
36188         (rpmatch): ... local function here.  Also, prototypify definition.
36190 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
36192         * scripts/soversions.awk: Do not handle configuration names.
36193         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
36194         vendor and os variables to soversions.awk.
36195         * configure.ac: Do not modify gnu-* host_os.
36196         * configure: Regenerated
36197         * shlib-versions: Remove first column with configuration names.
36198         * nptl/shlib-versions: Likewise.
36199         * nptl_db/shlib-versions: Likewise.
36200         * sysdeps/hppa/shlib-versions: Likewise.
36201         * sysdeps/m68k/shlib-versions: Likewise.
36202         * sysdeps/mach/hurd/shlib-versions: Likewise.
36203         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
36204         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
36205         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
36206         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
36207         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
36208         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
36209         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
36210         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
36211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36212         Likewise.
36213         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36214         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36215         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36216         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36217         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36218         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
36219         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36220         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36223         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
36224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36225         Regenerated.
36226         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
36227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36228         Condition symbol version definitions on [HAVE_ELFV2_ABI].
36230         * shlib-versions: Remove OS-specific entries.  Moved to files in
36231         sysdeps.
36232         * sysdeps/mach/hurd/shlib-versions: New file.
36233         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36235         * nptl/shlib-versions: Remove architecture-specific entries.
36236         Moved to files in sysdeps.
36237         * shlib-versions: Likewise.
36238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
36239         file.
36240         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36241         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36242         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36243         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36245         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
36246         (UDP_NO_CHECK6_RX): Likewise.
36248 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36250         * sysdeps/posix/sysconf.c (__sysconf): Spell
36251         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
36253 2014-08-12  Florian Weimer  <fweimer@redhat.com>
36255         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
36256         loading.
36257         * iconv/Versions (__gconv_transliterate): Export for use from
36258         gconv modules.
36259         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
36260         (struct __gconv_trans_data, __gconv_trans_fct,
36261         __gconv_trans_context_fct, __gconv_trans_query_fct,
36262         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
36263         definitions.
36264         (struct __gconv_step_data): Remove __trans member.
36265         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
36266         longer hidden.  Remove unused trans_data argument.
36267         * iconv/gconv_int.h (struct trans_struct): Remove definition.
36268         (__gconv_translit_find): Remove declaration.
36269         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
36270         prototype.
36271         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
36272         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
36273         trans_data argument.  Add hidden definition.
36274         (__gconv_translit_find): Remove.
36275         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
36276         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
36277         * iconv/skeleton.c: Remove transliteration initialization.
36278         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
36279         __gconv_step_data initialization.
36280         * libio/iofwide.c (__libio_translit_): Remove.
36281         (_IO_fwide): Adjust struct __gconv_step_data initialization.
36282         * wcsmbs/btowc.c (__btowc): Likewise.
36283         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36284         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36285         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
36286         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
36287         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
36288         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
36289         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
36290         * wcsmbs/wctob.c (wctob): Likewise.
36292 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
36294         [BZ #16194]
36295         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
36296         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
36297         register usage.
36298         * sysdeps/x86/Makefile: Adjust.
36300 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36301             Roland McGrath  <roland@hack.frob.com>
36303         * locale/weight.h: Add include guard.
36304         (findidx): Make static rather than auto; take new parameters
36305         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
36306         * locale/weightwc.h: Likewise.
36307         * posix/fnmatch_loop.c
36308         (FCT): Change type of EXTRA from int32_t to wint_t.
36309         Don't include either header inside the function.
36310         Call FINDIDX rather than findidx, and pass new arguments.
36311         #undef FINDIDX at the end of the file.
36312         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36313         FINDIDX before including fnmatch_loop.c for the non-wide version.
36314         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36315         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36316         for the wide version.
36317         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36318         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36319         Pass new arguments to findidx.
36320         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36321         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36322         Don't #include it inside the function.  Pass new arguments to findidx.
36323         * posix/regex_internal.h
36324         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36325         (re_string_elem_size_at): Don't #include it inside the function.
36326         Pass new arguments to findidx.
36327         * string/strcoll_l.c: #include WEIGHT_H at top level.
36328         (get_next_seq): Don't #include it inside the function.
36329         Pass new arguments to findidx.
36330         (get_next_seq_nocache): Likewise.
36331         * string/strxfrm_l.c: #include WEIGHT_H at top level.
36332         (STRXFRM): Don't #include it inside the function.
36333         Pass new arguments to findidx.
36335 2014-09-11  Florian Weimer  <fweimer@redhat.com>
36337         [BZ #17344]
36338         * malloc/malloc.c (unlink): Turn asserts into a call to
36339         malloc_printerr.
36341 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
36343         [BZ #17370]
36344         * libio/wfileops (do_ftell_wide): Free OUT.
36346 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
36348         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36350 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36352         [BZ #17363]
36353         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36354         group if the current group is empty.
36356 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36358         * benchtests/bench-memset.c (test_main): Add more test from size
36359         from 32 to 512 bytes.
36360         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36361         Add POWER8 memset object.
36362         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36363         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36364         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36365         implementation.
36366         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36367         Likewise.
36368         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36369         multiarch POWER8 memset optimization.
36370         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36371         POWER8 memset optimization.
36373         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36374         Remove bzero multiarch objects.
36375         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36376         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36377         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36378         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36379         Remove define.
36380         [__bzero]: Redefine to specific name.
36381         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36382         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36383         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36384         define.
36385         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36386         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36388 2014-09-10  Florian Weimer  <fweimer@redhat.com>
36390         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36391         warnings into errors.
36393         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36394         __cxa_thread_atexit_impl prototype.
36396 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36398         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36399         Fix capitalization of error message.
36401 2014-09-09  Steve Ellcey  <sellcey@mips.com>
36403         * sysdeps/mips/preconfigure: Modify ABI tests.
36405 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
36407         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36409 2014-09-07  Roland McGrath  <roland@hack.frob.com>
36410             Carlos O'Donell  <carlos@systemhalted.org>
36412         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36413         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36414         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36415         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36416         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36417         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36418         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36419         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36420         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36421         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36422         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36423         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36424         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36425         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36426         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36427         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36428         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36429         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36430         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36431         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36432         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36433         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36434         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36435         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36436         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36437         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36438         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36439         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36440         Deconditionalize the code that was previously under [RESET_PID].
36441         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36442         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36443         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36444         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36445         include sysdep.h.
36447 2014-09-08  Allan McRae  <allan@archlinux.org>
36449         * version.h (RELEASE): Set to "development".
36450         (VERSION): Set to "2.20.90"
36452 2014-09-07  Allan McRae  <allan@archlinux.org
36454         * version.h (RELEASE): Set to "stable".
36455         (VERSION): Set to "2.20"
36456         * include/features.h (__GLIBC_MINOR__): Set to 20.
36458         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36459         Liebler.
36461         * po/ko.po: Update Korean translation from translation project.
36463 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
36465         [BZ #17354]
36466         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36467         macro for handling signed relocations.
36469 2014-09-03  Florian Weimer  <fweimer@redhat.com>
36471         [BZ #17325]
36472         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36473         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36474         assert.
36475         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36476         * iconvdata/ibm935.c (BODY): Likewise.
36477         * iconvdata/ibm937.c (BODY): Likewise.
36478         * iconvdata/ibm939.c (BODY): Likewise.
36479         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36480         assert.
36481         * iconvdata/Makefile (iconv-test.out): Pass module list to test
36482         script.
36483         * iconvdata/run-iconv-test.sh: New test loop for checking for
36484         decoder crashers.
36486 2014-09-02  Khem Raj  <raj.khem@gmail.com>
36488         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36489         libm_hidden_ver.
36491 2014-09-01  Allan McRae  <allan@archlinux.org>
36493         * po/eo.po: Update Esperanto translation from translation project.
36495         * po/ca.po: Update Catalan translation from translation project.
36497 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36499         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36500         __proc_dostop call.
36502 2014-08-27  Mark Wielaard  <mjw@redhat.com>
36504         [BZ #17319]
36505         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36506         to call set_thread_area instead of hand written asm.
36507         (__NR_set_thread_area): Removed define.
36508         (TLS_FLAG_WRITABLE): Likewise.
36509         (__ASSUME_SET_THREAD_AREA): Remove check.
36510         (TLS_EBX_ARG): Remove define.
36511         (TLS_LOAD_EBX): Likewise.
36513 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36515         Simplify atomicity of socket creation in bind.
36517         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36518         looking up the name after linking the file.
36520 2014-08-27  Allan McRae  <allan@archlinux.org>
36522         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36524 2014-08-26  Florian Weimer  <fweimer@redhat.com>
36526         [BZ #17187]
36527         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36528         trans_compare, open_translit, __gconv_translit_find):
36529         Remove module loading code.
36531 2014-08-26  Allan McRae  <allan@archlinux.org>
36533         * po/vi.po: Update Vietnamese translation from translation project.
36535         * po/uk.po: Update Ukrainian translation from translation project.
36537         * po/fr.po: Update French translation from translation project.
36539         * po/ru.po: Update Russian translation from translation project.
36541         * po/pl.po: Update Polish translation from translation project.
36543         * po/cs.po: Update Czech translation from translation project.
36545         * po/de.po: Update German translation from translation project.
36547         * po/bg.po: Update Bulgarian translation from translation project.
36549         * po/sv.po: Update Sweedish translation from translation project.
36551         * po/nl.po: Update Dutch translation from translation project.
36553         * po/es.po: Update Spanish translation from translation project.
36555 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
36557         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36559         * catgets/Makefile (CPPFLAGS-gencat): Remove.
36560         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36561         (CPPFLAGS-iconvconfig): Likewise.
36562         * timezone/Makefile (CPPFLAGS-zic): Likewise.
36564         * include/libc-symbols.h: Remove unnecessary check for
36565         NOT_IN_libc.
36566         * nptl/pthreadP.h: Likewise.
36567         * sysdeps/aarch64/setjmp.S: Likewise.
36568         * sysdeps/alpha/setjmp.S: Likewise.
36569         * sysdeps/arm/sysdep.h: Likewise.
36570         * sysdeps/i386/setjmp.S: Likewise.
36571         * sysdeps/m68k/setjmp.c: Likewise.
36572         * sysdeps/posix/getcwd.c: Likewise.
36573         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36574         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36575         * sysdeps/s390/s390-32/setjmp.S: Likewise.
36576         * sysdeps/s390/s390-64/setjmp.S: Likewise.
36577         * sysdeps/sh/sh3/setjmp.S: Likewise.
36578         * sysdeps/sh/sh4/setjmp.S: Likewise.
36579         * sysdeps/unix/alpha/sysdep.h: Likewise.
36580         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36581         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36582         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36583         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36586         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36587         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36588         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36590         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36591         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36592         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36593         * sysdeps/x86_64/setjmp.S: Likewise.
36595 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
36597         [BZ #17263]
36598         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36599         <stdint.h>.
36600         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36601         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36603 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
36605         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36607         [BZ #17262]
36608         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36609         and __x86_64__ when disabling x87 inline functions.
36611 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36613         [BZ #17259]
36614         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36615         asm statement with __cpuid_count.
36617 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
36619         * configure.ac: Change __ehdr_start code to dereference the struct.
36620         Run readelf on the output to look for relocations.
36621         * configure: Regenerated.
36623 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
36625         [BZ #17261]
36626         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36627         value to 0.
36628         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36630 2014-08-12  Roland McGrath  <roland@hack.frob.com>
36632         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36634 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
36636         [BZ #16892]
36637         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36638         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36640 2014-08-12  Sean Anderson  <seanga2@gmail.com>
36642         * malloc/malloc.c: Fix typo in comment.
36644 2014-08-09  Allan McRae  <allan@archlinux.org>
36646         * Regenerate libc.po.
36648 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
36650         * intl/tst-gettext2.sh: Check every lang file for creation.
36652 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36654         * sysdeps/aarch64/fpu/math_private.h
36655         (libc_feholdsetround_noex_aarch64_ctx): New function.
36657 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
36659         * sysdeps/arm/armv6/strcpy.S (strcpy):
36660         Fix performance issue in misaligned cases.
36662 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36664         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36665         Move definition from termios.h.
36666         (struct termio): Likewise.
36667         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36668         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36669         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36670         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36671         Likewise.
36672         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36673         Move definition to ioctl-types.h
36674         (struct termio): Likewise.
36675         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36676         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36677         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36678         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36679         Likewise.
36681 2014-08-05  Richard Henderson  <rth@redhat.com>
36683         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36684         exceptions.
36685         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36686         Add fraiseexcpt.
36687         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36688         Use __feraiseexcept.
36689         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36690         Protect libm symbols with IS_IN_libm.
36692         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36694 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
36696         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36698 2014-08-04  Will Newton  <will.newton@linaro.org>
36700         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36701         file.
36703 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
36705         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36706         variants for each function.
36708 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36710         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36711         appended ...
36712         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36713         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36714         appended ...
36715         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36716         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36717         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36718         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36719         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36720         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36721         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36722         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36723         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36724         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36725         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36726         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36727         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36728         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36729         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36730         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36731         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36732         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36733         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36734         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36735         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36736         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36737         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36738         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36739         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36740         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36741         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36742         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36743         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36744         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36745         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36746         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36747         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36748         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36749         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36750         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36751         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36752         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36753         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36754         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36755         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36756         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36757         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36758         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36759         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36760         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36761         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36762         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36763         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36764         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36765         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36766         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36767         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36768         Update #include.
36769         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36770         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36772 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36774         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36775         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36776         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36777         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36778         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36779         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36781 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36783         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36784         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36785         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36786         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36788 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36790         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36791         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36792         (__libc_vfork): Define function under this name.
36793         (__vfork): Define as an alias.
36794         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36795         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36797 2014-08-04  Roland McGrath  <roland@hack.frob.com>
36799         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36800         that was previously under [RESET_PID].
36801         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36803 2014-08-04  Andreas Schwab  <schwab@suse.de>
36805         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36807 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
36809         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36810         (main): Likewise.
36812 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36814         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36816 2014-08-01  Richard Henderon  <rth@redhat.com>
36818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36819         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36820         typo in exact zero test.
36821         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36822         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36823         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36825 2014-08-01  Roland McGrath  <roland@hack.frob.com>
36827         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36828         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36829         * sysdeps/arm/sysdep.h: ... here.
36830         [!__ASSEMBLER__]: Include <stdint.h>.
36832 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36834         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36835         (HAVE_WCTYPE_H): Likewise.
36836         (HAVE_ISWCTYPE): Likewise.
36837         (ENABLE_NLS): Likewise.
36838         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36839         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36841         * posix/regex_internal.c: Check if DEBUG is defined and is
36842         set.
36844         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36845         (HAVE_MBSRTOWCS): Likewise.
36846         * posix/fnmatch.c: Include string.h unconditionally.
36848 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
36850         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36851         reversal.
36853 2014-07-31  Roland McGrath  <roland@hack.frob.com>
36855         * sysdeps/generic/safe-fatal.h: New file.
36856         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36857         * nptl/forward.c: Include it.
36858         (__pthread_unwind): Use __safe_fatal as default action, rather
36859         than a bogus use of INTERNAL_SYSCALL that could never work.
36861         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36862         * configure.ac (libc_cv_builtin_trap): New test.
36863         * configure: Regenerated.
36864         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36865         (ABORT_INSTRUCTION): Define using __builtin_trap.
36867         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36868         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36869         * sysdeps/nptl/nptl-signals.h: New file.
36870         * nptl/pthreadP.h: Include <nptl-signals.h>.
36872 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36874         * sysdeps/s390/s390-64/utf16-utf32-z9.c
36875         (ONE_DIRECTION): Define.
36876         * sysdeps/s390/s390-64/utf8-utf16-z9.c
36877         (ONE_DIRECTION): Define.
36878         * sysdeps/s390/s390-64/utf8-utf32-z9.c
36879         (ONE_DIRECTION): Define.
36881 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
36883         * sysdeps/s390/Makefile: Delete file.
36884         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36885         * sysdeps/s390/__longjmp.c: Delete file.
36886         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36887         Remove fields __flags and __reserved.
36888         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36889         and add versioning.
36890         * sysdeps/s390/rtld-__longjmp.c: Delete file.
36891         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36892         * sysdeps/s390/rtld-setjmp.S: Likewise.
36893         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36894         * sysdeps/s390/s390-32/__longjmp.c: ... here.
36895         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36896         * sysdeps/s390/s390-32/setjmp.S: ... here.
36897         Add versioning.
36898         (__sigsetjmp): Remove setting __flags field.
36899         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36900         * sysdeps/s390/s390-64/__longjmp.c: ... here.
36901         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36902         * sysdeps/s390/s390-64/setjmp.S: ... here.
36903         Add versioning.
36904         (__sigsetjmp): Remove setting __flags field.
36905         * sysdeps/s390/setjmp.S: Delete file.
36906         * sysdeps/s390/sigjmp.c: Likewise.
36907         * sysdeps/s390/v1-longjmp.c: Likewise.
36908         * sysdeps/s390/v1-setjmp.h: Likewise.
36909         * sysdeps/s390/v1-sigjmp.c: Likewise.
36910         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36911         Remove v1-longjmp_chk.
36912         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36913         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36914         Include debug/longjmp_chk.c and add versioning.
36915         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36916         Include nptl/pt-longjmp.c and add versioning.
36917         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36918         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36919         Include __longjmp.c.
36920         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36921         Move to ...
36922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36923         (__getcontext): Remove setting __flags field.
36924         Add versioning.
36925         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36926         Don't restore upper high grps.
36927         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36928         Likewise.
36929         (__swapcontext): Remove setting uc_flags field.
36930         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36931         Delete file.
36932         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36933         Include __longjmp.c.
36934         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36935         Move to ...
36936         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36937         (__getcontext): Remove setting __flags field.
36938         Add versioning.
36939         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36940         (__swapcontext): Remove setting uc_flags field.
36941         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36942         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36943         Remove fields uc_high_gprs and __reserved.
36944         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36945         New file with reverted content.
36946         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36947         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36948         Regenerated.
36949         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36950         Regenerated.
36952 2014-07-31  Andreas Schwab  <schwab@suse.de>
36954         * config.h.in (HAVE_IFUNC): Define to 0.
36955         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36956         definedness.
36958 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
36960         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36961         memmove-avx-unaligned, memcpy-avx-unaligned and
36962         mempcpy-avx-unaligned.
36963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36964         Add tests for AVX memcpy functions.
36965         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36966         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36967         memcpy_chk.
36968         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36969         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36970         memmove_chk.
36971         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36972         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36973         mempcpy_chk.
36974         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36975         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36976         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36978 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36980         [BZ #17213]
36981         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36982         powerpc64le.
36984 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
36986         [BZ #16839]
36987         * manual/llio.texi: Add section about open file description locks.
36988         * manual/examples/ofdlocks.c: Example of open file description
36989         lock usage.
36990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36991         F_OFD_SETLK, and F_OFD_SETLKW.
36993 2014-07-23  Allan McRae  <allan@archlinux.org>
36995         * po/es.po: Update Spanish translation from translation project.
36997 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
36999         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
37001 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
37003         [BZ #17078]
37004         * sysdeps/arm/dl-machine.h (elf_machine_rela)
37005         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
37006         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
37008 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
37010         [BZ #17088]
37011         * math/fesetenv.c (__fesetenv)
37012         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
37013         * math/feupdateenv.c (__feupdateenv)
37014         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
37016         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
37017         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37018         (__ASSUME_SOCKETCALL): Do not define.
37020         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
37021         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
37022         (__ASSUME_SOCKETCALL): Do not define.
37023         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
37024         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37025         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37026         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
37027         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37028         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
37029         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37030         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37032         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
37033         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
37034         (__ASSUME_SOCKETCALL): Do not define.
37035         (__ASSUME_IPC64): Define unconditionally.
37036         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37037         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37038         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
37039         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37040         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
37041         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37042         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
37043         Likewise.
37045         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
37046         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
37047         (__ASSUME_SOCKETCALL): Do not define.
37048         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
37049         (__ASSUME_FUTEX_LOCK_PI): Likewise.
37050         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37051         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
37052         (__ASSUME_REQUEUE_PI): Define unconditionally.
37053         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
37054         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
37055         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37056         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
37057         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37058         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37060         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
37061         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
37062         (__ASSUME_SOCKETCALL): Do not define.
37063         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
37064         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37065         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37066         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
37067         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37068         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37070         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
37071         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
37072         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37073         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
37074         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37075         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
37076         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37077         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37078         (__ASSUME_GETCPU_SYSCALL): Likewise.
37080         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37081         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
37082         cases for individual architectures.
37083         * sysdeps/gnu/configure: Regenerated.
37084         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37085         LIBC_SLIBDIR_RTLDDIR.
37086         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37087         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37088         LIBC_SLIBDIR_RTLDDIR.
37089         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37091         LIBC_SLIBDIR_RTLDDIR.
37092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37093         Regenerated.
37094         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37095         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37096         file.
37097         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37098         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37099         file.
37100         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37101         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37102         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37103         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37105         * sysdeps/aarch64/shlib-versions: Move to ...
37106         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37107         * sysdeps/alpha/shlib-versions: Move to ...
37108         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37109         * sysdeps/arm/shlib-versions: Move to ...
37110         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37111         * sysdeps/hppa/shlib-versions: Move all contents except for
37112         libgcc_s entry to ...
37113         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
37114         entry from ...
37115         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
37116         * sysdeps/ia64/shlib-versions: Move to ...
37117         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
37118         entry from ...
37119         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
37120         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37121         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37122         * sysdeps/microblaze/shlib-versions: Move to ...
37123         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37124         * sysdeps/mips/shlib-versions: Move to ...
37125         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
37126         entry from ...
37127         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
37128         * sysdeps/tile/shlib-versions: Move to ...
37129         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37130         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37131         from ...
37132         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
37133         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37134         entry from ...
37135         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
37137 2014-07-17  Will Newton  <will.newton@linaro.org>
37139         * sysdeps/arm/bits/atomic.h
37140         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
37141         (__arch_compare_and_exchange_bool_16_int): Likewise.
37142         (__arch_compare_and_exchange_bool_64_int): Likewise.
37144         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
37145         into an #else block.
37147 2014-07-16  Roland McGrath  <roland@hack.frob.com>
37149         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
37150         just Linux configurations.  Test empirically that the compiler sets
37151         __ARM_EABI__, rather than using the tuple to decide.
37152         * sysdeps/arm/preconfigure: Regenerated.
37153         * sysdeps/unix/sysv/linux/arm/configure: File removed.
37154         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
37155         contents appended ...
37156         * sysdeps/arm/configure.ac: ... here.
37157         * sysdeps/arm/configure: Regenerated.
37159 2014-07-15  Roland McGrath  <roland@hack.frob.com>
37161         * nptl/pthread_kill.c: New file.
37162         * nptl/pthread_sigmask.c: New file.
37163         * nptl/pthread_sigqueue.c: New file.
37165         * sysdeps/nptl/lowlevellock.h: New file.
37166         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
37167         * sysdeps/nptl/lowlevellock-futex.h: New file.
37169         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
37170         Remove dead declarations.
37172 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
37174         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
37175         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
37176         config-cflags-avx2.
37177         * sysdeps/x86_64/configure.ac: Likewise.
37178         * sysdeps/i386/configure: Regenerated.
37179         * sysdeps/x86_64/configure: Likewise.
37180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37181         memset-avx2 only if config-cflags-avx2 is yes.
37182         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37183         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
37184         defined.
37185         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
37186         only if HAVE_AVX2_SUPPORT is defined.
37187         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37189 2014-07-14  Alan Modra  <amodra@gmail.com>
37191         [BZ #17153]
37192         * elf/elf.h (DT_PPC64_NUM): Correct value.
37193         * NEWS: Add to fixed bug list.
37195 2014-07-13  Jim Meyering  <meyering@fb.com>
37197         [BZ 17150]
37198         regex: don't deref NULL upon heap allocation failure
37199         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
37200         failure in one more place.
37201         To trigger the segfault, configure grep -with-included-regex,
37202         build it, and run these commands:
37203         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
37205 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
37207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37209 2014-07-11  Richard Henderson  <rth@redhat.com>
37211         * sysdeps/aarch64/libm-test-ulps: Update.
37213 2014-07-10  Florian Weimer  <fweimer@redhat.com>
37215         [BZ #17135]
37216         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
37217         * nptl/allocatestack.c (__nptl_setxid_error): New function.
37218         (__nptl_setxid): Initialize error member.  Call
37219         __nptl_setxid_error.
37220         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
37221         * nptl/descr.h (struct xid_command): Add error member.
37222         * nptl/tst-setuid3.c: New file.
37223         * nptl/Makefile (tests): Add it.
37225 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37227         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
37228         New define.
37229         (__lll_trylock): Use __lll_base_trylock.
37230         (__lll_cond_trylock): Likewise.
37232 2014-07-10  Roland McGrath  <roland@hack.frob.com>
37234         * nptl/pthread_create.c (start_thread): Use atomic_or and
37235         lll_futex_wake directly rather than lll_robust_dead.
37236         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37237         (lll_robust_dead): Macro removed.
37238         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
37239         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37240         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37241         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37242         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37243         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37244         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37245         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37246         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37247         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37248         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37249         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37250         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37251         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37252         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37254         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
37255         Use atomic_compare_and_exchange_val_acq directly rather than
37256         lll_robust_trylock.
37257         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37258         (__lll_robust_trylock, lll_robust_trylock): Removed.
37259         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37260         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37261         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37262         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37263         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37264         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37265         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37266         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37267         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37268         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37269         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37270         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37272         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37274 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37276         * manual/locale.texi (Locale Names): New section documenting
37277         locale name syntax.  Adjust menu and node chaining accordingly.
37278         (Choosing Locale): Reference Locale Names, Locale Categories.
37279         Mention setting LC_ALL=C.  Reflect that name syntax is now
37280         documented.
37281         (Locale Categories): New section title.  Reference Locale Names.
37282         LC_ALL is an environment variable, but not a category.
37283         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
37284         description, now in Locale Name.  Reference that section.  Locale
37285         name syntax is now documented.
37287 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37289         [BZ #17137]
37290         * locale/findlocale.c (name_present, valid_locale_name): New
37291         functions.
37292         (_nl_find_locale): Use the loc_name variable to store name
37293         candidates.  Call name_present and valid_locale_name to check and
37294         validate locale names.  Return an error if the locale is invalid.
37296 2014-07-02  Florian Weimer  <fweimer@redhat.com>
37298         * locale/setlocale.c (setlocale): Use strdup for allocating
37299         composite name copy.
37301 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37303         Sync up with gnulib.
37304         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
37305         [!_LIBC && ENABLE_NLS]: Include gettext.h.
37306         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
37307         and _GL_ARG_NONNULL.
37308         [USE_UNLOCKED_IO]: Include unlocked-io.h.
37309         [!_LIBC]: Include code for Windows and Cygwin.
37310         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37311         Include prototype for int strerror_r.
37312         [!_LIBC] (is_open): New function.
37313         (flush_stdout): New function.
37314         (print_errno_message): Use it.
37315         (error): Likewise.
37316         (error_at_line): Likewise.
37317         (error_tail) Add function attribute macros.  Use
37318         __builtin_expect.
37320         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37322         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37324         * io/ftw.c: Include sys/param.h unconditionally.
37326         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37328         [BZ #17125]
37329         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37330         libc_freeres_ptr.
37331         (freecache): New function to free CACHE on exit.
37333         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37334         initialization.
37336 2014-07-09  David S. Miller  <davem@davemloft.net>
37338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37340         * sysdeps/sparc/nptl/internaltypes.h: Delete.
37341         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37342         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37343         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37344         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37345         * sysdeps/sparc/nptl/sem_init.c: Likewise.
37346         * sysdeps/sparc/nptl/sem_post.c: Likewise.
37347         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37348         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37349         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37350         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37351         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37352         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37354 2014-07-09  Andreas Schwab  <schwab@suse.de>
37356         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37357         output.
37358         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37359         (do_test): Likewise.
37361         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37363 2014-07-09  Will Newton  <will.newton@linaro.org>
37365         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37366         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37367         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37368         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37369         * sysdeps/hppa/start.S (_start): Likewise.
37371 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
37373         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37375         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37376         defined.
37378 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37380         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37381         after checking that it is non-NULL.
37383         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37385 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37387         * sysdeps/powerpc/memmove.c: Remove file.
37388         * sysdeps/powerpc/powerpc32/power4/memcopy.h
37389         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37390         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37391         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37392         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37393         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37394         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37395         string memmove instead of removed powerpc one.
37397         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37398         [weak_alias]: Fix compiler warning due trailing data.
37399         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37400         [weak_alias]: Likewise.
37401         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37402         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37404         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37405         (__libc_ifunc_impl_list): Add memmove functions.
37407 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
37409         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37410         Remove code.
37411         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37412         Likewise.
37413         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37414         Likewise.
37415         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37416         Likewise.
37417         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37418         Likewise.
37419         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37420         Likewise.
37421         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37422         Likewise.
37423         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37424         Likewise.
37425         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37426         Likewise.
37427         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37428         Likewise.
37429         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37430         Likewise.
37431         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37432         Likewise.
37433         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37434         Likewise.
37435         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37436         Likewise.
37437         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37438         Likewise.
37439         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37440         Likewise.
37441         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37442         Likewise.
37444 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37446         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37447         to avoid alignment traps in non-cacheable memory.
37448         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37450         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37451         multiarch objects.
37452         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37453         file: multiarch power7 memmove.
37454         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37455         multiarch default memmove.
37456         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37457         multiarch memove for powerpc32/power4.
37459         * string/bcopy.c: Use full path to include memmove.c.
37460         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37461         multiarch objects.
37462         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37463         bcopy for powerpc64.
37464         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37465         bcopy for powerpc64.
37466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37467         and memmove implementations.
37468         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37469         optimized multiarch memmove for POWER7/powerpc64.
37470         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37471         default multiarch memmove for powerpc64.
37472         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37473         multiarch for powerpc64.
37474         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37475         for POWER7/powerpc64.
37476         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37477         memmove for POWER7/powerpc64.
37479         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37480         glibc default one.
37482         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37483         __ELF_NATIVE_CLASS equal to 64.
37485 2014-07-07  Roland McGrath  <roland@hack.frob.com>
37487         * sysdeps/nptl/lowlevellock.h: File removed.
37489         * NEWS: NPTL is no longer an add-on!
37490         * nptl/internaltypes.h: Moved ...
37491         * sysdeps/nptl/internaltypes.h: ... here.
37492         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37493         * sysdeps/nptl/fork.c: Likewise.
37494         * sysdeps/nptl/gai_misc.h: Likewise.
37495         * sysdeps/nptl/librt-cancellation.c: Likewise.
37496         * sysdeps/nptl/jmp-unwind.c: Likewise.
37497         * sysdeps/nptl/setxid.h: Likewise.
37498         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37499         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37500         * sysdeps/unix/sysv/linux/arm/Implies: New file.
37501         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37502         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37503         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37504         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37505         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37506         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37507         * sysdeps/unix/sysv/linux/mips/Implies: New file.
37508         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37509         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37510         * sysdeps/unix/sysv/linux/sh/Implies: New file.
37511         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37512         * sysdeps/unix/sysv/linux/tile/Implies: New file.
37513         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37514         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37515         * nptl/Makeconfig: Moved ...
37516         * sysdeps/nptl/Makeconfig: ... here.
37517         * nptl/configure: File removed.
37518         * nptl/ANNOUNCE: File removed.
37519         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37520         * sysdeps/unix/sysv/linux/configure: Regenerated.
37522         * nptl/Makefile (routines): Add libc_pthread_init,
37523         libc_multiple_threads, register-atfork and unregister-atfork.
37524         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37525         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37526         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37527         pthread-pi-defines.sym, structsem.sym.
37528         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37529         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37530         [$(subdir) = nptl] (tests): Add tst-setgetname.
37531         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37532         * sysdeps/unix/sysv/linux/sigaction.c: Just include
37533         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37534         [!LIBC_SIGACTION]: Remove aliases.
37535         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37536         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37537         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37538         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37539         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37540         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37541         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37542         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37543         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37544         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37545         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37546         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37547         __libc_allocate_rtsig_private.
37548         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37549         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37550         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37551         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37552         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37553         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37554         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37555         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37556         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37557         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37558         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37559         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37560         * nptl/internaltypes.h: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37562         * sysdeps/nptl/jmp-unwind.c: ... here.
37563         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37564         * nptl/libc-lowlevellock.c: ... here.
37565         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37566         * nptl/libc_multiple_threads.c: ... here.
37567         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37568         * nptl/libc_pthread_init.c: ... here.
37569         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37570         * nptl/lowlevelbarrier.sym: ... here.
37571         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37572         * nptl/lowlevelcond.sym: ... here.
37573         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37574         * nptl/lowlevellock.c: ... here.
37575         * nptl/lowlevellock.h: Moved ...
37576         * sysdeps/nptl/lowlevellock.h: ... here.
37577         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37578         * nptl/lowlevelrobustlock.c: ... here.
37579         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37580         * nptl/lowlevelrobustlock.sym: ... here.
37581         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37582         * nptl/lowlevelrwlock.sym: ... here.
37583         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37584         * nptl/pt-fork.c: ... here.
37585         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37586         * nptl/pthread-pi-defines.sym: ... here.
37587         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37588         * nptl/pthread_attr_getaffinity.c: ... here.
37589         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37590         * nptl/pthread_attr_setaffinity.c: ... here.
37591         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37592         * nptl/pthread_mutex_cond_lock.c: ... here.
37593         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37594         Update #include.
37595         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37596         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37597         * nptl/pthread_once.c: ... here, replacing old file.
37598         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37599         * nptl/pthread_yield.c: ... here.
37600         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37601         * nptl/register-atfork.c: ... here.
37602         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37603         * nptl/sem_post.c: ... here.
37604         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37605         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37606         * nptl/sem_timedwait.c: ... here.
37607         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37608         * nptl/sem_trywait.c: ... here.
37609         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37610         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37611         * nptl/sem_wait.c: ... here.
37612         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37613         * nptl/structsem.sym: ... here.
37614         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37615         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37616         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37617         * nptl/unregister-atfork.c: ... here.
37618         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37619         * nptl/unwindbuf.sym: ... here.
37620         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37621         * sysdeps/nptl/fork.c: ... here.
37622         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37623         * sysdeps/nptl/fork.h: ... here.
37624         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37625         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37626         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37627         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37628         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37629         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37630         * sysdeps/unix/sysv/linux/getpid.c: ... here.
37631         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37632         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37633         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37634         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37635         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37636         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37637         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37638         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37639         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37640         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37641         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37642         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37643         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37644         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37645         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37646         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37647         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37648         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37649         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37650         * sysdeps/unix/sysv/linux/raise.c: ... here.
37651         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37652         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37653         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37654         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37655         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37656         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37657         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37658         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37659         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37660         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37661         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37662         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37663         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37664         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37665         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37667 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37669         * sysdeps/generic/memcopy.h: Add comment for
37670         MEMCPY_OK_FOR_FWD_MEMMOVE.
37672 2014-07-04  Will Newton  <will.newton@linaro.org>
37674         * string/memchr.c: Merge from gnulib.
37675         [_LIBC]: Remove conditionals.
37676         (__ptr_t): Remove define.
37677         (LONG_MAX_32_BITS): Likewise.
37678         (LONG_MAX): Likewise.
37679         (MEMCHR): Use ANSI prototype and optimize algorithm.
37681         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37683 2014-07-03  Roland McGrath  <roland@hack.frob.com>
37685         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37686         (lll_futex_timed_wait_bitset): Fix syscall argument count.
37688         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37689         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37690         in a bare environment with no <stdlib.h> installed.
37691         * sysdeps/nptl/configure: Regenerated.
37693         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37695         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37696         AC_EGREP_CPP for kernel header checks, so they only succeed if
37697         including <linux/version.h> actually works right.
37698         * sysdeps/unix/sysv/linux/configure: Regenerated.
37700         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37701         value so it's not diagnosed as unused.
37703         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37704         thing) with "ifeq ($(subdir),rt)".
37706 2014-07-03  Richard Henderson  <rth@redhat.com>
37708         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37709         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37710         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37712         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37713         (math_force_eval): New.
37715         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37716         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37718         * sysdeps/alpha/fpu/s_round.c: Remove file.
37719         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37721         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37722         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37723         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37724         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37725         (_dl_start, print_statistics): Likewise.
37726         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37727         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37729         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37730         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37731         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37732         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37733         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37734         (HP_SMALL_TIMING_AVAIL): Define.
37735         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37736         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37737         (HP_SMALL_TIMING_AVAIL): Define.
37738         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37739         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37741         * sysdeps/aarch64/hp-timing.h: New file.
37743         * sysdeps/generic/hp-timing.h: Remove dead comment.
37744         * sysdeps/generic/hp-timing-common.h: New file.
37745         * sysdeps/alpha/hp-timing.h: Include it.
37746         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37747         * sysdeps/i386/i686/hp-timing.h: Likewise.
37748         * sysdeps/ia64/hp-timing.h: Likewise.
37749         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37750         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37751         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37752         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37753         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37754         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37755         (hp_timing_t): New.
37757         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37758         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37759         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37760         * elf/rtld.c (_dl_start_final): Likewise.
37761         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37762         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37763         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37764         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37765         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37766         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37767         (HP_TIMING_DIFF_INIT): Remove.
37768         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37769         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37770         (HP_TIMING_DIFF_INIT): Remove.
37771         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37772         * sysdeps/i386/i686/hp-timing.c: Remove file.
37773         * sysdeps/x86_64/hp-timing.c: Remove file.
37774         * sysdeps/ia64/hp-timing.c: Remove file.
37775         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37776         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37777         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37778         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37780         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37781         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37782         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37783         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37784         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37785         (HP_TIMING_ACCUM): Remove.
37786         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37787         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37788         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37790         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37791         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37792         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37793         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37794         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37795         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37796         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37797         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37799         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37801 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
37803         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37805 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37807         Sync up with gettext.
37808         * intl/loadmsgcat.c: Define O_BINARY if not defined.
37809         [_MSC_VER]: Include malloc.h
37810         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37811         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37812         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
37813         TEMP_FAILURE_RETRY.  Cast return of alloca.
37814         [!_LIBC] Call gl_rwlock_init.
37815         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37817 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37819         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37820         before checking its value.
37822 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37824         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37826         * debug/memcpy_chk.c: Don't include pagecopy.h.
37827         * debug/mempcpy_chk.c: Likewise.
37828         * string/memcpy.c: Likewise.
37829         * string/memmove.c: Likewise.
37830         * sysdeps/powerpc/memmove.c: Likewise.
37831         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
37832         definition of PAGE_COPY_FWD_MAYBE here...
37833         * sysdeps/generic/pagecopy.h: ... from here.
37834         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37836 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37837             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37839         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37841         optimizations.
37842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37843         (__libc_ifunc_impl_list): Likewise.
37844         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37845         multiarch strcat for PPC64.
37846         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37847         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37849 2014-07-02  Roland McGrath  <roland@hack.frob.com>
37851         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37853 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37855         * intl/loadmsgcat.c: Remove declaration of
37856         get_sysdep_segment_value.
37857         (get_sysdep_segment_value): Use ISO C style.
37858         (_nl_load_domain): Use ISO C style.  Get rid of redundant
37859         semicolon.  Fix typo and formatting in comment.
37860         (_nl_unload_domain): Use ISO C style.
37862         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37864 2014-07-02  Will Newton  <will.newton@linaro.org>
37866         * malloc/obstack.c: Merge from gnulib master.
37867         [HAVE_CONFIG_H]: Remove conditional code.
37868         [!_LIBC]: Include config.h.
37869         [!ELIDE_CODE]: Don't include inttypes.h, include
37870         stdint.h unconditionally.
37871         (print_and_abort): Mark as _Noreturn.
37872         (_obstack_allocated_p): Mark as __attribute_pure__.
37873         (obstack_free): Rename to __obstack_free.
37874         [!__attribute__]: Remove conditional code.
37875         * malloc/obstack.h: Merge from gnulib master.
37876         [__cplusplus]: Move conditional down.
37877         [!__attribute_pure__]: Define __attribute_pure__ here
37878         if it is not already defined.
37879         (_obstack_memory_used): Mark as __attribute_pure__.
37880         [!__obstack_free]: Define as obstack_free.
37881         [__GNUC__]: Remove check for ancient NeXT gcc.
37883 2014-07-02  Will Newton  <will.newton@linaro.org>
37884             Paul Eggert  <eggert@cs.ucla.edu>
37886         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37888 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
37890         * resolv/gethnamaddr.c: Add comment warning that the file is
37891         not maintained.
37893 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
37895         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37896         entries.
37898         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37899         entry for aio_cancel and aio_cancel64.
37900         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37901         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37902         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37903         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37904         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37905         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37906         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37907         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37908         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37909         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37910         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37911         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37912         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37914 2014-07-01  Roland McGrath  <roland@hack.frob.com>
37916         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37917         * nptl/pthread_mutex_lock.c: Likewise.
37918         * nptl/pthread_mutex_timedlock.c: Likewise.
37919         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37921 2014-07-01  Richard henderson  <rth@redhat.com>
37923         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37924         (__isnan, __isnanl): Remove.
37925         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37927         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37929 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
37931         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37933 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
37935         * resolv/nss_dns/dns-host.c (getanswer_r)
37936         [MULTI_PTRS_ARE_ALIASES]: Remove code.
37938 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
37940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37941         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37942         undefine.
37943         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37944         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37946 2014-07-01  Roland McGrath <roland@hack.frob.com>
37948         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37949         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37951         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37952         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37954         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37955         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37956         ... here.
37957         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37958         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37960         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37961         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37962         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37963         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37965         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37966         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37967         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37968         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37969         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37970         Moved ...
37971         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37972         ... here.
37973         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37974         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37975         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37976         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37977         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37978         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37979         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37980         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37981         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37982         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37983         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37984         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37985         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37986         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37987         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37988         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37989         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37990         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37991         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37992         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37993         ... here.
37994         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37995         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37996         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37997         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37998         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37999         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
38000         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
38001         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
38003 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
38005         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
38006         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
38007         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
38008         Add sysdep.
38010 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38014 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38016         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
38017         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
38019         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
38021         * sysdeps/arm/libm-test-ulps: Regenerated.
38023 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38024             Roland McGrath <roland@hack.frob.com>
38026         * test-skeleton.c (signal_handler): Kill the whole process group
38027         before killing the child individually.
38028         (main): Report any failure on `setpgid'.
38030 2014-06-30  Roland McGrath  <roland@hack.frob.com>
38032         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
38033         from _TLS_H to _ARM_NPTL_TLS_H.
38034         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
38035         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
38037 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
38039         [BZ #16539]
38040         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
38041         (__expm1l): Return argument unchanged when small but not
38042         subnormal.
38044         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
38045         include macro name.
38046         (_FP_UNPACK_RAW_1_P): Likewise.
38047         (_FP_PACK_RAW_1): Likewise.
38048         (_FP_PACK_RAW_1_P): Likewise.
38049         (_FP_MUL_MEAT_1_wide): Likewise.
38050         (_FP_MUL_MEAT_DW_1_hard): Likewise.
38051         (_FP_MUL_MEAT_1_hard): Likewise.
38052         (_FP_DIV_MEAT_1_imm): Likewise.
38053         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
38054         (_FP_DIV_MEAT_1_udiv): Likewise.
38055         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
38056         (_FP_UNPACK_RAW_2): Likewise.
38057         (_FP_UNPACK_RAW_2_P): Likewise.
38058         (_FP_PACK_RAW_2): Likewise.
38059         (_FP_PACK_RAW_2_P): Likewise.
38060         (_FP_MUL_MEAT_DW_2_wide): Likewise.
38061         (_FP_MUL_MEAT_2_wide): Likewise.
38062         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
38063         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
38064         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
38065         (_FP_MUL_MEAT_2_gmp): Likewise.
38066         (_FP_DIV_MEAT_2_udiv): Likewise.
38067         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
38068         (_FP_FRAC_SRL_4): Likewise.
38069         (_FP_FRAC_SRST_4): Likewise.
38070         (_FP_FRAC_SRS_4): Likewise.
38071         (_FP_UNPACK_RAW_4): Likewise.
38072         (_FP_UNPACK_RAW_4_P): Likewise.
38073         (_FP_PACK_RAW_4): Likewise.
38074         (_FP_PACK_RAW_4_P): Likewise.
38075         (_FP_MUL_MEAT_DW_4_wide): Likewise.
38076         (_FP_MUL_MEAT_4_wide): Likewise.
38077         (_FP_MUL_MEAT_4_gmp): Likewise.
38078         (umul_ppppmnnn): Likewise.
38079         (_FP_DIV_MEAT_4_udiv): Likewise.
38080         (__FP_FRAC_ADD_4): Likewise.
38081         (__FP_FRAC_SUB_3): Likewise.
38082         (__FP_FRAC_SUB_4): Likewise.
38083         (__FP_FRAC_DEC_3): Likewise.
38084         (__FP_FRAC_DEC_4): Likewise.
38085         (__FP_FRAC_ADDI_4): Likewise.
38086         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38087         (_FP_FRAC_SRL_8): Likewise.
38088         (_FP_FRAC_SRS_8): Likewise.
38090         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38091         include macro name.
38092         (FP_UNPACK_RAW_EP): Likewise.
38093         (FP_PACK_RAW_E): Likewise.
38094         (FP_PACK_RAW_EP): Likewise.
38095         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38096         (_FP_ISSIGNAN): Likewise.
38097         (_FP_ADD_INTERNAL): Likewise.
38098         (_FP_FMA): Likewise.
38099         (_FP_CMP): Likewise.
38100         (_FP_SQRT): Likewise.
38101         (_FP_TO_INT): Likewise.
38102         (_FP_FROM_INT): Likewise.
38103         (FP_EXTEND): Likewise.
38104         (_FP_DIV_MEAT_N_loop): Likewise.
38106 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
38108         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38109         throughout.
38111 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
38113         [BZ #17097]
38114         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38115         result with correct sign in case of exponents that produce
38116         overflow except for X very close to 1.
38118 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
38120         mktime: merge #if/#ifdef usage from glibc
38121         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38122         as that works with both Glibc's and Gnulib's style.
38123         See thread starting at Siddhesh Poyarekar's bug report at:
38124         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38126 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
38128         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38129         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38130         * sysdeps/tile/tilegx/memmove.c: Remove file.
38132 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
38134         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38135         abi-name definition.
38136         * scripts/soversions.awk: Do not handle or generate ABI lines.
38137         * shlib-versions: Remove ABI entries.
38138         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
38139         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
38141 2014-06-27  Roland McGrath  <roland@hack.frob.com>
38143         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
38144         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
38145         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
38146         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
38147         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
38148         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
38149         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
38150         Moved ...
38151         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
38152         ... here.
38153         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
38154         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
38155         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
38156         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
38157         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
38158         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
38159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
38160         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
38161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
38162         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
38163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
38164         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
38165         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
38166         Moved ...
38167         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
38168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
38169         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
38170         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
38171         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
38172         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
38173         Moved ...
38174         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
38175         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
38176         Moved ...
38177         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38178         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
38179         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
38180         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
38181         Moved ...
38182         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
38183         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
38184         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
38185         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
38186         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
38187         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
38188         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
38189         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
38190         Moved ...
38191         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
38192         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
38193         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
38194         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
38195         Moved ...
38196         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
38197         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
38198         Moved ...
38199         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
38200         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
38201         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
38202         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
38203         Moved ...
38204         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
38205         ... here.
38206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
38207         Identical file removed.
38208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
38209         Moved ...
38210         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
38211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
38212         Identical file removed.
38213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
38214         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
38215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
38216         Moved ...
38217         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
38218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
38219         Identical file removed.
38220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
38221         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
38222         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
38223         Identical file removed.
38224         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
38225         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
38226         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
38227         Identical file removed.
38228         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
38229         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
38230         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
38231         Identical file removed.
38232         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
38233         Moved ...
38234         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
38235         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
38236         Identical file removed.
38237         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
38238         Moved ...
38239         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
38240         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
38241         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
38242         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
38243         Identical file removed.
38244         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
38245         Moved ...
38246         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
38247         ... here.
38248         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
38249         Identical file removed.
38250         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
38251         Moved ...
38252         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
38253         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
38254         Identical file removed.
38255         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
38256         Moved ...
38257         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
38258         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
38259         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
38260         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
38261         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
38262         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
38263         Moved ...
38264         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
38265         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
38266         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
38268         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
38269         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
38270         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
38271         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
38272         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
38274 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
38276         [BZ #17092]
38277         * nscd/nscd.c (monitor_child): Return exit status of child
38278         instead of return value from wait syscall.
38280 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
38282         * configure.ac (libc_commonpagesize): Remove variable.
38283         (libc_relro_required): Likewise.
38284         (libc_cv_z_relro): Remove configure test.
38285         * configure: Regenerated.
38286         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
38287         variable.
38288         (libc_relro_required): Likewise.
38289         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
38290         (libc_relro_required): Likewise.
38291         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
38292         (libc_relro_required): Likewise.
38293         * sysdeps/arm/preconfigure: Regenerated.
38294         * sysdeps/ia64/preconfigure: Remove file.
38295         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
38296         variable.
38297         (libc_relro_required): Likewise.
38299         [BZ #16561]
38300         [BZ #16562]
38301         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
38302         (__ieee754_yn): Set FE_TONEAREST mode internally and then
38303         recompute overflowing results in original rounding mode.
38304         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
38305         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
38306         recompute overflowing results in original rounding mode.
38307         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38308         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38309         recompute overflowing results in original rounding mode.
38310         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38311         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38312         recompute overflowing results in original rounding mode.
38313         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38314         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38315         recompute overflowing results in original rounding mode.
38316         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38317         (libc_feholdsetround_ctx): New macro.
38318         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38319         * sysdeps/i386/fpu/libm-test-ulps: Update.
38320         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38322 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38324         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38325         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38326         corresponding .cpsetup call.
38328 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38330         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38331         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38332         * sysdeps/arm/Makefile [$(subdir) = csu]
38333         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38334         (static-only-routines): Add aeabi_read_tp here.
38335         (shared-only-routines): Add libc-aeabi_read_tp here.
38336         (CFLAGS-libc-start.c): Add -fexceptions here.
38337         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38338         (sysdep_routines, static-only-routines, shared-only-routines):
38339         Don't add to these here.
38340         (CFLAGS-libc-start.c): Likewise.
38342         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38343         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38344         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38345         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38346         * sysdeps/arm/Makefile [$(subdir) = rt]
38347         (librt-sysdep_routines, librt-shared-only-routines):
38348         Append rt-aeabi_unwind_cpp_pr1 here.
38349         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38350         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38351         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38352         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38353         Append nptl-aeabi_unwind_cpp_pr1 here.
38354         (tests): Filter out tst-cleanupx4 here.
38355         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38356         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38357         Don't do those here.
38359 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38361         * scripts/list-sources.sh: Do not handle ports specially.
38363 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38365         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38366         * sysdeps/arm/feupdateenv.c: Likewise.
38368         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38370 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38372         * manual/texinfo.tex: Update to version 2014-05-05.10 with
38373         trailing whitespace removed.
38374         * scripts/config.guess: Update to version 2014-03-23.
38375         * scripts/config.sub: Update to version 2014-05-01
38376         * scripts/install-sh: Update to version 2013-12-25.23.
38377         * scripts/move-if-change: Update from gnulib.
38379 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38381         * debug/memmove_chk.c: Remove pagecopy.h include.
38383 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
38385         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
38386         identical to gnulib mktime.
38388 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
38390         * configure.ac: Do not test for machine being rs6000.  Do not test
38391         for powerpc*-*soft.
38392         * configure: Regenerated.
38394         [BZ #11505]
38395         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38396         test.
38397         * configure: Regenerated.
38398         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38399         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38400         Remove configure test.
38401         * sysdeps/arm/configure: Regenerated.
38402         * sysdeps/nptl/configure.ac: Do not check
38403         libc_cv_asm_cfi_directives.
38404         * sysdeps/nptl/configure: Regenerated.
38405         * sysdeps/x86_64/nptl/configure.ac: Remove file.
38406         * sysdeps/x86_64/nptl/configure: Remove generated file.
38407         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38408         unconditional.
38409         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38411 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38413         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38414         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38415         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38416         it is defined.
38418         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38419         instead of whether it is defined.
38420         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38421         * sysdeps/hppa/dl-machine.h: Likewise.
38422         * sysdeps/ia64/dl-machine.h: Likewise.
38423         * sysdeps/m68k/dl-machine.h: Likewise.
38424         * sysdeps/microblaze/dl-machine.h: Likewise.
38425         * sysdeps/mips/dl-machine.: Likewise.
38426         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38427         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38428         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38429         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38430         * sysdeps/sh/dl-machine.h: Likewise.
38431         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38432         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38433         * sysdeps/tile/dl-machine.h: Likewise.
38434         * sysdeps/x86_64/dl-machine.h: Likewise.
38436         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38437         code.
38438         (verify_persistent_db): Likewise.
38440 2014-06-26  Roland McGrath  <roland@hack.frob.com>
38442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38443         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38445         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38447         Moved ...
38448         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38449         ... here.
38450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38451         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38452         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38453         Identical file removed.
38454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38455         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38457         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38459         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38460         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38461         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38462         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38463         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38465         Moved ...
38466         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38467         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38468         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38469         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38470         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38471         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38472         Moved ...
38473         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38474         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38475         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38476         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38477         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38478         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38479         Identical file removed.
38480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38481         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38482         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38483         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38485         Moved ...
38486         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38487         ... here.
38488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38489         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38490         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38491         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38492         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38493         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38494         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38495         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38496         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38497         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38498         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38499         Moved ...
38500         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38501         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38502         Moved ...
38503         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38504         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38505         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38507         Moved ...
38508         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38509         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38510         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38512         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38513         folded into ...
38514         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38515         * sysdeps/unix/sysv/linux/s390/Versions
38516         (libpthread: GLIBC_2.19): New version set.
38517         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38518         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38519         (librt: GLIBC_2.3.3): New version set.
38520         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38521         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38522         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38523         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38524         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38525         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38526         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38527         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38528         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38529         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38530         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38531         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38532         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38533         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38534         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38535         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38536         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38537         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38538         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38539         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38540         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38541         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38542         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38543         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38544         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38545         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38546         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38547         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38548         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38549         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38550         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38551         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38552         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38554         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38555         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38556         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38557         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38558         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38559         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38560         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38562         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38563         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38564         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38566         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38567         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38568         (__libc_vfork): Define the function under this name.
38569         [!NOT_IN_libc] (__vfork): Make this an alias.
38570         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38571         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38572         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38573         (__libc_vfork): Define the function under this name.
38574         [!NOT_IN_libc] (__vfork): Make this an alias.
38575         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38576         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38577         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38578         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38579         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38580         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38582         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38583         code that was previously under [RESET_PID].
38584         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38585         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38586         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38588         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38589         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38590         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38591         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38592         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38593         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38594         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38595         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38596         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38597         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38598         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38599         Moved ...
38600         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38601         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38602         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38603         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38604         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38605         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38606         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38607         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38608         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38609         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38610         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38611         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38612         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38613         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38614         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38615         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38616         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38617         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38618         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38619         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38620         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38621         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38622         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38623         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38624         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38625         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38626         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38627         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38628         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38630 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38632         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38633         that was previously under [RESET_PID].
38634         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38636 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38638         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38639         not undefine and redefine.
38640         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38641         [O_CLOEXEC]: Make code unconditional.
38642         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38643         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38644         <kernel-features.h>.
38645         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38646         conditional variable definition.
38647         (shm_open) [O_CLOEXEC]: Make code unconditional.
38648         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38649         code.
38651         * configure.ac (USE_REGPARMS): Don't define here.
38652         * configure: Regenerated.
38653         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38654         * sysdeps/i386/configure: Regenerated.
38656         * nptl/createthread.c: Don't include kernel-features.h.
38657         * nptl/pthread_cancel.c: Likewise.
38658         * nptl/pthread_condattr_setclock.c: Likewise.
38659         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38660         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38661         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38662         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38663         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38664         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38665         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38667         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38668         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38669         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38670         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38671         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38672         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38673         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38674         * nscd/gai.c: Likewise.
38675         * nss/nss_db/db-open.c: Likewise.
38676         * sysdeps/generic/ldsodefs.h: Likewise.
38677         * sysdeps/sh/nptl/tls.h: Likewise.
38678         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38679         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38680         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38681         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38682         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38683         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38684         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38685         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38686         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38687         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38688         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38689         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38690         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38691         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38692         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38693         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38694         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38695         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38696         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38697         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38698         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38699         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38700         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38701         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38702         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38703         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38704         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38705         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38706         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38707         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38708         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38709         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38710         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38711         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38712         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38713         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38714         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38715         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38716         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38717         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38718         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38719         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38720         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38721         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38722         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38723         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38724         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38725         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38726         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38727         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38728         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38729         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38730         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38731         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38732         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38733         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38734         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38735         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38758         * sysdeps/unix/sysv/linux/pread.c: Likewise.
38759         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38760         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38761         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38762         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38763         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38764         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38765         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38766         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38767         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38768         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38769         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38770         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38771         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38772         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38773         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38774         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38775         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38776         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38777         * sysdeps/unix/sysv/linux/system.c: Likewise.
38778         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38779         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38780         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38781         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38782         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38783         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38784         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38786         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38787         * configure: Regenerated.
38788         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38790         * configure.ac (base_machine): Do not set specially for particular
38791         machines here.
38792         * configure: Regenerated.
38793         * sysdeps/powerpc/preconfigure: Move machine and base_machine
38794         settings from configure.ac.
38795         * sysdeps/i386/preconfigure: New file.
38796         * sysdeps/s390/preconfigure: Likewise.
38797         * sysdeps/sh/preconfigure: Likewise.
38798         * sysdeps/sparc/preconfigure: Likewise.
38800 2014-06-25  Roland McGrath  <roland@hack.frob.com>
38802         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38803         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38804         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38805         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38806         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38807         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38808         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38809         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38810         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38811         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38812         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38813         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38814         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38815         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38816         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38817         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38818         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38819         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38820         * sysdeps/sparc/sparc64/Makefile: ... appended here.
38822         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38823         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38824         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38825         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38826         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38827         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38828         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38829         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38830         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38831         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38832         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38833         * sysdeps/sparc/sparc32/sem_post.c: ... here.
38834         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38835         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38836         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38837         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38838         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38839         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38840         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38841         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38842         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38843         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38844         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38845         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38846         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38847         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38848         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38849         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38850         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38851         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38852         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38853         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38854         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38855         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38856         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38857         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38858         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38859         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38861         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38862         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38864         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38866         Moved ...
38867         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38868         ... here.
38869         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38870         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38871         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38872         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38873         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38874         Moved ...
38875         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38877         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38879         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38881         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38883         Moved ...
38884         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38885         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38886         Moved ...
38887         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38889         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38891         Moved ...
38892         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38894         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38895         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38896         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38898         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38900         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38902         Moved ...
38903         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38904         ... here.
38905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38906         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38908         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38910         Moved ...
38911         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38912         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38913         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38914         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38915         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38916         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38917         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38918         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38919         Moved ...
38920         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38921         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38922         Moved ...
38923         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38924         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38925         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38926         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38927         Moved ...
38928         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38929         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38930         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38931         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38932         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38934 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38936         * timezone/checktab.awk: Update from tzcode 2014e.
38937         * timezone/private.h: Likewise.
38938         * timezone/tzfile.h: Likewise.
38939         * timezone/zdump.c: Likewise.
38940         * timezone/zic.c: Likewise.
38942         * sysdeps/unix/sysv/linux/kernel-features.h
38943         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38944         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38945         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38946         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38947         Remove conditional code.
38949 2014-06-25  Will Newton  <will.newton@linaro.org>
38951         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38952         (_dl_arm_cap_flags): Add HWCAP2 values.
38953         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38954         (_DL_HWCAP_COUNT): Increase to 37.
38955         (_DL_HWCAP_LAST): New define.
38956         (_DL_HWCAP2_LAST): New define.
38957         (_dl_procinfo): Add support for printing
38958         AT_HWCAP2 entries.
38959         (_dl_string_hwcap): Use _dl_hwcap_string.
38961 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38963         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38965 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
38967         * README: Do not mention ports directory.
38969         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38970         Remove macro.
38971         * sysdeps/unix/sysv/linux/futimes.c: Do not include
38972         <kernel-features.h>.
38973         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38974         conditional variable definition.
38975         (__futimes): Update comment.
38976         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38977         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38979         [BZ #16560]
38980         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38981         arguments close to 0.
38982         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38983         Likewise.
38984         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38985         Likewise.
38986         * math/auto-libm-test-in: Add more tests of exp10.
38987         * math/auto-libm-test-out: Regenerated.
38988         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38990         * sysdeps/unix/sysv/linux/kernel-features.h
38991         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38992         * sysdeps/unix/sysv/linux/readv.c: Do not include
38993         <kernel-features.h>.
38994         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38995         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38996         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38997         unconditional.
38998         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38999         conditional code.
39000         * sysdeps/unix/sysv/linux/writev.c: Do not include
39001         <kernel-features.h>.
39002         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
39003         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
39004         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
39005         unconditional.
39006         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
39007         conditional code.
39009 2014-06-25  Will Newton  <will.newton@linaro.org>
39011         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
39012         comment changes throughout the file.  Remove checks
39013         for HAVE_*_H definitions that are not required.
39014         (__gen_tempname): Call abort if an unknown kind value is
39015         passed.
39017 2014-06-25  Andreas Schwab  <schwab@suse.de>
39019         [BZ #17086]
39020         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
39021         scalbln, scalblnf, scalblnl in libc.
39023 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
39025         [BZ #17086]
39026         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
39027         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39028         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39030 2014-06-24  Roland McGrath  <roland@hack.frob.com>
39032         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
39033         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
39034         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
39035         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
39036         Update #include.
39037         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
39038         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
39039         Update #include.
39040         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
39041         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
39042         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
39043         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
39044         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
39045         * sysdeps/x86/bits/pthreadtypes.h: ... here.
39046         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
39047         * sysdeps/x86/bits/semaphore.h: ... here.
39048         * sysdeps/x86/nptl/elide.h: Moved ...
39049         * sysdeps/x86/elide.h: ... here.
39050         * sysdeps/x86_64/nptl/Implies: File removed.
39051         * sysdeps/i386/nptl/Implies: File removed.
39053 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
39055         [BZ #16539]
39056         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
39057         return the argument for normal arguments with exponent below -64.
39058         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
39059         Likewise.
39060         * math/auto-libm-test-in: Add another test of expm1.
39061         * math/auto-libm-test-out: Regenerated.
39063         [BZ #16287]
39064         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
39065         calling __erfcl for arguments at least 16.
39066         * math/auto-libm-test-in: Add more tests of erf.
39067         * math/auto-libm-test-out: Regenerated.
39069         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
39070         individual architectures.
39071         * sysdeps/unix/sysv/linux/configure: Regenerated.
39072         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
39073         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
39074         * sysdeps/unix/sysv/linux/powerpc/configure.ac
39075         (ldd_rewrite_script): Define variable.
39076         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39078         file.
39079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39080         generated file.
39081         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39082         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39083         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39084         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39085         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39086         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39087         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39088         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39090 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39092         [BZ #17084]
39093         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39094         Rename member __data.d to __data.__elision_data.
39096 2014-06-24  Wilco  <wdijkstr@arm.com>
39098         * NEWS: Add 16918 to fixed bug list.
39100 2014-06-24  Wilco  <wdijkstr@arm.com>
39102         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39104 2014-06-24  Wilco  <wdijkstr@arm.com>
39106         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39107         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39108         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39109         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39110         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39111         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39112         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39113         Use _FPU_MASK_RM.
39115 2014-06-24  Wilco  <wdijkstr@arm.com>
39117         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39119 2014-06-24  Wilco  <wdijkstr@arm.com>
39121         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39122         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39123         * sysdeps/arm/fesetround.c (fesetround): Remove space.
39124         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39126 2014-06-24  Wilco  <wdijkstr@arm.com>
39128         [BZ #16918]
39129         * sysdeps/arm/feupdateenv.c (feupdateenv):
39130         Rewrite to reduce FPSCR accesses and fix return value.
39132 2014-06-24  Wilco  <wdijkstr@arm.com>
39134         * sysdeps/arm/fclrexcpt.c (feclearexcept):
39135         Optimize to avoid unnecessary FPSCR writes.
39136         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
39137         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
39138         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
39139         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
39141 2014-06-24  Wilco  <wdijkstr@arm.com>
39143         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
39144         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
39145         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
39146         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
39147         Call libc_fetestexcept_vfp.
39148         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
39149         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
39150         __SOFTFP__ ifdef so that they can be built for softfp.
39152 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39154         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
39155         argument type signed char.
39157         * Makerules (check-abi): Dump diff of symlist if the test
39158         fails.
39160 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39162         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
39163         using abort.
39165         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39166         Remove unused variable ST.
39168 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39170         [BZ #16354]
39171         [BZ #17061]
39172         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
39173         small arguments before calling __expm1.
39174         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
39175         small arguments before calling __expm1f.
39176         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
39177         small arguments before calling __expm1l.
39178         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39179         Likewise.
39180         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39181         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
39182         spurious underflow for some cosh tests.
39183         * math/auto-libm-test-out: Regenerated.
39184         * sysdeps/i386/fpu/libm-test-ulps: Update.
39186         [BZ #17050]
39187         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
39188         (__ieee754_y1): Set errno if return value overflows.
39189         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
39190         (__ieee754_y1f): Set errno if return value overflows.
39191         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
39192         (__ieee754_y1l): Set errno if return value overflows.
39193         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
39194         (__ieee754_y1l): Set errno if return value overflows.
39195         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
39196         * math/auto-libm-test-out: Regenerated.
39198         * math/gen-auto-libm-tests.c: Document use of
39199         ignore-zero-inf-sign.
39200         (input_flag_type): Add value flag_ignore_zero_inf_sign.
39201         (input_flags): Add ignore-zero-inf-sign.
39202         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
39203         * math/gen-libm-test.pl (generate_testfile): Handle
39204         ignore-zero-inf-sign.
39205         * math/auto-libm-test-in: Mark some cpow tests with
39206         ignore-zero-inf-sign and some with xfail-rounding.
39207         * math/auto-libm-test-out: Regenerated.
39208         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
39209         * sysdeps/i386/fpu/libm-test-ulps: Update.
39210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39212         [BZ #16315]
39213         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
39214         overflowing or underflowing operations take place with sign of
39215         result.
39216         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39217         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39218         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
39219         (__ieee754_pow): Recompute overflowing and underflowing results in
39220         original rounding mode.
39221         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
39222         (__powl_helper): Allow negative argument X and scale negated value
39223         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
39224         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
39225         overflowing or underflowing operations take place with sign of
39226         result.
39227         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
39228         Include <math.h>.
39229         * math/auto-libm-test-in: Add more tests of pow.
39230         * math/auto-libm-test-out: Regenerated.
39231         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
39232         (pow_tonearest_test_data): Remove.
39233         (pow_test_tonearest): Likewise.
39234         (pow_towardzero_test_data): Likewise.
39235         (pow_test_towardzero): Likewise.
39236         (pow_downward_test_data): Likewise.
39237         (pow_test_downward): Likewise.
39238         (pow_upward_test_data): Likewise.
39239         (pow_test_upward): Likewise.
39240         (main): Don't call removed functions.
39241         * sysdeps/i386/fpu/libm-test-ulps: Update.
39242         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39244 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
39247         Moved ...
39248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
39249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39250         Moved ...
39251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
39252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39253         Moved ...
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
39255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39256         Moved ...
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
39258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39259         File removed.
39260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39261         File removed.
39262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
39263         File removed.
39264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
39265         File removed.
39266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
39267         File removed.
39268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
39269         File removed.
39270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
39271         File removed.
39272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39273         File removed.
39274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
39275         File removed.
39276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39277         File removed.
39278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
39279         File removed.
39280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
39281         File removed.
39282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
39283         Moved ...
39284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
39285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
39286         Moved ...
39287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
39288         ... here.
39289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
39290         Moved ...
39291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
39293         Moved ...
39294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
39295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
39296         Moved ...
39297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
39298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
39299         Moved ...
39300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
39301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
39302         Moved ...
39303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
39305         Moved ...
39306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39308         Moved ...
39309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39312         ... here.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39314         Moved ...
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39317         Moved ...
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39319         ... here.
39320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39321         Moved ...
39322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39323         ... here.
39324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39325         Moved ...
39326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39327         ... here.
39328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39329         Moved ...
39330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39332         Moved ...
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39337         Moved ...
39338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39339         ... here.
39340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39341         Moved ...
39342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39343         ... here.
39344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39345         Moved ...
39346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39348         Moved ...
39349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39351         Moved ...
39352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39354         Moved ...
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39357         Moved ...
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39359         ... here.
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39361         Moved ...
39362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39364         Moved ...
39365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39367         Moved ...
39368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39370         Moved ...
39371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39375         Moved ...
39376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39378         Moved ...
39379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39381         Moved ...
39382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39383         ... here.
39384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39385         Moved ...
39386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39387         ... here.
39388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39389         Moved ...
39390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39391         ... here.
39392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39393         Moved ...
39394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39396         Moved ...
39397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39399         Moved ...
39400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39402         Moved ...
39403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39404         ... here.
39405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39406         Moved ...
39407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39408         ... here.
39409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39410         Moved ...
39411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39412         ... here.
39413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39414         Moved ...
39415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39417         Moved ...
39418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39420 2014-06-23  Will Newton  <will.newton@linaro.org>
39421             Wilco  <wdijkstr@arm.com>
39423         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39424         implementation.  Include get-rounding-mode.h.
39425         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39426         [!libc_feholdsetround_noex_ctx]: Define
39427         libc_feholdsetround_noex_ctx.
39428         [!libc_feholdsetround_noexf_ctx]: Define
39429         libc_feholdsetround_noexf_ctx.
39430         [!libc_feholdsetround_noexl_ctx]: Define
39431         libc_feholdsetround_noexl_ctx.
39432         (libc_feholdsetround_ctx): New function.
39433         (libc_feresetround_ctx): New function.
39434         (libc_feholdsetround_noex_ctx): New function.
39435         (libc_feresetround_noex_ctx): New function.
39437 2014-06-23  Roland McGrath  <roland@hack.frob.com>
39439         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39440         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39441         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39442         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39443         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39444         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39446         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39447         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39448         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39449         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39450         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39451         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39452         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39453         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39454         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39455         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39456         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39457         Moved ...
39458         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39459         ... here.
39460         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39461         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39462         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39463         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39464         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39465         Moved ...
39466         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39467         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39468         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39469         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39470         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39471         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39472         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39473         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39474         Moved ...
39475         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39476         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39477         Moved ...
39478         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39479         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39480         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39481         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39482         Moved ...
39483         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39484         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39485         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39486         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39487         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39488         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39489         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39491         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39492         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39493         Moved ...
39494         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39495         ... here.
39496         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39497         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39498         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39499         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39500         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39501         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39502         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39503         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39504         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39505         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39506         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39507         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39508         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39509         Moved ...
39510         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39511         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39512         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39513         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39514         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39515         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39516         Moved ...
39517         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39518         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39519         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39520         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39521         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39523         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39524         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39525         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39526         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39527         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39528         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39529         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39530         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39531         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39532         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39533         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39534         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39535         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39536         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39537         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39538         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39539         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39540         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39541         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39542         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39543         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39544         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39545         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39546         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39547         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39548         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39549         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39550         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39552 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
39554         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39555         (FALLOC_FL_COLLAPSE_RANGE): New macro.
39556         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39557         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39558         (IPV6_PMTUDISC_INTERFACE): Likewise.
39559         (IPV6_PMTUDISC_OMIT): Likewise.
39561 2014-06-23  Andreas Schwab  <schwab@suse.de>
39563         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39564         Remove unused errout label.
39566 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39568         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39569         macro: hardware supports Vector Crypto instructions.
39571 2014-06-23  Will Newton  <will.newton@linaro.org>
39573         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39574         rather than __builtin_expect.
39576         * elf/dl-lookup.c (undefined_msg): Remove variable.
39577         (_dl_lookup_symbol_x): Replace undefined_msg with string
39578         literal.
39580         * elf/dl-lookup.c (do_lookup_unique): New function.
39581         (do_lookup_x): Move STB_GNU_UNIQUE handling code
39582         to a separate function.
39584 2014-06-23  Andreas Schwab  <schwab@suse.de>
39586         [BZ #17079]
39587         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39588         before reading the next line.
39590 2014-06-23  Will Newton  <will.newton@linaro.org>
39592         * test-skeleton.c (signal_handler): Use printf and %m
39593         rather than perror.  Use printf rather than fprintf to
39594         stderr.  Use puts rather than fputs to stderr.
39595         (main): Likewise.
39597 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
39599         * nscd/nscd.c (thread_info_t): Remove typedef.
39600         (thread_info): Remove variable.
39602 2014-06-21  Allan McRae  <allan@archlinux.org>
39604         * NEWS: Mention CVE-2014-4043.
39606 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39608         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39609         * nptl/smp.h: ... here.
39611         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39613         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39614         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39615         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39616         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39618         * nptl/allocatestack.c: Include <stack-aliasing.h>.
39619         * nptl/stack-aliasing.h: New file.
39620         * sysdeps/i386/i686/stack-aliasing.h: New file.
39621         * sysdeps/i386/i686/nptl/Makefile: File removed.
39622         * sysdeps/x86_64/stack-aliasing.h: New file.
39623         * sysdeps/x86_64/nptl/Makefile
39624         (CFLAGS-pthread_create.c): Variable removed.
39626         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39627         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39628         old file.
39629         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39630         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39631         old file.
39633 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
39635         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39636         (__ASSUME_SIGFRAME_V2): Remove macro.
39637         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39638         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39639         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39640         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39641         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39642         Declare as function.  Remove conditional macro definitions.
39643         (__default_rt_sa_restorer): Likewise.
39644         (__default_sa_restorer_v1): Remove declaration.
39645         (__default_sa_restorer_v2): Likewise.
39646         (__default_rt_sa_restorer_v1): Likewise.
39647         (__default_rt_sa_restorer_v2): Likewise.
39648         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39649         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39650         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39652 2014-06-20  Roland McGrath  <roland@hack.frob.com>
39654         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39655         (libpthread-routines): Add sysdep.
39656         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39657         * sysdeps/unix/sysv/linux/sparc/Versions
39658         (libpthread: GLIBC_2.3.3): New version set.
39659         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39660         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39661         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39662         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39663         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
39664         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39665         Moved ...
39666         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39667         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39668         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39669         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39670         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39671         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39672         * sysdeps/sparc/nptl/sem_init.c: ... here.
39673         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39674         * sysdeps/sparc/nptl/sem_post.c: ... here.
39675         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39676         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39677         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39678         * sysdeps/sparc/nptl/sem_wait.c: ... here.
39679         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39680         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39681         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39682         (libpthread-routines): Add cpu_relax.
39683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39684         File removed.
39685         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39686         (librt: GLIBC_2.3.3): New version set.
39687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39688         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39689         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39690         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39693         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39695         Moved ...
39696         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39697         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39698         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39699         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39700         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39701         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39702         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39703         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39704         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39705         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39706         Moved ...
39707         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39708         Update #include.
39709         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39710         Moved ...
39711         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39712         Update #include.
39713         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39714         Moved ...
39715         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39716         Update #include.
39717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39718         Moved ...
39719         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39720         Update #include.
39721         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39722         Moved ...
39723         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39724         Update #include.
39725         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39726         Moved ...
39727         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39728         Update #include.
39729         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39730         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39731         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39732         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39733         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39734         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39735         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39736         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39737         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39738         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39739         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39740         Moved ...
39741         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39742         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39743         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39744         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39745         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39747 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39749         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39750         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39751         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39752         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39753         * nscd/nscd.c: Likewise.
39754         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39755         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39756         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39757         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39759         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39760         <kernel-features.h>.
39761         (init_mq_netlink): Remove conditional have_sock_cloexec
39762         definitions.  Remove code conditional on have_sock_cloexec < 0.
39763         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39764         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39765         * sysdeps/unix/sysv/linux/opensock.c: Do not include
39766         <kernel-features.h>.
39767         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39768         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39770 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39772         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39773         Add tests for memset_chk and memset.
39775         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39776         with AVX2_Usable.
39778 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39780         [BZ #16046]
39781         * elf/tst-dl-iter-static.c: New file.
39782         * elf/Makefile (tests-static): Add tst-dl-iter-static.
39784         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39785         error.
39787 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39789         * sysdeps/unix/sysv/linux/kernel-features.h
39790         (__ASSUME_F_GETOWN_EX): Remove macro.
39791         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39792         <kernel-features.h>.
39793         (miss_F_GETOWN_EX): Remove variable or macro.
39794         (do_fcntl): Do not check miss_F_GETOWN_EX.
39795         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39797         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39798         Remove macro.
39799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39800         [!__ASSUME_AT_RANDOM]: Remove conditional code.
39801         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39803         * sysdeps/unix/sysv/linux/kernel-features.h
39804         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39805         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39806         [ADJ_OFFSET_SS_READ]: Make code unconditional.
39807         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39809 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
39811         [BZ #17075]
39812         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39813         Fix calculation of the symbol's value.
39814         * sysdeps/arm/tst-armtlsdescloc.c: New file.
39815         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39816         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39817         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39818         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39819         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39820         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39821         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39822         (modules-names): Add `tst-armtlsdescmod',
39823         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39824         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39825         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39826         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39827         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39828         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39829         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39830         ($(objpfx)tst-armtlsdescloc): New dependency.
39831         ($(objpfx)tst-armtlsdescextnow): Likewise.
39832         ($(objpfx)tst-armtlsdescextlazy): Likewise.
39833         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39834         TLS scheme support.
39835         * sysdeps/arm/configure: Regenerate.
39837 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
39839         * include/fcntl.h (__atfct_seterrno): Remove prototype.
39840         (__atfct_seterrno_2): Likewise.
39841         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39842         <kernel-features.h>.
39843         (__ASSUME_ATFCTS): Do not undefine and redefine.
39844         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39845         (__have_atfcts): Remove conditional definition.
39846         (__fxstatat([__NR_fstatat64]: Make code unconditional.
39847         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39848         unreachable if [__ASSUME_ATFCTS].
39849         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39850         not undefine and redefine.
39851         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39852         <kernel-features.h>.
39853         (faccessat) [__NR_faccessat]: Make code unconditional.
39854         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39855         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39856         <kernel-features.h>.
39857         (fchmodat) [__NR_fchmodat]: Make code unconditional.
39858         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39859         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39860         <kernel-features.h>.
39861         (fchownat) [__NR_fchownat]: Make code unconditional.
39862         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39863         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39864         <kernel-features.h>.
39865         (futimesat) [__NR_futimesat]: Make code unconditional.
39866         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39867         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39868         <kernel-features.h>.
39869         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39870         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39871         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39872         <kernel-features.h>.
39873         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39874         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39875         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39876         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39877         <kernel-features.h>.
39878         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39879         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39880         * sysdeps/unix/sysv/linux/linkat.c: Do not include
39881         <kernel-features.h>.
39882         (linkat) [__NR_linkat]: Make code unconditional.
39883         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39884         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39885         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39886         <kernel-features.h>.
39887         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39888         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39889         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39890         <kernel-features.h>.
39891         (mkdirat) [__NR_mkdirat]: Make code unconditional.
39892         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39893         * sysdeps/unix/sysv/linux/openat.c: Do not include
39894         <kernel-features.h>.
39895         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39896         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39897         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39898         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39899         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39900         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39901         <kernel-features.h>.
39902         (readlinkat) [__NR_readlinkat]: Make code unconditional.
39903         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
39904         result of INLINE_SYSCALL directly, not via int variable.
39905         * sysdeps/unix/sysv/linux/renameat.c: Do not include
39906         <kernel-features.h>.
39907         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39908         (renameat) [__NR_renameat]: Make code unconditional.
39909         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39910         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39911         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39912         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39914         (__ASSUME_ATFCTS): Do not undefine and redefine.
39915         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39916         <kernel-features.h>.
39917         (symlinkat) [__NR_symlinkat]: Make code unconditional.
39918         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39919         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39920         <kernel-features.h>.
39921         (unlinkat) [__NR_unlinkat]: Make code unconditional.
39922         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39923         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39924         (__ASSUME_ATFCTS): Do not undefine and redefine.
39925         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39926         <kernel-features.h>.
39927         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39928         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39929         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39930         <kernel-features.h>.
39931         (__xmknodat) [__NR_mknodat]: Make code unconditional.
39932         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39934 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
39936         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39938 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
39940         [BZ #17069]
39941         * posix/regcomp.c (parse_reg_exp): Deallocate partially
39942         constructed tree before returning error.
39943         * posix/bug-regexp36.c: Expand test case.
39945 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
39947         [BZ #6803]
39948         * math/libm-test.inc (scalbln_test_date):
39949         Add errno expectations.
39950         * math/w_scalblnf.c: New File.
39951         Add wrapper which checks for setting errno to ERANGE.
39952         Add weak_alias for corresponding scalbln function.
39953         * math/w_scalbln.c: Likewise.
39954         * math/w_scalblnl.c: Likewise.
39955         * math/Makefile (libm-calls): Add w_scalbln.
39956         * sysdeps/ieee754/flt-32/s_scalblnf.c:
39957         Remove weak_alias for corresponding scalbln function.
39958         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39959         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39960         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39961         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39962         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39963         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39964         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39965         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39966         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39967         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39968         Remove long_double_symbol for scalblnl function in libm, libc.
39969         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39970         Add wrapper which checks for setting errno to ERANGE.
39971         Add long_double_symbol for scalblnl function in libm, libc.
39972         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39973         Remove long_double_symbol for scalblnl in libm.
39974         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39975         Add wrapper which checks for setting errno to ERANGE.
39976         Add long_double_symbol for scalblnl function in libm.
39977         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39978         Do not use wrapper because of own implementation.
39980 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
39982         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39983         3 bytes for __pad1 for x32.
39984         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39986 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
39987             H.J. Lu  <hongjiu.lu@intel.com>
39989         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39990         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39991         * sysdeps/x86_64/multiarch/memset.S: Likewise.
39992         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39993         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39995 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
39997         [BZ #17069]
39998         * posix/regcomp.c (parse_expression): Deallocate partially
39999         constructed tree before returning error.
40000         * posix/Makefile.c (tests): Add bug-regex36.
40001         (generated): Add bug-regex36.mtrace.
40002         (tests-special): Add $(objpfx)bug-regex36-mem.out
40003         (bug-regex36-ENV): New variable.
40004         ($(objpfx)bug-regex36-mem.out): New rule.
40005         * posix/bug-regex36.c: New file.
40007 2014-06-19  Will Newton  <will.newton@linaro.org>
40009         * malloc/malloc.c (systrim): If extra is zero then return
40010         early.
40012 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
40014         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
40016 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
40018         * sysdeps/aarch64/strchr.S: New file.
40020 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40022         [BZ #17022]
40023         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
40024         from arguments -2 or below.
40025         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
40026         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
40028 2014-06-18  Andreas Schwab  <schwab@suse.de>
40030         [BZ #17062]
40031         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
40032         of a bracket expr not to run off the end of the string.
40033         * posix/Makefile (tests): Add tst-fnmatch3.
40034         * posix/tst-fnmatch3.c: New file.
40036 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
40038         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
40039         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40040         [$(cross-compiling) = no]: Likewise.
40041         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40042         [$(cross-compiling) = no]: Likewise.
40044 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
40046         [BZ #17031]
40047         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
40048         double, adjusted for any remainder from the high double.
40049         * math/libm-test.inc (nearbyint): Add tests.
40050         (rint): Likewise.
40052 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40054         * nptl/sysdeps/powerpc/Makefile: Moved ...
40055         * sysdeps/powerpc/nptl/Makefile: ... here.
40056         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
40057         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
40058         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
40059         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
40060         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
40061         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
40062         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
40063         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
40064         * nptl/sysdeps/powerpc/tls.h: Moved ...
40065         * sysdeps/powerpc/nptl/tls.h: ... here.
40067 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
40069         [BZ #16681]
40070         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
40071         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
40072         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
40073         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
40074         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
40075         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
40076         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40077         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40078         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40080 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
40082         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40084 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
40086         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40087         defined operator.
40089         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40090         $TIMEOUTFACTOR.
40092 2014-06-16  Florian Weimer  <fweimer@redhat.com>
40094         [BZ #17058]
40095         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40096         non-executed part of the test.
40098 2014-06-16  Andreas Schwab  <schwab@suse.de>
40100         * string/bits/string2.h (strdup, strndup): Update feature guard.
40102 2014-06-14  David S. Miller  <davem@davemloft.net>
40104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40106 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
40108         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40109         that was previously under [RESET_PID].
40110         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40112         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40113         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40114         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40115         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40116         (__libc_vfork): New strong alias.
40117         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40119 2014-06-14 Andi Kleen  <ak@linux.intel.com>
40121         * sysdeps/generic/elide.h: New file.
40123 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
40125         * Makefile (installed-headers): Adjust path of pthread.h header.
40127 2014-06-13  Roland McGrath  <roland@hack.frob.com>
40129         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40130         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40131         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40132         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40134         * nptl/sysdeps/s390/Makefile: Moved ...
40135         * sysdeps/s390/nptl/Makefile: ... here.
40136         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40137         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
40138         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
40139         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
40140         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
40141         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
40142         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
40143         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
40144         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
40145         * sysdeps/s390/nptl/pthreaddef.h: ... here.
40146         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
40147         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
40148         * nptl/sysdeps/s390/tls.h: Moved ...
40149         * sysdeps/s390/nptl/tls.h: ... here.
40151         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
40152         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
40154 2014-06-13  David S. Miller  <davem@davemloft.net>
40156         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
40157         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40158         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
40159         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
40160         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
40161         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40162         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
40163         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
40164         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
40165         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40166         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
40167         Remove RESET_PID cpp guards.
40168         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
40169         Remove RESET_PID cpp guards.
40170         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
40172 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
40174         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
40175         __sp to uintptr_t.
40177 2014-06-13  Andi Kleen  <ak@linux.intel.com>
40179         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
40180         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
40181         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
40182         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
40183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
40184         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
40185         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
40186         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
40187         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
40188         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
40189         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
40190         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
40191         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
40192         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
40193         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
40194         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
40195         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
40196         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
40197         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
40198         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
40200         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
40201         (pthread_rwlock_rdlock): Add elision.
40202         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
40203         (pthread_rwlock_wrlock): Add elision.
40204         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
40205         (pthread_rwlock_trywrlock): Add elision.
40206         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
40207         (pthread_rwlock_tryrdlock): Add elision.
40208         * nptl/pthread_rwlock_unlock.c: Include elide.h.
40209         (pthread_rwlock_tryrdlock): Add elision unlock.
40210         * nptl/sysdeps/pthread/pthread.h:
40211         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
40212         (PTHREAD_RWLOCK_INITIALIZER,
40213         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
40214         Handle new elision field.
40215         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
40216         * sysdeps/arm/nptl/bits/pthreadtypes.h
40217         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40218         * sysdeps/sh/nptl/bits/pthreadtypes.h
40219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40220         * sysdeps/tile/nptl/bits/pthreadtypes.h
40221         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40222         * sysdeps/a/nptl/bits/pthreadtypes.h
40223         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40224         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40225         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40226         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40227         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40228         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
40229         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40230         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40231         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40232         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40233         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40234         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40235         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40236         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40237         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40238         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
40239         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40240         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
40241         (elision_init): Set try_xbegin to zero when no RTM.
40242         * sysdeps/x86/nptl/bits/pthreadtypes.h
40243         (pthread_rwlock_t): Change __pad1 to __rwelision.
40244         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40246 2014-06-13  Andi Kleen  <ak@linux.intel.com>
40248         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
40249         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
40250         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
40251         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
40253 2014-06-13  Meador Inge  <meadori@codesourcery.com>
40255         [BZ #16996]
40256         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
40257         that the cached result has been set before returning it.
40259 2014-06-12  Roland McGrath  <roland@hack.frob.com>
40261         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
40262         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
40263         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
40264         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
40265         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
40266         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
40268         * nptl/sysdeps/sparc/Makefile: Moved ...
40269         * sysdeps/sparc/nptl/Makefile: ... here.
40270         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
40271         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
40272         * nptl/sysdeps/sparc/tls.h: Moved ...
40273         * sysdeps/sparc/nptl/tls.h: ... here.
40274         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
40275         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
40276         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
40277         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
40278         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
40279         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
40280         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
40281         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
40282         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
40283         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
40284         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
40285         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
40286         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
40287         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
40288         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
40289         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
40290         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
40291         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
40292         Update #include.
40293         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
40294         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
40295         Update #include.
40296         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
40297         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
40298         Update #include.
40299         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
40300         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
40301         Update #include.
40303         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40305         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
40306         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40308         * sysdeps/pthread/posix-timer.h: Include <list.h>.
40309         (struct list_links): Type removed.
40310         (struct thread_node, struct timer_node): Replace struct list_links
40311         with struct list_head.
40312         (list_unlink_ip): Likewise.
40313         * sysdeps/pthread/timer_routines.c
40314         (timer_free_list, thread_free_list, thread_active_list): Likewise.
40315         (list_append, list_insbefore): Likewise.
40316         (list_init): Function removed.
40317         (thread_init, init_module): Use INIT_LIST_HEAD instead.
40318         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40319         * sysdeps/pthread/Makefile: ... here, new file.
40321         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40322         * sysdeps/nptl/Implies: ... here.
40323         * sysdeps/unix/sysv/linux/Implies: Add nptl.
40324         * nptl/sysdeps/pthread/list.h: Moved ...
40325         * include/list.h: ... here.
40326         * nptl/sysdeps/pthread/createthread.c: Moved ...
40327         * nptl/createthread.c: ... here.
40328         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40329         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40330         * nptl/pt-longjmp.c: ... here.
40331         * nptl/sysdeps/pthread/Makefile: Moved ...
40332         * sysdeps/nptl/Makefile: ... here.
40333         * nptl/sysdeps/pthread/Subdirs: Moved ...
40334         * sysdeps/nptl/Subdirs: ... here.
40335         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40336         * sysdeps/nptl/aio_misc.h: ... here.
40337         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40338         * sysdeps/nptl/bits/libc-lock.h: ... here.
40339         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40340         * sysdeps/nptl/bits/libc-lockP.h: ... here.
40341         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40342         * sysdeps/nptl/bits/stdio-lock.h: ... here.
40343         * nptl/sysdeps/pthread/configure: Moved ...
40344         * sysdeps/nptl/configure: ... here.
40345         * nptl/sysdeps/pthread/configure.ac: Moved ...
40346         * sysdeps/nptl/configure.ac: ... here.
40347         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40348         * sysdeps/nptl/gai_misc.h: ... here.
40349         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40350         * sysdeps/nptl/librt-cancellation.c: ... here.
40351         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40352         * sysdeps/nptl/malloc-machine.h: ... here.
40353         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40354         * sysdeps/nptl/pthread-functions.h: ... here.
40355         * nptl/sysdeps/pthread/pthread.h: Moved ...
40356         * sysdeps/nptl/pthread.h: ... here.
40357         * nptl/sysdeps/pthread/setxid.h: Moved ...
40358         * sysdeps/nptl/setxid.h: ... here.
40359         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40360         * sysdeps/nptl/sigfillset.c: ... here.
40361         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40362         * sysdeps/nptl/tcb-offsets.h: ... here.
40363         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40364         * sysdeps/nptl/tst-mqueue8x.c: ... here.
40365         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40366         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40367         * nptl/sysdeps/pthread/allocalim.h: Moved ...
40368         * sysdeps/pthread/allocalim.h: ... here.
40369         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40370         * sysdeps/pthread/bits/sigthread.h: ... here.
40371         * nptl/sysdeps/pthread/flockfile.c: Moved ...
40372         * sysdeps/pthread/flockfile.c: ... here.
40373         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40374         * sysdeps/pthread/ftrylockfile.c: ... here.
40375         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40376         * sysdeps/pthread/funlockfile.c: ... here.
40377         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40378         * sysdeps/pthread/posix-timer.h: ... here.
40379         * nptl/sysdeps/pthread/timer_create.c: Moved ...
40380         * sysdeps/pthread/timer_create.c: ... here.
40381         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40382         * sysdeps/pthread/timer_delete.c: ... here.
40383         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40384         * sysdeps/pthread/timer_getoverr.c: ... here.
40385         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40386         * sysdeps/pthread/timer_gettime.c: ... here.
40387         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40388         * sysdeps/pthread/timer_routines.c: ... here.
40389         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40390         * sysdeps/pthread/timer_settime.c: ... here.
40391         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40392         * sysdeps/pthread/tst-timer.c: ... here.
40393         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40394         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40396         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40397         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40399         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40400         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40401         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40402         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40403         Update #include target.
40404         * nptl/sysdeps/i386/i686/Makefile: Moved ...
40405         * sysdeps/i386/i686/nptl/Makefile: ... here.
40406         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40407         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40408         Update #include target.
40409         * nptl/sysdeps/i386/i686/tls.h: Moved ...
40410         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
40411         * nptl/sysdeps/i386/Makefile: Moved ...
40412         * sysdeps/i386/nptl/Makefile: ... here.
40413         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40414         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40415         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40416         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40417         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40418         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40419         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40420         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40421         * sysdeps/i386/nptl/pthreaddef.h: ... here.
40422         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40423         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40424         * nptl/sysdeps/i386/tls.h: Moved ...
40425         * sysdeps/i386/nptl/tls.h: ... here.
40427         * sysdeps/sh/Makefile [$(subdir) = csu]
40428         (gen-as-const-headers): Add tcb-offsets.sym.
40429         * nptl/sysdeps/sh/Makefile: File removed.
40430         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40431         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40432         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40433         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40434         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40435         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40436         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40437         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40438         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40439         * sysdeps/sh/nptl/pthreaddef.h: ... here.
40440         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40441         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40442         * nptl/sysdeps/sh/tls.h: Moved ...
40443         * sysdeps/sh/nptl/tls.h: ... here.
40444         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40445         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40446         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40447         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40448         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40449         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40450         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40451         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40452         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40453         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40454         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40455         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40456         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40457         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40458         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40459         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40460         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40461         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40462         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40463         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40464         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40465         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40466         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40467         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40468         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40469         Moved ...
40470         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40471         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40472         Moved ...
40473         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40474         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40475         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40476         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40477         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40478         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40479         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40480         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40481         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40482         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40483         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40484         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40485         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40486         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40487         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40488         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40489         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40490         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40491         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40493 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
40495         * posix/spawn_faction_addopen.c: Include string.h.
40497 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40499         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40500         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40501         * nptl/sysdeps/x86_64/Makefile: Moved ...
40502         * sysdeps/x86_64/nptl/Makefile: ... here.
40503         * nptl/sysdeps/x86_64/configure: Moved ...
40504         * sysdeps/x86_64/nptl/configure: ... here.
40505         * nptl/sysdeps/x86_64/configure.ac: Moved ...
40506         * sysdeps/x86_64/nptl/configure.ac: ... here.
40507         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40508         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40509         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40510         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40511         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40512         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40513         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40514         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40515         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40516         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40517         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40518         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40519         * nptl/sysdeps/x86_64/tls.h: Moved ...
40520         * sysdeps/x86_64/nptl/tls.h: ... here.
40521         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40522         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40523         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40524         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40526         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40528 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40530         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40532 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
40534         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40535         type.
40536         [POSIX] (off_t): Likewise.
40537         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40538         [POSIX] (S_ISBLK): Require macro.
40539         [POSIX] (S_ISCHR): Likewise.
40540         [POSIX] (S_ISDIR): Likewise.
40541         [POSIX] (S_ISFIFO): Likewise.
40542         [POSIX] (S_ISREG): Likewise.
40543         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40544         optional-macro.
40545         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40546         type.
40547         [POSIX] (time_t): Likewise.
40548         [POSIX] (timer_t): Likewise.
40550 2014-06-11  Florian Weimer  <fweimer@redhat.com>
40552         [BZ #17048]
40553         * posix/spawn_int.h (struct __spawn_action): Make the path string
40554         non-const to support deallocation.
40555         * posix/spawn_faction_addopen.c
40556         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40557         * posix/spawn_faction_destroy.c
40558         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
40559         path in all spawn_do_open actions.
40560         * posix/tst-spawn.c (do_test): Exercise the copy operation in
40561         posix_spawn_file_actions_addopen.
40563 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
40565         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40566         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40567         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40568         conditional code always true.
40569         (__libc_vfork): New alias.
40571 2014-06-11  Roland McGrath  <roland@hack.frob.com>
40573         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40574         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40576         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40578         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40579         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40581         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40582         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40584         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40585         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40587 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40589         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40590         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40591         multiarch strcmp for PPC64.
40592         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40593         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40594         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40595         multiarch optimizations.
40596         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40597         (__libc_ifunc_impl_list): Likewise.
40599 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
40601         * benchtests/scripts/validate_benchout.py: New script.
40602         * benchtests/Makefile (bench-func): Call it.
40603         * benchtests/scripts/benchout.schema.json: New file.
40605 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
40607         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40608         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40609         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40610         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40611         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40612         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40613         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40614         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40615         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40616         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40617         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40618         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40619         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40620         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40621         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40622         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40624         Moved ...
40625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40626         ... here.
40627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40628         Moved ...
40629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40631         Moved ...
40632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40633         ... here.
40634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40635         Moved ...
40636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40637         ... here.
40638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40639         Moved ...
40640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40642         Moved ...
40643         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40644         ... here.
40645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40646         Moved ...
40647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40648         ... here.
40649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40650         Moved ...
40651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40653         Moved ...
40654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40655         ... here.
40656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40657         Moved ...
40658         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40659         ... here.
40660         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40661         Moved ...
40662         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40663         ... here.
40664         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40665         Moved ...
40666         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40668         Moved ...
40669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40670         ... here.
40671         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40672         Moved ...
40673         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40674         ... here.
40675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40676         Moved ...
40677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40678         ... here.
40679         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40680         Moved ...
40681         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40683         Moved ...
40684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40685         ... here.
40686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40687         Moved ...
40688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40689         ... here.
40690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40691         Moved ...
40692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40694         Moved ...
40695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40696         ... here.
40697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40698         Moved ...
40699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40701         Moved ...
40702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40704         Moved ...
40705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40706         ... here.
40707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40708         Moved ...
40709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40710         ... here.
40711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40712         Moved ...
40713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40714         ... here.
40715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40716         Moved ...
40717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40719         Moved ...
40720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40721         ... here.
40722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40723         Moved ...
40724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40725         ... here.
40726         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40727         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40728         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40729         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40730         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40731         Moved ...
40732         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40733         ... here.
40734         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40735         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40736         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40737         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40738         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40739         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40740         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40741         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40742         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40743         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40744         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40745         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40746         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40747         Moved ...
40748         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40749         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40750         Moved ...
40751         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40752         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40753         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40754         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40755         Moved ...
40756         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40757         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40758         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40759         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40760         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40761         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40762         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40764 2014-06-10  Wilco  <wdijkstr@arm.com>
40766         * math/test-fenv-return.c: New file.
40767         * math/Makefile: Add new test test-fenv-return.
40769 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
40771         [BZ #17042]
40772         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40773         when x - 1 is zero.
40774         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40775         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40776         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40777         0.0L for an argument of 1.0L.
40778         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40779         Likewise.
40780         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40781         value when x - 1 is zero.
40782         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40783         * sysdeps/i386/fpu/libm-test-ulps: Update.
40784         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40786 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
40788         [BZ #15119]
40789         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40791 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40793         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40794         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40796 2014-06-09  Roland McGrath  <roland@hack.frob.com>
40798         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40799         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40801         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40802         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40804         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40805         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40807         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40808         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40810         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40811         if not already defined.
40812         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40813         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40814         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40815         (TLS_INIT_TP): Use it.
40816         (TLS_DEFINE_INIT_TP): New macro.
40817         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40819 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
40821         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40822         constant.
40823         [POSIX] (IXANY): Likewise.
40824         [POSIX] (OLCUC): Likewise.
40825         [POSIX || POSIX2008] (CBAUD): Do not allow.
40826         [POSIX || POSIX2008] (DEFECHO): Likewise.
40827         [POSIX || POSIX2008] (ECHOCTL): Likewise.
40828         [POSIX || POSIX2008] (ECHOKE): Likewise.
40829         [POSIX || POSIX2008] (ECHOPRT): Likewise.
40830         [POSIX || POSIX2008] (EXTA): Likewise.
40831         [POSIX || POSIX2008] (EXTB): Likewise.
40832         [POSIX || POSIX2008] (FLUSHO): Likewise.
40833         [POSIX || POSIX2008] (LOBLK): Likewise.
40834         [POSIX || POSIX2008] (PENDIN): Likewise.
40835         [POSIX || POSIX2008] (SWTCH): Likewise.
40836         [POSIX || POSIX2008] (VDISCARD): Likewise.
40837         [POSIX || POSIX2008] (VDSUSP): Likewise.
40838         [POSIX || POSIX2008] (VLNEXT): Likewise.
40839         [POSIX || POSIX2008] (VREPRINT): Likewise.
40840         [POSIX || POSIX2008] (VSTATUS): Likewise.
40841         [POSIX || POSIX2008] (VWERASE): Likewise.
40842         (B*): Change to B[0123456789]*.
40843         * conform/data/time.h-data [POSIX || UNIX98]
40844         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40845         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40846         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40847         [POSIX] (tm_*): Do not allow.
40849 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
40851         * Makefile (install): Don't set LANGUAGE.
40852         * Makefile.in (install): Likewise.
40853         * assert/Makefile (test-assert-ENV): Remove variable.
40854         (test-assert-perr-ENV): Likewise.
40855         * elf/Makefile (neededtest4-ENV): Likewise.
40856         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40857         [$(cross-compiling) = no]: Don't set LANGUAGE.
40858         * io/ftwtest-sh (LANG): Remove variable.
40859         * libio/Makefile (tst-widetext-ENV): Likewise.
40860         * manual/install.texi (Running make install): Don't refer to
40861         environment settings for make install.
40862         * INSTALL: Regenerated.
40863         * nptl/tst-tls6.sh: Don't set LANG.
40864         * posix/globtest.sh (LANG): Remove variable.
40865         * string/Makefile (tester-ENV): Likewise.
40866         (inl-tester-ENV): Likewise.
40867         (noinl-tester-ENV): Likewise.
40868         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40869         [$(cross-compiling) = no]: Don't set LANGUAGE.
40870         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40871         without explicit environment settings.
40873 2014-06-06  Roland McGrath  <roland@hack.frob.com>
40875         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40876         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40877         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40878         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40880 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
40882         * crypt/crypt-private.h [DOS]: Add some includes taken from the
40883         other files in the crypt directory.
40884         * crypt/crypt.c: Remove duplicate includes.
40885         * crypt/crypt-entry.c: Likewise.
40886         * crypt/crypt_util.c: Likewise.
40888 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
40890         * Makeconfig (run-program-env): New variable.
40891         (run-program-prefix-before-env): Likewise.
40892         (run-program-prefix-after-env): Likewise.
40893         (run-program-prefix): Define in terms of new variables.
40894         (built-program-cmd-before-env): New variable.
40895         (built-program-cmd-after-env): Likewise.
40896         (built-program-cmd): Define in terms of new variables.
40897         (test-program-prefix-before-env): New variable.
40898         (test-program-prefix-after-env): Likewise.
40899         (test-program-prefix): Define in terms of new variables.
40900         (test-program-cmd-before-env): New variable.
40901         (test-program-cmd-after-env): Likewise.
40902         (test-program-cmd): Define in terms of new variables.
40903         * Rules (make-test-out): Use $(run-program-env).
40904         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40905         (help): Do not mention environment variables.  Mention
40906         --timeoutfactor option.
40907         (timeoutfactor): New variable.
40908         (blacklist_exports): Remove function.
40909         (exports): Remove variable.
40910         (command): Do not include ${exports}.
40911         * manual/install.texi (Configuring and compiling): Do not mention
40912         test wrappers preserving environment variables.  Mention that last
40913         assignment to a variable must take precedence.
40914         * INSTALL: Regenerated.
40915         * benchtests/Makefile (run-bench): Use $(run-program-env).
40916         * catgets/Makefile ($(objpfx)test1.cat): Use
40917         $(built-program-cmd-before-env), $(run-program-env) and
40918         $(built-program-cmd-after-env).
40919         ($(objpfx)test2.cat): Do not specify environment variables
40920         explicitly.
40921         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40922         $(run-program-env) and $(built-program-cmd-after-env).
40923         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40924         $(run-program-env) and $(test-program-cmd-after-env).
40925         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40926         explicitly.
40927         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40928         run_program_env and test_program_cmd_after_env arguments.
40929         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40930         * elf/tst-pathopt.sh: Use run_program_env argument.
40931         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40932         $(test-wrapper-env) and $(run-program-env).
40933         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40934         run_program_env arguments.
40935         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40936         * intl/Makefile ($(objpfx)tst-gettext.out): Use
40937         $(test-program-prefix-before-env), $(run-program-env) and
40938         $(test-program-prefix-after-env).
40939         ($(objpfx)tst-gettext2.out): Likewise.
40940         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40941         run_program_env and test_program_prefix_after_env arguments.
40942         * intl/tst-gettext2.sh: Likewise.
40943         * intl/tst-gettext4.sh: Do not set environment variables
40944         explicitly.
40945         * intl/tst-gettext6.sh: Likewise.
40946         * intl/tst-translit.sh: Likewise.
40947         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40948         $(test-program-prefix-before-env), $(run-program-env) and
40949         $(test-program-prefix-after-env).
40950         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40951         run_program_env and test_program_prefix_after_env arguments.
40952         * math/Makefile (run-regen-ulps): Use $(run-program-env).
40953         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40954         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
40955         explicitly with each use of ${test_wrapper_env}.
40956         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40957         $(test-program-prefix-before-env), $(run-program-env) and
40958         $(test-program-prefix-after-env).
40959         * posix/tst-getconf.sh: Do not set environment variables
40960         explicitly.
40961         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40962         run_program_env and test_program_prefix_after_env arguments.
40963         * stdio-common/tst-printf.sh: Do not set environment variables
40964         explicitly.
40965         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40966         $(test-program-prefix-before-env), $(run-program-env) and
40967         $(test-program-prefix-after-env).
40968         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40969         run_program_env and test_program_prefix_after_env arguments.
40970         Split $test calls into $test_pre and $test.
40971         * timezone/Makefile (build-testdata): Use
40972         $(built-program-cmd-before-env), $(run-program-env) and
40973         $(built-program-cmd-after-env).
40975 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40977         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40978         strlen for non SHARED builds.
40980 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40982         * nptl/allocatestack.c (check_list): Inlined function...
40983         (__reclaim_stacks): ... here.
40985 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
40987         [BZ #15698]
40988         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40989         memory overrun.
40991 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
40993         * Rules (make-test-out): Include
40994         LOCPATH=$(common-objpfx)localedata in default environment.
40995         * debug/Makefile (tst-chk1-ENV): Remove variable.
40996         (tst-chk2-ENV): Likewise.
40997         (tst-chk3-ENV): Likewise.
40998         (tst-chk4-ENV): Likewise.
40999         (tst-chk5-ENV): Likewise.
41000         (tst-chk6-ENV): Likewise.
41001         (tst-lfschk1-ENV): Likewise.
41002         (tst-lfschk2-ENV): Likewise.
41003         (tst-lfschk3-ENV): Likewise.
41004         (tst-lfschk4-ENV): Likewise.
41005         (tst-lfschk5-ENV): Likewise.
41006         (tst-lfschk6-ENV): Likewise.
41007         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
41008         (tst-iconv7-ENV): Likewise.
41009         * intl/Makefile (LOCPATH-ENV): Likewise.
41010         (tst-codeset-ENV): Likewise.
41011         (tst-gettext3-ENV): Likewise.
41012         (tst-gettext5-ENV): Likewise.
41013         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
41014         (tst-fopenloc-ENV): Likewise.
41015         (tst-fgetws-ENV): Remove variable.
41016         (tst-ungetwc1-ENV): Likewise.
41017         (tst-ungetwc2-ENV): Likewise.
41018         (bug-ungetwc2-ENV): Likewise.
41019         (tst-swscanf-ENV): Likewise.
41020         (bug-ftell-ENV): Likewise.
41021         (tst-fgetwc-ENV): Likewise.
41022         (tst-fseek-ENV): Likewise.
41023         (tst-ftell-partial-wide-ENV): Likewise.
41024         (tst-ftell-active-handler-ENV): Likewise.
41025         (tst-ftell-append-ENV): Likewise.
41026         * posix/Makefile (tst-fnmatch-ENV): Likewise.
41027         (tst-regexloc-ENV): Likewise.
41028         (bug-regex1-ENV): Likewise.
41029         (tst-regex-ENV): Likewise.
41030         (tst-regex2-ENV): Likewise.
41031         (bug-regex5-ENV): Likewise.
41032         (bug-regex6-ENV): Likewise.
41033         (bug-regex17-ENV): Likewise.
41034         (bug-regex18-ENV): Likewise.
41035         (bug-regex19-ENV): Likewise.
41036         (bug-regex20-ENV): Likewise.
41037         (bug-regex22-ENV): Likewise.
41038         (bug-regex23-ENV): Likewise.
41039         (bug-regex25-ENV): Likewise.
41040         (bug-regex26-ENV): Likewise.
41041         (bug-regex30-ENV): Likewise.
41042         (bug-regex32-ENV): Likewise.
41043         (bug-regex33-ENV): Likewise.
41044         (bug-regex34-ENV): Likewise.
41045         (bug-regex35-ENV): Likewise.
41046         (tst-rxspencer-ENV): Likewise.
41047         (tst-rxspencer-no-utf8-ENV): Likewise.
41048         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
41049         (tst-sscanf-ENV): Likewise.
41050         (tst-swprintf-ENV): Likewise.
41051         (tst-swscanf-ENV): Likewise.
41052         (test-vfprintf-ENV): Likewise.
41053         (scanf13-ENV): Likewise.
41054         (bug14-ENV): Likewise.
41055         (tst-grouping-ENV): Likewise.
41056         * stdlib/Makefile (tst-strtod-ENV): Likewise.
41057         (tst-strtod3-ENV): Likewise.
41058         (tst-strtod4-ENV): Likewise.
41059         (tst-strtod5-ENV): Likewise.
41060         (testmb2-ENV): Likewise./
41061         * string/Makefile (tst-strxfrm-ENV): Likewise.
41062         (tst-strxfrm2-ENV): Likewise.
41063         (bug-strcoll1-ENV): Likewise.
41064         (test-strcasecmp-ENV): Likewise.
41065         (test-strncasecmp-ENV): Likewise.
41066         * time/Makefile (tst-strptime-ENV): Likewise.
41067         (tst-ftime_l-ENV): Likewise.
41068         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
41069         (tst-mbrtowc-ENV): Likewise.
41070         (tst-wcrtomb-ENV): Likewise.
41071         (tst-mbrtowc2-ENV): Likewise.
41072         (tst-c16c32-1-ENV): Likewise.
41073         (tst-mbsnrtowcs-ENV): Likewise.
41075 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
41077         * manual/resource.texi (How to get information about the memory
41078         subsystem?): Fix typo.
41079         Reported by Peon de la Parra Ivan <peon@keba.com>
41081 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
41083         [BZ #16882]
41084         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41085         (pthread_spin_lock): Branch out of spin loop to proper location.
41086         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41087         (pthread_spin_lock): Likewise.
41089         * nptl/tst-spin4.c: New test.
41090         * nptl/Makefile (tests): Add tst-spin4.
41092 2014-06-03  Andreas Schwab  <schwab@suse.de>
41094         [BZ #15946]
41095         * resolv/res_send.c (send_dg): Reload file descriptor after
41096         calling reopen.
41098 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
41100         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41102 2014-06-03  Richard Henderson  <rth@redhat.com>
41104         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41105         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41106         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41107         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
41108         in the SAVE_PID block.
41109         (__libc_vfork): New alias.
41110         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41112         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41113         child in registers, not on the stack.  Remove RESET_PID conditionals.
41114         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41116 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
41118         * sysdeps/aarch64/libm-test-ulps: Regenerate.
41120 2014-06-03  Wilco  <wdijkstr@arm.com>
41122         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41123         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41124         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41125         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41126         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41127         Likewise.
41129 2014-06-03  Wilco  <wdijkstr@arm.com>
41131         * sysdeps/aarch64/fpu/math_private.h
41132         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41133         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41134         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41135         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41136         Fix declarations.
41138 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41140         * crypt/crypt-private.h: Include ufc-crypt.h.
41141         (__b64_from_24bit): Declare extern.
41142         * crypt/crypt_util.c(__b64_from_24bit): New function.
41143         (b64t): New static const variable.
41144         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
41145         (b64t): Remove variable.
41146         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
41147         * crypt/sha256-crypt.c: Include crypt-private.h.
41148         (b64t): Remove variable.
41149         (__sha256_crypt_r): Remove b64_from_24bit and replace
41150         with __b64_from_24bit.
41151         * crypt/sha512-crypt.c: Likewise.
41153 2014-06-02  Roland McGrath  <roland@hack.frob.com>
41155         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41156         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
41157         Label the code __libc_vfork rather than __vfork.
41158         [!NOT_IN_libc] (vfork): Define as weak alias.
41159         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
41160         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
41161         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
41163 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41165         * malloc/malloc.c (malloc_info): Fix format specifier for
41166         n_mmaps.
41168 2014-06-02  Wilco  <wdijkstr@arm.com>
41170         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
41171         FPCR write.
41173 2014-06-02  Wilco  <wdijkstr@arm.com>
41175         [BZ #17009]
41176         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
41177         Rewrite to reduce FPCR/FPSR accesses.
41179 2014-06-01  David S. Miller  <davem@davemloft.net>
41181         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41183 2014-05-31  David S. Miller  <davem@davemloft.net>
41185         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
41186         to occur in round to nearest mode when |x| >= 2.0
41188 2014-05-30  Richard Henderson  <rth@twiddle.net>
41190         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
41191         (PSEUDO_RET_NOERRNO): Remove.
41192         (ret): Don't redefine.
41193         (ret_NOERRNO): Define in terms of ret.
41194         (ret_ERRVAL): Likewise.
41196         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
41197         use of PSEUDO_RET; perform the error check directly.
41199 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
41201         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
41202         with __int128_t.
41204 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41206         * malloc/malloc (malloc_info): Fix formatting.
41208 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
41209             Roland McGrath  <roland@hack.frob.com>
41211         * malloc/malloc (malloc_info): Also print mmapped statistics.
41213 2014-05-30  Roland McGrath  <roland@hack.frob.com>
41215         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
41216         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
41218 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
41220         * malloc/malloc.c (malloc_info): Inline mi_arena.
41222 2014-05-29  Richard Henderson  <rth@twiddle.net>
41224         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
41225         Remove comma before expanding ASM_ARGS_##nr.
41226         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
41227         Make _x0 a strict output; make _x8 a strict input; adjust expansion
41228         of ASM_ARGS_##nr.
41229         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
41230         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
41231         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
41232         (ASM_ARGS_1): Add leading comma.
41234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
41235         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
41236         to __errno_location.
41237         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
41238         Remove the expected plt for __errno_location.
41240         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41241         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
41242         call to __read_tp.
41244         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41245         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
41246         it and break it down.
41247         (DOCARGS_0, DOCARGS_1): Do nothing.
41248         (DOCARGS_2): Update to store into the new stack frame.
41249         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
41250         (UNDOCARGS_1): Update to restore from the new stack frame.
41251         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
41252         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
41254         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41255         (SINGLE_THREAD_P): New parameter for result regno.
41256         (PSEUDO): Update to match; use cbz instead of beq.
41258         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41259         Use ENTRY to define the _nocancel entry point.  Share the syscall
41260         and syscall error check paths with the cancel path.
41261         (PSEUDO_END): New.
41263         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
41264         whitespace; tabs before and after asm mnemonics.
41266 2014-05-29  Eric Wong  <normalperson@yhbt.net>
41268         [BZ #15132]
41269         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41270         Call fstat64 or stat64 internally, depending on arguments passed.
41271         Replace stat buffer argument with file descriptor argument.
41272         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
41273         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41274         Pass fd to __internal_statvfs instead of calling fstat64.
41275         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
41276         Pass fd to __internal_statvfs64 instead of calling fstat64.
41277         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
41278         Pass -1 to __internal_statvfs instead of calling stat64.
41279         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
41280         Pass -1 to __internal_statvfs64 instead of calling stat64.
41282 2014-05-28  Roland McGrath  <roland@hack.frob.com>
41284         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
41285         that was previously under [RESET_PID].
41286         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
41288         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
41289         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
41291 2014-05-27  Roland McGrath  <roland@hack.frob.com>
41293         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
41295         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
41296         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
41298 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
41300         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
41302 2014-05-27  Andreas Schwab  <schwab@suse.de>
41304         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41305         TLS_INIT_TP macro.
41306         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
41307         * elf/rtld.c (init_tls, dl_main): Likewise.
41308         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41309         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41310         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41311         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41312         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41313         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41314         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41315         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41316         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41317         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41318         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41319         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41320         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41321         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41322         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41323         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41324         * sysdeps/generic/tls.h: Update description.
41326 2014-05-27  Will Newton  <will.newton@linaro.org>
41328         [BZ #16990]
41329         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41330         and restore r2 rather than just restoring.
41332 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41334         [BZ #16724]
41335         * libio/tst-ftell-append.c: New test case.
41336         * libio/Makefile (tests): Add test case.
41337         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41338         append mode.
41339         * libio/wfileops.c (do_ftell_wide): Likewise.
41341 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41345         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41346         ...
41347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41349         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41350         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41351         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41352         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41353         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41354         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41355         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41356         Moved ...
41357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41359         Moved ...
41360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41361         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41362         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41363         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41364         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41365         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41366         ...
41367         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41368         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41369         Moved ...
41370         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41371         here.
41372         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41373         ...
41374         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41375         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41376         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41378         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41379         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41380         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41381         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41384         merge into ...
41385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41386         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41387         ...
41388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41389         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41390         ...
41391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41393         Moved ...
41394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41395         here.
41396         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41397         Moved ...
41398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41400         Moved ...
41401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41404         conditional [RESET_PID].
41405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41406         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41407         removed.
41408         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41409         removed.
41411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41412         <tcb-offsets.h>.
41413         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41414         (__libc_vfork): New strong alias.
41415         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41416         removed.
41417         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41418         Removed.
41420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41421         <tcb-offsets.h>.
41422         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41423         (__libc_vfork): New strong alias.
41424         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41425         removed.
41426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41427         removed.
41429 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
41431         * malloc/malloc.c (mi_arena): New function.
41432         (malloc_info): Remove nested function mi_arena. Call non-nosted
41433         function mi_arena.
41435 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41437         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41438         by insrwi.
41439         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41440         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41441         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41442         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41443         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41444         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41445         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41447 2014-05-26  Andreas Schwab  <schwab@suse.de>
41449         [BZ #16984]
41450         * locale/programs/repertoire.c (repertoire_read): Add slash
41451         between I18NPATH element and file name.
41452         * locale/programs/locfile.c (locfile_read): Likewise.
41454 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41456         * nptl/pthread_mutexattr_settype.c
41457         (__pthread_mutexattr_settype):
41458         Disable lock elision for PTHREAD_MUTEX_NORMAL.
41460 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
41462         * nptl/tst-mutex5 (do_test):
41463         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41465 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41467         * benchtests/README: Document 'init' directive.
41468         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41469         BENCH_INIT.
41470         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41471         (parse_file): Recognize 'init' directive.
41473 2014-05-26  Kyle McMartin  <kyle@redhat.com>
41475         [BZ #16796]
41476         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41477         alignment of struct pthread.
41479 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41481         [BZ #16878]
41482         * nscd/netgroupcache.c (addgetnetgrentX): Look for
41483         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41484         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41485         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41487 2014-05-25  Richard Henderson  <rth@twiddle.net>
41489         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41490         (SINGLE_THREAD_P_PIC): Remove.
41491         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41492         (SINGLE_THREAD_P_PIC): Remove.
41494         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41495         branch to syscall error ...
41496         (PSEUDO): ... here.
41497         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41498         from __local_syscall_error to .Lsyscall_error.
41499         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41500         (SYSCALL_ERROR): Update label name.
41502         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41503         Do not use DOARGS/UNDOARGS.
41504         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41505         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41506         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41507         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41508         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41510         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41511         block comment.
41513         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41514         define if !NOT_IN_libc.
41515         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41516         define with non-default symbol versions.
41518 2014-05-23  Richard Henderson  <rth@twiddle.net>
41520         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41521         (vfork, __vfork): Define via compat_symbol.
41523         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41524         [!HAVE_IFUNC] (vfork_compat): Remove.
41525         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41527 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41529         [BZ #16978]
41530         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41531         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41532         variable.
41534 2014-05-23  Richard Henderson  <rth@twiddle.net>
41536         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41537         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41538         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41539         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41541         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41542         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41543         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41544         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41545         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41546         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41547         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41548         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41549         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41550         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41551         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41552         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41553         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41554         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41555         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41556         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41557         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41558         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41559         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41560         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41561         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41562         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41563         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41564         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41565         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41566         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41567         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41568         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41569         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41570         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41571         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41572         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41573         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41574         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41575         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41576         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41577         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41578         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41579         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41580         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41581         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41582         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41583         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41584         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41585         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41586         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41587         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41588         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41589         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41590         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41591         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41592         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41593         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41594         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41595         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41596         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41598         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41599         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41600         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
41601         before exiting on error.
41602         (__libc_vfork): New strong alias.
41603         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41604         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41606         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41607         that was previously under [RESET_PID].
41608         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41610         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41612 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
41614         [BZ #16977]
41615         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41616         value when x - 1 is zero.
41617         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41618         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41619         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41620         0.0L for an argument of 1.0L.
41621         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41622         Likewise.
41623         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41624         value when x - 1 is zero.
41625         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41626         * sysdeps/i386/fpu/libm-test-ulps: Update.
41627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41629 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
41631         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41632         alphasort and versionsort.
41634 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41636         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41637         macro.
41638         [copysignf]: Likewise.
41640 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
41642         * crypt/md5-crypt.c: Fix formatting.
41644 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
41646         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41647         (b64_from_24bit): New function.
41649 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41651         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41652         libc_hidden_builtin_def to ifunc.
41653         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41654         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41656 2014-05-21  Roland McGrath  <roland@hack.frob.com>
41658         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41659         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41661 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
41663         * nscd/Depend (linuxthreads): Remove.
41664         (nptl): Add.
41665         * resolv/Depend (linuxthreads): Remove.
41666         * rt/Depend (linuxthreads): Remove.
41668         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41669         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41670         $(common-objpfx)elf/.
41671         (link-libc-before-gnulib): Likewise.
41672         (elfobjdir): Remove variable.
41673         * Makefile (install): Use $(elf-objpfx) instead of
41674         $(common-objpfx)elf/.
41675         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41676         $(elfobjdir)/.
41677         (link-libc-deps): Likewise.
41678         ($(common-objpfx)libc.so): Likewise.
41679         ($(common-objpfx)linkobj/libc.so): Likewise.
41680         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41681         instead of $(common-objpfx)elf/.
41682         (symbolic-link-list): Likewise.
41683         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41684         [$(cross-compiling) = no]: Likewise.
41685         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41686         $(elfobjdir)/.
41687         (static-gnulib-arch): Likewise.
41688         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41689         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41690         $(common-objpfx)elf/.
41692 2014-05-21  Richard Henderson  <rth@redhat.com>
41694         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41695         (SINGLE_THREAD_P): Use the correct width load.  Fold
41696         into the ldr offset.
41698         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41699         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41701 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
41703         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41704         (libgcc_s_resume): Use __attribute_used__.
41705         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41706         Likewise.
41708 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41710         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41711         optimization when used with float constants.
41713         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41715 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
41717         [BZ #16915]
41718         * locale/nl_langinfo_l.c: Make direct reference to every
41719         _nl_current_CATEGORY symbol.
41720         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41721         (tests-static): Add tst-langinfo-static.
41722         (tests-special): Add tst-langinfo-static.out.
41723         ($(objpfx)tst-langinfo.out): Redirect output.
41724         ($(objpfx)tst-langinfo-static.out): New.
41725         * localedata/tst-langinfo.sh: Send output to stdout.
41726         * localedata/tst-langinfo-static.c: New file.
41728         [BZ #16965]
41729         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41730         when the shift amount is modulo the limb size.
41732 2014-05-20  Richard Henderson  <rth@redhat.com>
41734         [BZ #16967]
41735         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41736         Change type of sa_flags from unsigned int to int.
41738         [BZ #16966]
41739         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41741         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41743 2014-05-20  Will Newton  <will.newton@linaro.org>
41745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41746         Test the return value of the system call in the nocancel case.
41748 2014-05-20  Will Newton  <will.newton@linaro.org>
41749             Yvan Roux  <yvan.roux@linaro.org>
41751         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41752         #include of asm/ptrace.h.
41753         (PTRACE_GET_THREAD_AREA): Remove #undef.
41754         (PTRACE_GETHBPREGS): Likewise.
41755         (PTRACE_SETHBPREGS): Likewise.
41756         (struct user_regs_struct): New structure.
41757         (struct user_fpsimd_struct): New structure.
41758         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41759         #include of asm/ptrace.h and second #include of sys/user.h.
41760         (PTRACE_GET_THREAD_AREA): Remove #undef.
41761         (PTRACE_GETHBPREGS): Likewise.
41762         (PTRACE_SETHBPREGS): Likewise.
41763         (ELF_NGREG): Use new struct user_regs_struct.
41764         (elf_fpregset_t): Use new struct user_fpsimd_struct.
41766 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41768         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41769         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41771 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
41773         [BZ #16958]
41774         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41775         membar to avoid block loads/stores to overlap previous stores.
41777 2014-05-17  Richard Henderson  <rth@redhat.com>
41779         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41780         Create the __##syscall_name##_nocancel entry point.
41781         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41782         Remove; let the sysdep-cancel.h code create it.
41784 2014-05-17  David S. Miller  <davem@davemloft.net>
41786         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41787         Protect with __USE_GNU.
41788         (TIOCSET_TEMPT): Likewise.
41789         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41790         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41791         these are already provided in bits/ioctl-types.h
41793 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41795         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41796         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41798         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41799         Use wait4 regardless of [__NR_waitpid].
41801 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
41803         PR libgcc/60166
41804         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41805         (_FP_NANSIGN_Q): Set the quiet bit.
41807 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
41809         * benchtests/Makefile
41810         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41811         not $(common-objpfx)math/libm.so.
41812         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41813         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41814         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41815         $(common-objpfx)dlfcn/libdl.so.
41816         ($(objpfx)tst-audit8): Depend on $(libm), not
41817         $(common-objpfx)math/libm.so.
41818         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41819         not $(common-objpfx)dlfcn/libdl.so.
41820         * math/Makefile
41821         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41822         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
41823         [$(build-shared) = yes].
41824         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41825         $(common-objpfx)nptl/libpthread.so.
41826         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41827         $(common-objpfx)math/libm.so$(libm.so-version) or
41828         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41829         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41830         $(common-objpfx)dlfcn/libdl.so.
41831         * setjmp/Makefile (link-libm): Remove variable.
41832         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41833         * stdio-common/Makefile (link-libm): Remove variable.
41834         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41835         * stdlib/Makefile (link-libm): Remove variable.
41836         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41837         ($(objpfx)tst-strtod-round): Likewise.
41838         ($(objpfx)tst-tininess): Likewise.
41839         ($(objpfx)tst-strtod-underflow): Likewise.
41840         ($(objpfx)tst-strtod6): Likewise.
41841         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41842         $(libdl), not $(common-objpfx)nptl/libpthread.so and
41843         $(common-objpfx)dlfcn/libdl.so.
41845 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41847         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41848         BSD terminal modes definitions.
41850 2014-05-16  Roland McGrath  <roland@hack.frob.com>
41852         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41853         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41855         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41856         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41857         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41858         Don't do #include_next.
41859         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41860         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41861         Don't do #include_next.
41862         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41863         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41864         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41865         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41867 2014-05-16  Allan McRae  <allan@archlinux.org>
41869         * po/sv.po: Update Swedish translation from translation project.
41871         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41872         in sed expression.
41874 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
41876         [BZ #16917]
41877         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41878         errno if the TIOCGPTN ioctl fails with an error different than
41879         EINVAL.
41880         * login/tst-ptsname.c: New file.
41881         * login/Makefile (tests): Add tst-ptsname.
41883         [BZ #16943]
41884         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41885         and prlimit64.
41887 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
41889         [BZ #16849]
41890         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41891         herrno to return EAI_AGAIN.
41893 2014-05-14  Roland McGrath  <roland@hack.frob.com>
41895         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41896         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41897         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41898         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41899         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41900         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41901         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41902         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41903         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41904         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41905         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41906         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41907         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41908         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41909         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41910         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41911         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41912         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41913         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41914         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41915         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41916         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41917         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41918         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41919         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41920         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41921         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41922         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41923         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41924         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41926         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41928         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41929         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41930         Moved ...
41931         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41932         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41933         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41934         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41935         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41937         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41938         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41939         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41941         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41942         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41943         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41945         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41946         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41947         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41948         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41949         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41950         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41951         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41952         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41953         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41955         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41956         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41957         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41959         Moved ...
41960         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41961         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41962         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41963         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41964         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41965         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41966         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41967         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41968         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41969         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41970         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41971         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41972         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41973         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41974         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41975         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41976         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41977         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41978         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41979         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41980         Moved ...
41981         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41982         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41983         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41985         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41986         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41987         (libpthread-sysdep_routines): Add elision-related stuff here instead.
41988         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41989         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41990         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41991         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41992         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41993         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41994         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41995         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41996         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41997         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41998         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41999         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
42000         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
42001         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
42002         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
42003         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
42004         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
42005         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
42006         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
42007         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
42008         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
42009         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
42010         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
42011         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
42012         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
42013         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
42014         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
42015         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
42017         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
42018         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
42020         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
42021         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
42022         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
42023         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
42024         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
42025         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
42026         Moved ...
42027         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
42028         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
42029         Moved ...
42030         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
42031         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
42032         Moved ...
42033         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
42034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
42035         Moved ...
42036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
42037         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
42038         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
42039         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
42040         Moved ...
42041         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
42042         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
42043         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
42044         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
42045         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
42046         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
42047         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
42048         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
42049         Moved ...
42050         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
42051         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42052         Moved ...
42053         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
42054         ... here.
42055         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
42056         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
42057         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
42058         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
42059         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42060         Moved ...
42061         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
42062         ... here.
42063         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
42064         Moved ...
42065         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
42066         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
42067         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
42068         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
42069         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
42070         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
42071         Moved ...
42072         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
42073         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
42074         Moved ...
42075         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
42076         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42077         Moved ...
42078         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42080         Moved ...
42081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42082         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42083         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42084         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42085         Moved ...
42086         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42087         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42088         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42089         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42090         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42091         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42092         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42093         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42094         Moved ...
42095         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42096         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42097         Moved ...
42098         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42099         ... here.
42100         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42101         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42102         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42103         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42104         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42105         Moved ...
42106         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42107         ... here.
42108         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42109         Moved ...
42110         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42111         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42112         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42113         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42114         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42115         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42116         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42117         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42118         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42120         Moved ...
42121         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42122         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42123         Moved ...
42124         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42125         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42126         Moved ...
42127         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42128         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42129         Moved ...
42130         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42131         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42132         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42133         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42134         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42135         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42136         Moved ...
42137         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
42138         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
42139         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
42140         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
42141         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
42142         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
42143         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
42144         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
42145         Moved ...
42146         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
42147         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42148         Moved ...
42149         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42150         ... here.
42151         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
42152         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
42153         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
42154         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
42155         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42156         Moved ...
42157         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42158         ... here.
42159         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
42160         Moved ...
42161         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
42162         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
42163         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
42164         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
42165         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
42166         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
42167         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
42168         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
42169         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
42170         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
42171         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
42173         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
42174         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
42176         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
42177         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
42179         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
42180         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
42181         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
42182         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
42183         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
42184         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
42185         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
42186         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
42187         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
42188         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
42189         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
42190         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
42191         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
42192         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
42193         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
42194         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
42195         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
42196         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
42197         Moved ...
42198         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
42199         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
42200         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
42201         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
42202         Moved ...
42203         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
42204         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
42205         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
42206         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
42207         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
42208         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
42209         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
42210         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
42211         Moved ...
42212         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
42213         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
42214         Moved ...
42215         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
42216         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
42217         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
42218         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
42219         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
42220         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
42221         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
42222         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
42223         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
42224         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
42225         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
42226         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
42227         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
42228         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
42229         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
42230         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
42231         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
42233         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
42234         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
42235         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
42236         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
42237         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
42239         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
42240         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
42241         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
42242         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
42243         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
42244         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
42245         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
42246         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
42247         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
42248         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
42250         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
42251         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
42253         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
42254         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
42255         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
42256         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
42257         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
42258         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
42259         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
42260         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
42261         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
42262         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
42263         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
42264         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
42265         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
42266         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
42267         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
42268         Update #include.
42269         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
42270         Likewise.
42271         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42272         Likewise.
42273         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42274         Likewise.
42275         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42276         Likewise.
42277         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
42278         Likewise.
42279         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
42280         Likewise.
42281         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42282         Likewise.
42283         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
42284         Likewise.
42285         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
42286         Likewise.
42287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
42288         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
42289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
42290         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
42291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
42292         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
42293         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
42294         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
42295         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
42296         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
42297         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
42298         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
42299         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
42300         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
42301         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
42303         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
42304         that was previously under [RESET_PID].
42305         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42306         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42307         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42309         * sysdeps/i386/nptl/Implies: New file.
42310         * sysdeps/x86_64/nptl/Implies: New file.
42311         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42312         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42313         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42314         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42316         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42318         (__libc_vfork): New strong alias.
42319         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42320         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42322         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42323         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42324         (__libc_vfork): New strong alias.
42325         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42326         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42328         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42329         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42330         (__libc_vfork): New strong alias.
42331         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42332         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42333         * nptl/pt-vfork.c: New file.
42334         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42335         (libpthread: GLIBC_2.20): New version set (empty).
42337 2014-05-14  Will Newton  <will.newton@linaro.org>
42339         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42340         rather than #if.
42342 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42344         [BZ #16564]
42345         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42346         arguments with exponent 65 or above.
42347         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42348         arguments 0x1p113L or above.
42349         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42350         to arguments 0x1p107L or above.
42351         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42352         positive arguments with exponent 65 or above.
42353         * math/auto-libm-test-in: Add more tests of log1p.
42354         * math/auto-libm-test-out: Regenerated.
42356         [BZ #16928]
42357         * math/s_cacos.c (__cacos): Ensure zero real part of result from
42358         non-finite arguments is +0.
42359         * math/s_cacosf.c (__cacosf): Likewise.
42360         * math/s_cacosl.c (__cacosl): Likewise.
42361         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42362         * sysdeps/i386/fpu/libm-test-ulps: Update.
42363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42365         [BZ #16927]
42366         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42367         value.
42368         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42369         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42370         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42371         for explicit high bit of mantissa when testing for argument equal
42372         to 1.
42373         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42374         * sysdeps/i386/fpu/libm-test-ulps: Update.
42375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42377         [BZ #16516]
42378         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42379         (__erf): Scale by 16 instead of 8 in potentially underflowing
42380         case.  Ensure exception if result actually underflows.
42381         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42382         (__erff): Scale by 16 instead of 8 in potentially underflowing
42383         case.  Ensure exception if result actually underflows.
42384         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42385         (efx8): Remove variable.
42386         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42387         case.  Ensure exception if result actually underflows.
42388         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42389         (efx8): Remove variable.
42390         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42391         case.  Ensure exception if result actually underflows.
42392         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42393         (efx8): Remove variable.
42394         (__erfl): Scale by 16 instead of 8 in potentially underflowing
42395         case.  Ensure exception if result actually underflows.
42396         * math/auto-libm-test-in: Add more tests of erf.
42397         * math/auto-libm-test-out: Regenerated.
42399 2014-05-14  Andreas Schwab  <schwab@suse.de>
42401         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42402         Remove code conditionalized on USE___THREAD.
42404         * config.h.in (HAVE_PT_CHOWN): Define as 0.
42405         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42406         not definedness.
42408 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
42410         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42411         Define unconditionally.
42412         (__ASSUME_O_CLOEXEC): Likewise.
42413         (__ASSUME_SOCK_CLOEXEC): Likewise.
42414         (__ASSUME_IN_NONBLOCK): Likewise.
42415         (__ASSUME_PIPE2): Likewise.
42416         (__ASSUME_EVENTFD2): Likewise.
42417         (__ASSUME_SIGNALFD4): Likewise.
42418         (__ASSUME_DUP3): Likewise.
42419         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42420         (__ASSUME_DUP3): Do not define.
42421         (__ASSUME_EVENTFD2): Likewise.
42422         (__ASSUME_IN_NONBLOCK): Likewise.
42423         (__ASSUME_O_CLOEXEC): Likewise.
42424         (__ASSUME_PIPE2): Likewise.
42425         (__ASSUME_SIGNALFD4): Likewise.
42426         (__ASSUME_SOCK_CLOEXEC): Likewise.
42427         (__ASSUME_UTIMES): Undefine.
42428         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42429         (__ASSUME_UTIMES): Do not define.
42430         (__ASSUME_O_CLOEXEC): Likewise.
42431         (__ASSUME_SOCK_CLOEXEC): Likewise.
42432         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42433         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42434         0x020621].
42435         (__ASSUME_PIPE2): Likewise.
42436         (__ASSUME_EVENTFD2): Likewise.
42437         (__ASSUME_SIGNALFD4): Likewise.
42438         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42439         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42440         Do not define.
42441         (__ASSUME_EVENTFD2): Likewise.
42442         (__ASSUME_SIGNALFD4): Likewise.
42443         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42444         (__ASSUME_32BITUIDS): Likewise.
42445         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42446         (__ASSUME_IPC64): Likewise.
42447         (__ASSUME_ST_INO_64_BIT): Likewise.
42448         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42449         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42451         (__ASSUME_UTIMES): Do not define.
42452         (__ASSUME_PSELECT): Likewise.
42453         (__ASSUME_PPOLL): Likewise.
42454         (__ASSUME_O_CLOEXEC): Likewise.
42455         (__ASSUME_SOCK_CLOEXEC): Likewise.
42456         (__ASSUME_IN_NONBLOCK): Likewise.
42457         (__ASSUME_PIPE2): Likewise.
42458         (__ASSUME_EVENTFD2): Likewise.
42459         (__ASSUME_SIGNALFD4): Likewise.
42460         (__ASSUME_DUP3): Likewise.
42461         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42462         (__ASSUME_UTIMES): Likewise.
42463         (__ASSUME_O_CLOEXEC): Likewise.
42464         (__ASSUME_SOCK_CLOEXEC): Likewise.
42465         (__ASSUME_IN_NONBLOCK): Likewise.
42466         (__ASSUME_PIPE2): Likewise.
42467         (__ASSUME_EVENTFD2): Likewise.
42468         (__ASSUME_SIGNALFD4): Likewise.
42469         (__ASSUME_DUP3): Likewise.
42470         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42471         (__ASSUME_UTIMES): Likewise.
42472         (__ASSUME_O_CLOEXEC): Likewise.
42473         (__ASSUME_SOCK_CLOEXEC): Likewise.
42474         (__ASSUME_IN_NONBLOCK): Likewise.
42475         (__ASSUME_PIPE2): Likewise.
42476         (__ASSUME_EVENTFD2): Likewise.
42477         (__ASSUME_SIGNALFD4): Likewise.
42478         (__ASSUME_DUP3): Likewise.
42479         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42480         Likewise.
42481         (__ASSUME_UTIMES): Likewise.
42482         (__ASSUME_EVENTFD2): Likewise.
42483         (__ASSUME_SIGNALFD4): Likewise.
42484         * sysdeps/unix/sysv/linux/tile/kernel-features.h
42485         (__ASSUME_O_CLOEXEC): Likewise.
42486         (__ASSUME_SOCK_CLOEXEC): Likewise.
42487         (__ASSUME_IN_NONBLOCK): Likewise.
42488         (__ASSUME_PIPE2): Likewise.
42489         (__ASSUME_EVENTFD2): Likewise.
42490         (__ASSUME_SIGNALFD4): Likewise.
42491         (__ASSUME_DUP3): Likewise.
42492         (__ASSUME_UTIMES): Undefine.
42494         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42495         feclearexcept.  Remove symbol versioning code.
42496         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
42497         symbol versioning code.
42498         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
42499         symbol versioning code.
42500         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42501         feupdateenv.  Remove symbol versioning code.
42502         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42503         fegetexceptflag.  Remove symbol versioning code.
42504         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42505         fesetexceptflag.  Remove symbol versioning code.
42506         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42507         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
42508         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42509         (__posix_fadvise64_l32): Remove prototype.
42510         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42511         code.
42513 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42515         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42516         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42517         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42518         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42520 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
42522         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42523         current working directory
42525 2014-05-13  Roland McGrath  <roland@hack.frob.com>
42527         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42528         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42529         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42530         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42531         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42532         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42533         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42534         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42535         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42536         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42537         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42538         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42539         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42540         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42541         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42542         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42543         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42544         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42545         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42546         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42547         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42548         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42549         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42550         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42551         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42552         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42553         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42554         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42555         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42556         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42557         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42558         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42559         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42560         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42561         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42562         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42563         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42564         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42565         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42566         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42567         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42568         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42570         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42571         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42573         * sysdeps/unix/sysv/linux/arm/Makefile
42574         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42575         Add rt-aeabi_unwind_cpp_pr1.
42576         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42577         Add nptl-aeabi_unwind_cpp_pr1.
42578         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42579         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42580         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42581         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42582         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42583         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42585         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42586         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42587         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42588         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42590         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42591         Deconditionalize the code that was previously under [RESET_PID].
42592         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42594         * sysdeps/generic/exit-thread.h: New file.
42595         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42596         * include/unistd.h (__exit_thread): Remove declaration.
42597         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42598         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42599         * csu/libc-start.c: Include <exit-thread.h>.
42600         (LIBC_START_MAIN): Pass no argument to __exit_thread.
42601         * nptl/pthread_create.c: Include <exit-thread.h>.
42602         (start_thread): Call __exit_thread in place of __exit_thread_inline.
42603         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42604         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42605         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42606         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42607         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42608         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42609         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42610         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42611         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42612         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42613         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42614         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42615         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42616         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42617         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42618         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42620 2014-05-13  Andreas Schwab  <schwab@suse.de>
42622         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42624 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
42626         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42627         (__ASSUME_UTIMES): Do not condition on kernel version.
42628         (__ASSUME_PSELECT): Define unconditionally.
42629         (__ASSUME_PPOLL): Likewise.
42630         (__ASSUME_ATFCTS): Likewise.
42631         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42632         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42633         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42634         (__ASSUME_UTIMENSAT): Define unconditionally.
42635         (__ASSUME_PRIVATE_FUTEX): Likewise.
42636         (__ASSUME_FALLOCATE): Likewise.
42637         (__ASSUME_O_CLOEXEC): Likewise.
42638         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42639         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42640         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42641         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42642         (__ASSUME_IN_NONBLOCK): Likewise.
42643         (__ASSUME_PIPE2): Likewise.
42644         (__ASSUME_EVENTFD2): Likewise.
42645         (__ASSUME_SIGNALFD4): Likewise.
42646         (__ASSUME_DUP3): Likewise.
42647         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42648         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42649         (__ASSUME_AT_RANDOM): Likewise.
42650         (__ASSUME_PREADV): Likewise.
42651         (__ASSUME_PWRITEV): Likewise.
42652         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42653         (__ASSUME_F_GETOWN_EX): Define unconditionally.
42654         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42655         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42656         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42657         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42658         (__ASSUME_O_CLOEXEC): Define unconditionally.
42659         (__ASSUME_PSELECT): Do not undefine conditionally.
42660         (__ASSUME_PPOLL): Likewise.
42661         (__ASSUME_ATFCTS): Likewise.
42662         (__ASSUME_SET_ROBUST_LIST): Likewise.
42663         (__ASSUME_UTIMENSAT): Likewise.
42664         (__ASSUME_FDATASYNC): Define unconditionally.
42665         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42666         (__ASSUME_SIGFRAME_V2): Likewise.
42667         )__ASSUME_EVENTFD2): Likewise.
42668         (__ASSUME_SIGNALFD4): Likewise.
42669         (__ASSUME_PSELECT): Do not undefine conditionally.
42670         (__ASSUME_PPOLL): Likewise.
42671         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42672         (__ASSUME_PSELECT): Define unconditionally.
42673         (__ASSUME_PPOLL): Likewise.
42674         (__ASSUME_O_CLOEXEC): Likewise.
42675         (__ASSUME_SOCK_CLOEXEC): Likewise.
42676         (__ASSUME_IN_NONBLOCK): Likewise.
42677         (__ASSUME_PIPE2): Likewise.
42678         (__ASSUME_EVENTFD2): Likewise.
42679         (__ASSUME_SIGNALFD4): Likewise.
42680         (__ASSUME_DUP3): Likewise.
42681         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42682         (__ASSUME_O_CLOEXEC): Likewise.
42683         (__ASSUME_SOCK_CLOEXEC): Likewise.
42684         (__ASSUME_IN_NONBLOCK): Likewise.
42685         (__ASSUME_PIPE2): Likewise.
42686         (__ASSUME_EVENTFD2): Likewise.
42687         (__ASSUME_SIGNALFD4): Likewise.
42688         (__ASSUME_DUP3): Likewise.
42689         * sysdeps/unix/sysv/linux/mips/kernel-features.h
42690         (__ASSUME_EVENTFD2): Likewise.
42691         (__ASSUME_SIGNALFD4): Likewise.
42692         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42694 2014-05-12  Andreas Schwab  <schwab@suse.de>
42696         [BZ #16932]
42697         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42698         (_nss_nis_gethostbyname4_r): Return error if item length is larger
42699         than maximum RPC packet size.
42700         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42701         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42702         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42703         (_nss_nis_getservbyport_r): Likewise.
42705 2014-05-12  Will Newton  <will.newton@linaro.org>
42707         * malloc/Makefile (tests): Add tst-mallopt.
42708         * malloc/tst-mallopt.c: New file.
42710 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42712         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42713         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42715 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42717         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42718         (tst-tlsmod6.so): Likewise.
42720 2014-05-09  Roland McGrath  <roland@hack.frob.com>
42722         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42724 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
42726         [BZ #16064]
42727         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42728         and <dl-procinfo.h>.
42729         (__fegetenv): Save SSE state in envp->__eip if supported.
42730         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42731         envp->__eip if supported.
42732         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42733         and <dl-procinfo.h>.
42734         (__fesetenv): Always set __eip, __cs_selector, __opcode,
42735         __data_offset and __data_selector in environment to 0.  Set SSE
42736         state if supported.
42737         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42738         test-fenv-sse.
42739         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42740         -mfpmath=sse.
42741         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42743 2014-05-09  Will Newton  <will.newton@linaro.org>
42745         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42746         and libc_relro_required for ARM.
42747         * sysdeps/arm/preconfigure: Regenerate.
42749 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
42750             Stefan Liebler  <stli@linux.vnet.ibm.com>
42752         * config.make.in (enable-lock-elision): New Makefile variable.
42753         * configure.ac: Likewise.
42754         * configure: Regenerate.
42755         * sysdeps/s390/configure.ac:
42756         Add check for gcc transactions support.
42757         * sysdeps/s390/configure: Regenerate.
42758         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42759         Build elision files if enabled.
42760         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42761         Add lock elision support for s390.
42762         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42763         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42764         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42765         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42766         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42767         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42768         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42769         Likewise.
42770         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42771         Likewise.
42772         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42773         Likewise.
42774         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42775         Likewise.
42776         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42777         (__lll_timedlock_elision, __lll_lock_elision)
42778         (__lll_unlock_elision, __lll_trylock_elision)
42779         (lll_timedlock_elision, lll_lock_elision)
42780         (lll_unlock_elision, lll_trylock_elision): Add.
42781         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42782         (pthread_mutex_t): Add lock elision support for s390.
42784 2014-05-14  Wilco  <wdijkstr@arm.com>
42786         * sysdeps/arm/fclrexcpt.c: Cleanup.
42787         * sysdeps/arm/fedisblxcpt.c: Cleanup.
42788         * sysdeps/arm/feenablxcpt.c: Cleanup.
42789         * sysdeps/arm/fegetenv.c: Cleanup.
42790         * sysdeps/arm/fegetexcept.c: Cleanup.
42791         * sysdeps/arm/fegetround.c: Cleanup.
42792         * sysdeps/arm/feholdexcpt.c: Cleanup.
42793         * sysdeps/arm/fesetenv.c: Cleanup.
42794         * sysdeps/arm/fesetround.c: Cleanup.
42795         * sysdeps/arm/feupdateenv.c: Cleanup.
42796         * sysdeps/arm/fgetexcptflg.c: Cleanup.
42797         * sysdeps/arm/fraiseexcpt.c: Cleanup.
42798         * sysdeps/arm/fsetexcptflg.c: Cleanup.
42799         * sysdeps/arm/ftestexcept.c: Cleanup.
42800         * sysdeps/arm/get-rounding-mode.h: Cleanup.
42801         * sysdeps/arm/setfpucw.c: Cleanup.
42803 2014-05-09  Will Newton  <will.newton@linaro.org>
42805         * sysdeps/arm/armv7/strcmp.S: New file.
42806         * NEWS: Mention addition of ARMv7 optimized strcmp.
42808 2014-05-08  Roland McGrath  <roland@hack.frob.com>
42810         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42811         look for %.ac rather than %.in.
42813         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42814         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42815         * sysdeps/mach/hurd/configure: Regenerated.
42816         * sysdeps/unix/sysv/linux/configure: Regenerated.
42818         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42820 2014-05-07  Steve Ellcey  <sellcey@mips.com>
42822         [BZ# 16922]
42823         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42824         (LONG_SUB): Ditto.
42825         (PTR_SUB): Ditto.
42827 2014-05-07  Andreas Schwab  <schwab@suse.de>
42829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42830         when skipping over non-matching result from nscd.
42832 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
42834         [BZ #16876]
42835         * nptl/sockperf.c (client): Check socket return value.
42837         [BZ #16877]
42838         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42839         nscd security class.
42841 2014-05-06  Roland McGrath  <roland@hack.frob.com>
42843         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42844         * sysdeps/arm/unwind.h: ... here.
42846 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
42848         [BZ# 16916]
42849         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42850         Define.
42852 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
42854         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42855         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42856         multiarch strncpy for PPC64.
42857         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42858         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42860         multiarch optimizations.
42861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42862         (__libc_ifunc_impl_list): Likewise.
42863         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42864         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42865         multiarch stpncpy for PPC64.
42866         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42867         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42869 2014-05-06  Andreas Schwab  <schwab@suse.de>
42871         [BZ #16912]
42872         * gmon/mcount.c (_MCOUNT_DECL): Use
42873         atomic_compare_and_exchange_bool_acq instead of
42874         catomic_compare_and_exchange_bool_acq.
42876 2014-05-05  Roland McGrath  <roland@hack.frob.com>
42878         * elf/Makefile (others, install-bin): Remove pldd.
42879         (pldd-modules): Variable removed.
42880         ($(objpfx)pldd): Target removed.
42881         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42882         (others, install-bin): Append pldd here.
42883         ($(objpfx)pldd): New target.
42885         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42886         to 0, so the first #if test emitted later doesn't see it undefined.
42887         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42888         * sysdeps/gnu/errlist.c: Regenerated.
42890 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42892         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42893         [libc_hidden_builtin_def]: Define to empty value.
42894         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42895         [libc_hidden_builtin_def]: Likewise.
42896         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42897         [libc_hidden_builtin_def]: Likewise.
42898         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42899         [libc_hidden_builtin_def]: Likewise.
42900         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42901         __redirect_memcpy and define ifunc as default hidden symbol.
42902         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42903         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42905 2014-05-04  Adam Conrad  <adconrad@0c3.net>
42907         * locale/iso-4217.def: Reintroduce XDR currency.
42909 2014-05-04  Allan McRae  <allan@archlinux.org>
42911         * po/eo.po: Update Esperanto translation from translation project.
42913 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
42915         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42916         and FEATURE_INDEX_MAX to 1.
42917         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42919 2014-05-01  Steve Ellcey  <sellcey@mips.com>
42921         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42922         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42923         * iconvdata/big5.c (ONE_DIRECTION): Define.
42924         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42925         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42926         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42927         * iconvdata/cp932.c (ONE_DIRECTION): Define.
42928         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42929         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42930         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42931         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42932         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42933         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42934         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42935         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42936         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42937         * iconvdata/gbk.c (ONE_DIRECTION): Define.
42938         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42939         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42940         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42941         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42942         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42943         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42944         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42945         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42946         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42947         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42948         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42949         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42950         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42951         * iconvdata/iso646.c (ONE_DIRECTION): Define.
42952         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42953         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42954         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42955         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42956         * iconvdata/johab.c (ONE_DIRECTION): Define.
42957         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42958         * iconvdata/sjis.c (ONE_DIRECTION): Define.
42959         * iconvdata/t.61.c (ONE_DIRECTION): Define.
42960         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42961         * iconvdata/tscii.c (ONE_DIRECTION): Define.
42962         * iconvdata/uhc.c (ONE_DIRECTION): Define.
42963         * iconvdata/unicode.c (ONE_DIRECTION): Define.
42964         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42965         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42966         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42968 2014-05-01  Roland McGrath  <roland@hack.frob.com>
42970         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42971         (_IO_JUMPS_OFFSET): Define to 0.
42973         * nptl/sysdeps/pthread/bits/libc-lock.h
42974         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42975         (__libc_lock_define_initialized_recursive): Always define using
42976         initializer.  Modern compilers treat uninitialized (implicit zero) and
42977         explicit zero initializers the same (i.e. put the datum in bss).
42979 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42981         * nscd/nscd-client.h: Include <string.h>.
42983 2014-05-01  David S. Miller  <davem@davemloft.net>
42985         [BZ #16885]
42986         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42987         multiple zero bytes exist at the end of a string.
42988         Reported by Aurelien Jarno <aurelien@aurel32.net>
42990         * string/test-strcmp.c (check): Add explicit test for situations where
42991         there are multiple zero bytes after the first.
42993 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42995         [BZ #16890]
42996         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42997         when compiling wprintf.
42998         * stdio-common/tstdiomisc.c (t3): New function.
42999         (main): Call it.
43001 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43003         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
43004         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
43005         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
43006         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
43008 2014-05-01  Steve Ellcey  <sellcey@mips.com>
43010         * stdlib/longlong.h: Updated from GCC.
43012 2014-05-01  Will Newton  <will.newton@linaro.org>
43013             Bernard Ogden  <bernie.ogden@linaro.org>
43015         * NEWS: Update fixed bug list.
43017         [BZ #15119]
43018         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
43020 2014-04-30  David S. Miller  <davem@davemloft.net>
43022         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
43023         (libc_feholdexcept_setround_sparc_ctx): New function.
43024         (libc_fesetenv_sparc_ctx): Likewise.
43025         (libc_feupdateenv_sparc_ctx): Likewise.
43026         (libc_feholdsetround_sparc_ctx): Likewise.
43027         (libc_feholdexcept_setround_ctx): Define.
43028         (libc_feholdexcept_setroundf_ctx): Likewise.
43029         (libc_feholdexcept_setroundl_ctx): Likewise.
43030         (libc_fesetenv_ctx): Likewise.
43031         (libc_fesetenvf_ctx): Likewise.
43032         (libc_fesetenvl_ctx): Likewise.
43033         (libc_feupdateenv_ctx): Likewise.
43034         (libc_feupdateenvf_ctx): Likewise.
43035         (libc_feupdateenvl_ctx): Likewise.
43036         (libc_feresetround_ctx): Likewise.
43037         (libc_feresetroundf_ctx): Likewise.
43038         (libc_feresetroundl_ctx): Likewise.
43039         (libc_feholdsetround_ctx): Likewise.
43040         (libc_feholdsetroundf_ctx): Likewise.
43041         (libc_feholdsetroundl_ctx): Likewise.
43043         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43044         with __USE_GNU instead of XOPEN cpp guards.
43046         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
43047         0.
43049         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
43050         with XOPEN cpp guards.
43052 2014-04-30  Julian Brown  <julian@codesourcery.com>
43054         [BZ #16888]
43055         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
43056         handling.
43058 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
43060         [BZ #9894]
43061         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
43062         Change to 2.6.32.
43063         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
43064         * sysdeps/unix/sysv/linux/configure: Regenerated.
43065         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
43066         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
43067         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
43068         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
43069         * README: Update reference to required Linux kernel version.
43070         * manual/install.texi (Linux): Update reference to required Linux
43071         kernel headers version.
43072         * INSTALL: Regenerated.
43074         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
43075         header inclusion.
43076         [POSIX] (limits.h): Likewise.
43077         [POSIX] (math.h): Likewise.
43078         [POSIX] (sys/wait.h): Likewise.
43079         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43080         function.
43081         [POSIX] (stddef.h): Do not allow header inclusion.
43083 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43085         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43087 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
43089         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43090         Return immediately after lll_futex_wake.
43092 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43094         [BZ #16791]
43095         * nscd/nscd-client.h (datahead_init_common): Initialize entire
43096         structure.
43097         (datahead_init_pos): Call datahead_init_common early.
43098         (datahead_init_neg): Likewise.
43100         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43101         datahead_init_neg): New functions.
43102         * nscd/aicache.c (addhstaiX): Use them.
43103         * nscd/grpcache.c (cache_addgr): Likewise.
43104         * nscd/hstcache.c (cache_addhst): Likewise.
43105         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43106         * nscd/netgroupcache.c (do_notfound): Likewise.
43107         (addgetnetgrentX): Likewise.
43108         (addinnetgrX): Likewise.
43109         * nscd/pwdcache.c (cache_addpw): Likewise.
43110         * nscd/servicescache.c (cache_addserv): Likewise.
43112 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43113             Atsushi Onoe  <atsushi@onoe.org>
43115         [BZ #14308]
43116         [BZ #12994]
43117         [BZ #13651]
43118         * resolv/res_query.c (__libc_res_nsearch): Return if at least
43119         one response is valid.
43120         * resolv/res_send.c (send_dg): Check for validity of other
43121         response if the current response is a referral.
43123 2014-04-29  Steve Ellcey  <sellcey@mips.com>
43125         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43127 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
43129         [BZ #16823]
43130         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43131         Always divide by positive zero when computing -Inf result.
43132         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43133         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43135 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43137         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
43138         FPSCR if value do not change.
43139         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43140         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
43141         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
43142         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43143         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
43144         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
43145         function.
43147 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
43149         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
43150         * sysdeps/unix/sysv/linux/hppa: Move directory from
43151         ports/systeps/unix/sysv/linux/hppa.
43152         * README: Update listing for hppa-*-linux-gnu.
43154 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
43156         [BZ #16754]
43157         * manual/stdio.texi (Hook functions): Fix types of stream hook
43158         functions.
43159         [BZ #16854]
43160         * socket/sys/socket.h: Fix typo in comment.
43162 2014-04-28  Wilco  <wdijkstr@arm.com>
43164         * sysdeps/arm/fenv_private.h: New file.
43165         * sysdeps/arm/math_private.h: New file.
43166         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
43168 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
43170         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
43171         with __int128_t.
43172         (La_x86_64_retval): Likewise.
43174 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
43176         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
43177         fpsr if value didn't change.
43178         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
43179         to fpcr if value didn't change.
43180         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
43181         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
43182         fpsr or fpcr if value didn't change.
43183         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43184         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
43185         fpcr if value didn't change.
43186         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
43187         to fpsr if value didn't change.
43189 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
43191         * nptl/tst-sem3.c: Use test-skeleton.c
43192         (main): Rename to do_test.  Use return instead of
43193         exit.
43194         * nptl/tst-sem4.c: Use test-skeleton.c
43195         (main): Rename to do_test.
43197 2014-04-22  David S. Miller  <davem@davemloft.net>
43199         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
43200         (struct sigaction): New struct member __glibc_reserved0, change
43201         type of sa_flags to int.
43203 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
43205         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
43206         (COUNT_LEADING_ZEROS_0): Define for AArch64.
43208 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43210         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
43211         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
43213 2014-04-22  Will Newton  <will.newton@linaro.org>
43214             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
43216         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
43217         (__longjmp): Add longjmp and longjmp_target SystemTap
43218         probes.
43219         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
43220         (__sigsetjmp): Add setjmp SystemTap probe.
43222 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
43224         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
43225         match manual order.
43227 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43229         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
43231         * sysdeps/powerpc/fpu/fenv_private.h
43232         (libc_feholdexcept_setroundl_ctx): Define to
43233         libc_feholdexcept_setround_ppc_ctx.
43234         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
43235         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
43236         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
43237         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
43239 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
43241         * sysdeps/aarch64/math-tests.h: New file.
43243 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
43245         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
43246         New.
43247         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43248         Check and set bit_AVX2_Usable.
43249         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
43250         macro.
43251         (bit_AVX2): Likewise.
43252         (index_AVX2_Usable): Likewise.
43253         (CPUID_AVX2): Likewise.
43254         (HAS_AVX2): Likewise.
43256 2014-04-17  Will Newton  <will.newton@linaro.org>
43258         * manual/setjmp.texi (System V contexts): Add note that
43259         calling setcontext on a context created by a call to a
43260         signal handler is undefined.  Update text to note that
43261         setcontext from a signal handler is possible but not
43262         recommended.
43264         [BZ #16629]
43265         * stdlib/tst-setcontext.c: Include signal.h.
43266         (main): Check that the signal stack before and
43267         after swapcontext is the same.
43269         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
43270         Re-implement to restore registers in user code and avoid
43271         rt_sigreturn system call.
43273 2014-04-17  Wilco  <wdijkstr@arm.com>
43275         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
43276         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
43277         * math/test-fenv.c: Skip exception trap tests on targets which only
43278         support non-stop mode.
43280 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
43281             Wilco Dijkstra  <wilco.dijkstra@arm.com>
43283         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
43284         (libc_feholdsetround_aarch64_ctx)
43285         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
43286         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
43287         (libc_feresetround_ctx, libc_feresetroundf_ctx)
43288         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
43289         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
43290         (libc_feresetround_noexl_ctx): Define.
43292 2014-04-16  Richard Henderson  <rth@redhat.com>
43294         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
43296         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
43297         unwind tables.
43299         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
43300         const from the non-libc, non-ldso copy.
43302         * sysdeps/alpha/libm-test-ulps: Regenerate.
43304 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
43305             Wilco Dijkstra  <wilco.dijkstra@arm.com>
43307         * sysdeps/aarch64/fpu/math_private.h: New file.
43309 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
43311         * sysdeps/aarch64/libm-test-ulps: Regenerate.
43313 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
43315         [BZ #16275]
43316         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43317         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43319         Intel MPX bound registers before _dl_profile_fixup.
43320         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43321         registers after _dl_profile_fixup.  Save and restore bound
43322         registers bnd0/bnd1 when calling _dl_call_pltexit.
43323         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43324         (LR_BND_OFFSET): Likewise.
43325         (LRV_BND0_OFFSET): Likewise.
43326         (LRV_BND1_OFFSET): Likewise.
43328 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43330         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43331         to...
43332         * sysdeps/mach/hurd/i386/tls.h: ... here.
43333         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43334         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43335         fields.
43337 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43339         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43341 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43343         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43345 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
43347         [BZ #14770]
43348         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43349         * sysdeps/s390/configure: Regenerate.
43351         [BZ #16824]
43352         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43353         Set round-to-nearest internally to reduce error accumulation.
43355 2014-04-16  Alan Modra  <amodra@gmail.com>
43357         [BZ #16740]
43358         [BZ #16619]
43359         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43360         * math/libm-test.inc (frexp_test_data): Add tests.
43361         * NEWS: Update fixed bug list.
43363 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43365         * benchtests/Makefile: Depend on libraries in build directory.
43366         (bench-math): Separate out math tests.
43367         (bench-pthread): Separate out pthread tests.
43368         (bench): Include math and pthread tests.
43370 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
43372         [BZ #16831]
43373         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43374         _dl_debug_initialize.
43376         * configure.ac: Remove SELinux header check.
43377         * configure: Regenerate.
43378         * nscd/selinux.c (perms): Array of const char* to permission names.
43379         (nscd_request_avc_has_perm): Call security_deny_unknown to find
43380         default policy. Call string_to_security_class and string_to_av_perm to
43381         translate strings. Enforce default policy and call avs_has_perm with
43382         results of translated strings.
43384 2014-04-13  David S. Miller  <davem@davemloft.net>
43386         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43388 2014-04-12  Allan McRae  <allan@archlinux.org>
43390         [BZ #16838]
43391         * manual/string.texi (Collation Functions): Fix qsort argument
43392         order in example.
43393         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43395 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
43397         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43398         Make the test a no-op if there are no exceptions defined.
43400 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
43402         * elf/Makefile (tests): make tst-dlopen-aout conditional on
43403         enable-hardcoded-path-in-tests
43405 2014-04-11  Will Newton  <will.newton@linaro.org>
43407         * benchtests/Makefile (extra-objs): Add json-lib.o.
43408         (bench-func): Tidy up JSON output.
43409         * benchtests/bench-skeleton.c: Include json-lib.h.
43410         (main): Use JSON library functions to do output of
43411         benchmark results.
43412         * benchtests/bench-timing-type.c (main): Output the
43413         timing type simply, leaving formatting to the user.
43414         * benchtests/json-lib.c: New file.
43415         * benchtests/json-lib.h: Likewise.
43417 2014-04-11  Torvald Riegel  <triegel@redhat.com>
43419         [BZ #15215]
43420         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43421         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
43422         memory barriers.  Add comments.
43423         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43424         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43425         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43426         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43427         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43428         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43430 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
43432         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43433         * sysdeps/s390/s390-64/configure.ac: ... this ...
43434         * sysdeps/s390/configure.ac: ... to here.
43435         * sysdeps/s390/s390-32/configure: Delete file.
43436         * sysdeps/s390/s390-64/configure: Delete file.
43437         * sysdeps/s390/configure: Regenerate.
43439 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
43441         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43443 2014-04-11  Will Newton  <will.newton@linaro.org>
43445         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43446         to zero if it is not defined elsewhere.  (mtrim): Test
43447         the value of MALLOC_DEBUG with #if rather than #ifdef.
43449 2014-04-10 Torvald Riegel  <triegel@redhat.com>
43451         * benchtests/pthread_once-inputs: New file.
43452         * benchtests/pthread_once-source.c: New file.
43453         * benchtests/README: Update documentation.
43455 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
43456             H.J. Lu  <hongjiu.lu@intel.com>
43458         [BZ #16275]
43459         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43460         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43461         * sysdeps/x86_64/configure: Regenerated.
43462         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43463         macro.
43464         (REGISTER_SAVE_RAX): Likewise.
43465         (REGISTER_SAVE_RCX): Likewise.
43466         (REGISTER_SAVE_RDX): Likewise.
43467         (REGISTER_SAVE_RSI): Likewise.
43468         (REGISTER_SAVE_RDI): Likewise.
43469         (REGISTER_SAVE_R8): Likewise.
43470         (REGISTER_SAVE_R9): Likewise.
43471         (REGISTER_SAVE_BND0): Likewise.
43472         (REGISTER_SAVE_BND1): Likewise.
43473         (REGISTER_SAVE_BND2): Likewise.
43474         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
43475         bound registers when calling _dl_fixup.
43477 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43479         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43480         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43481         of its definition.
43482         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43483         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43484         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43485         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43486         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43487         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43488         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43490 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
43492         [BZ #15514]
43493         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43494         pathconf(_PC_NAME_MAX).
43496 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43498         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43499         Remove macro usage.
43500         (__PTHREAD_SPINS): Move definition to ...
43501         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43502         (__PTHREAD_SPINS): ... here.
43503         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43504         (__PTHREAD_SPIN): Likewise.
43505         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43506         (__PTHREAD_SPIN): Likewise.
43507         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43508         (__PTHREAD_SPIN): Likewise.
43509         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43510         (__PTHREAD_SPIN): Likewise.
43511         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43512         (__PTHREAD_SPIN): Likewise.
43513         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43514         (__PTHREAD_SPIN): Likewise.
43515         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43516         (__PTHREAD_SPIN): Likewise.
43517         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43518         (__PTHREAD_SPIN): Likewise.
43519         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43520         (__PTHREAD_SPIN): Likewise.
43521         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43522         (__PTHREAD_SPIN): Likewise.
43523         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43524         (__PTHREAD_SPIN): Likewise.
43525         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43526         (__PTHREAD_SPIN): Likewise.
43528         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43529         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43530         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43531         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43532         imply folder.
43533         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43534         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43535         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43536         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43537         correct imply path.
43538         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43539         strlen symbol for non multi-arch builds.
43540         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43541         missing hidden_def and weak_alias.
43543 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
43545         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43547 2014-04-07  Will Newton  <will.newton@linaro.org>
43549         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43550         and contents.  [!_LIBC] Remove #ifndef and contents.
43551         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
43552         * string/memccpy.c (__memccpy): Use ANSI prototype.
43553         * string/memfrob.c (memfrob): Likewise.
43554         * string/strcoll.c (STRCOLL): Likewise.
43555         * string/strlen.c (strlen): Likewise.
43556         * string/strtok.c (STRTOK): Likewise.
43557         * string/strcat.c: Remove unused #include of memcopy.h.
43558         (strcat): Use ANSI prototype.
43559         * string/strchr.c: Remove unused #include of memcopy.h.
43560         (strchr): Use ANSI prototype.
43561         * string/strcmp.c: Remove unused #include of memcopy.h.
43562         (strcmp): Use ANSI prototype.
43563         * string/strcpy.c: Remove unused #include of memcopy.h.
43564         (strcpy): Use ANSI prototype.
43566 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43568         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43569         * config.make.in (config-extra-cppflags): Set it from
43570         libc_extra_cppflags.
43571         * configure.ac (libc_extra_cflags): Make it accumulate over
43572         configure fragments.
43573         (libc_extra_cppflags): New flag.
43574         * configure. Regenerate.
43575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43576         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43577         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43580         [BZ #16815]
43581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43582         result for FE_DOWNWARD rounding mode.
43583         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43584         Likewise.
43585         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43587 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
43589         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43590         in function argument name.
43592 2014-04-03  David Svoboda  <svoboda@cert.org>
43594         [BZ #5666]
43595         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43596         explicitly.
43598 2014-04-03  Roland McGrath  <roland@hack.frob.com>
43600         * elf/dl-unmap-segments.h: New file.
43601         * sysdeps/generic/ldsodefs.h
43602         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43603         * elf/dl-close.c: Include <dl-unmap-segments.h>.
43604         * elf/dl-fptr.c: Likewise.
43605         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43606         * sysdeps/aarch64/tlsdesc.c: Likewise.
43607         * sysdeps/arm/tlsdesc.c: Likewise.
43608         * sysdeps/i386/tlsdesc.c: Likewise.
43609         * sysdeps/tile/dl-runtime.c: Likewise.
43610         * sysdeps/x86_64/tlsdesc.c: Likewise.
43611         * elf/dl-load.h: New file.
43612         * elf/dl-load.c: Include it.
43613         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43614         Macros moved to dl-load.h.
43615         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43616         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43617         Use _dl_unmap_segments in place of __munmap.
43618         Break out segment-mapping loop into ...
43619         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43621 2014-04-03  Will Newton  <will.newton@linaro.org>
43623         * elf/dl-lookup.c (do_lookup_x): Remove comment
43624         referring to nested function and move variable
43625         declarations down to before first use.
43627 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
43629         [BZ #16799]
43630         [BZ #16800]
43631         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43632         with 0 numerator.
43633         * math/s_catanf.c (__catanf): Likewise.
43634         * math/s_catanh.c (__catanh): Likewise.
43635         * math/s_catanhf.c (__catanhf): Likewise.
43636         * math/s_catanhl.c (__catanhl): Likewise.
43637         * math/s_catanl.c (__catanl): Likewise.
43638         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43639         by positive zero when computing -Inf result.
43640         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43641         (catanh_test): Likewise.
43642         * sysdeps/i386/fpu/libm-test-ulps: Update.
43643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43645         [BZ #16789]
43646         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43647         instead of using underflowing value in computing result.
43648         * math/s_clog10.c (__clog10): Likewise.
43649         * math/s_clog10f.c (__clog10f): Likewise.
43650         * math/s_clog10l.c (__clog10l): Likewise.
43651         * math/s_clogf.c (__clogf): Likewise.
43652         * math/s_clogl.c (__clogl): Likewise.
43653         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43654         (clog10_test): Likewise.
43655         * sysdeps/i386/fpu/libm-test-ulps: Update.
43656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43658 2014-04-02  Alan Modra  <amodra@gmail.com>
43660         [BZ #16739]
43661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43662         output when value is near a power of two.  Use int64_t for lx and
43663         remove casts.  Use decimal rather than hex exponent constants.
43664         Don't use long double multiplication when double will suffice.
43665         * math/libm-test.inc (nextafter_test_data): Add tests.
43666         * NEWS: Add 16739 and 16786 to bug list.
43668         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43670         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43672 2014-04-01  Will Newton  <will.newton@linaro.org>
43674         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43675         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
43677 2014-04-01  Florian Weimer  <fweimer@redhat.com>
43679         [BZ #13347]
43680         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43681         * nptl/tst-setuid2.c: New file.
43682         * nptl/Makefile (xtests): Add tst-setuid2.
43684 2014-04-01  Alan Modra  <amodra@gmail.com>
43686         [BZ #16786]
43687         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43689 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43691         [BZ #6803]
43692         [BZ #6804]
43693         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43694         set errno as appropriate.
43695         * math/w_scalbf.c (__scalbf): Likewise.
43696         * math/w_scalbl.c (__scalbl): Likewise.
43697         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43698         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43699         * math/libm-test.inc (scalb_test_data): Add errno expectations.
43700         Add more NaN tests.
43702         [BZ #16349]
43703         * math/w_atan2.c: Include <errno.h>.
43704         (__atan2): Set errno for result underflowing to zero.
43705         * math/w_atan2f.c: Include <errno.h>.
43706         (__atan2f): Set errno for result underflowing to zero.
43707         * math/w_atan2l.c: Include <errno.h>.
43708         (__atan2l): Set errno for result underflowing to zero.
43709         * math/auto-libm-test-in: Don't allow missing errno for some atan2
43710         tests.
43711         * math/auto-libm-test-out: Regenerated.
43713 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43715         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43716         Encode instruction correctly in little endian.
43717         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43718         Likewise.
43719         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43720         Likewise.
43721         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43722         Likewise.
43723         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43724         Likewise.
43726 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
43728         [BZ #9894]
43729         * sysdeps/unix/sysv/linux/kernel-features.h
43730         [__sparc__ && !__arch64__ && !__sparc_v9__]
43731         (__ASSUME_SET_ROBUST_LIST): Do not define.
43732         [__sparc__ && !__arch64__ && !__sparc_v9__]
43733         (__ASSUME_FUTEX_LOCK_PI): Likewise.
43734         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43735         Likewise.
43736         * sysdeps/unix/sysv/linux/arm/kernel-features.h
43737         (__ASSUME_FUTEX_LOCK_PI): Undefine.
43738         (__ASSUME_REQUEUE_PI): Likewise.
43739         (__ASSUME_SET_ROBUST_LIST): Likewise.
43740         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43741         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43742         Undefine.
43743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43744         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43745         Likewise.
43746         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43747         Likewise.
43748         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43749         Likewise.
43750         * sysdeps/unix/sysv/linux/mips/kernel-features.h
43751         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43752         Undefine.
43753         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43754         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43755         Likewise.
43757         [BZ #16648]
43758         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43759         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43760         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43762 2014-03-31  Will Newton  <will.newton@linaro.org>
43764         * benchtests/Makefile (bench): Add ffs and ffsll to list
43765         of tests.
43766         * benchtests/ffs-inputs: New file.
43767         * benchtests/ffsll-inputs: Likewise.
43769 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
43771         [BZ #16770]
43772         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43773         too large before casting to int.
43774         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43775         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43776         * math/libm-test.inc (scalb_test_data): Add more tests.
43778 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43780         * benchtests/Makefile (DETAILED_OPT): New make option.
43781         (bench-func): Run benchmark program with -d if DETAILED_OPT is
43782         set.
43783         * benchtests/bench-skeleton.c: Include stdbool.h.
43784         (main): Store and print timings per input.
43785         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43786         member to each argument value.
43787         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43788         (_print_arg_data): Initialize per-input timing to 0.
43790         * benchtests/Makefile (timing-type): New binary.
43791         (bench-clean): Also remove bench-timing-type.
43792         (bench): New target for timing-type.
43793         (bench-func): Print output in JSON format.
43794         * benchtests/bench-skeleton.c (main): Print output in JSON
43795         format.
43796         * benchtests/bench-timing-type.c: New file.
43797         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43798         (TIMING_PRINT_STATS): Remove.
43799         * benchtests/scripts/bench.py (_print_arg_data): Store variant
43800         name separately.
43802         * benchtests/bench-modf.c: Remove.
43803         * benchtests/modf-inputs: New inputs file.
43805 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
43807         [BZ #16362]
43808         * math/s_clog10.c (M_PI_LOG10E): New macro.
43809         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43810         imaginary parts are 0.
43811         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43812         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43813         imaginary parts are 0.
43814         * math/s_clog10l.c (M_PI_LOG10El): New macro.
43815         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43816         imaginary parts are 0.
43817         * math/libm-test.inc (clog10_test_data): Update expected results
43818         for when real and imaginary parts are 0.
43820 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
43822         * elf/dl-load.c: Finish conversion of __builtin_expect into
43823         __glibc_{un}likely.
43825 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
43827         [BZ #16348]
43828         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43829         1+x for argument with exponent below -67.
43830         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43831         Likewise.
43832         * math/auto-libm-test-in: Add more tests of exp.
43833         * math/auto-libm-test-out: Regenerated.
43835 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43837         [BZ #16759]
43838         * inet/getnetgrent_r.c (get_nonempty_val): New function.
43839         (nscd_getnetgrent): Use it.
43841         [BZ #16760]
43842         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43843         of stpcpy.
43845 2014-03-27  Andi Kleen  <ak@linux.intel.com>
43847         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43848         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43849         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43850         (lll_robust_unlock): Remove out of line section. Use cfi
43851         intrinsics.
43852         (LLL_STUB_UNWIND_INFO*): Remove.
43853         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43854         (lll_robust_lock, lll_cond_lock, lll_timedlock)
43855         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43856         (lll_robust_unlock): Remove out of line section. Use cfi
43857         intrinsics.
43858         (LLL_STUB_UNWIND_INFO*): Remove.
43860 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43862         [BZ #16758]
43863         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43864         blank values.
43866 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
43868         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43870 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
43872         [BZ #16198]
43873         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43874         fnstenv.
43875         * math/test-fenv-preserve.c: New file.
43876         * math/Makefile (tests): Add test-fenv-preserve.
43878 2014-03-26  Will Newton <will.newton@linaro.org>
43880         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43882 2014-03-25  Roland McGrath  <roland@hack.frob.com>
43884         * scripts/versionlist.awk: Partition the version sets and emit all
43885         GLIBC_* (sorted) before all others (sorted).
43887 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43889         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43890         GLIBC_2.2.5 version.
43892 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43894         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43895         calls.
43897         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43898         previous change.
43900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43902 2014-03-25  Andreas Schwab  <schwab@suse.de>
43904         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43905         label to be used after in6ailist is initialized.
43907 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43909         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43910         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43912 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
43914         [BZ #16357]
43915         [BZ #16599]
43916         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43917         min_plus_half.
43918         (fp_formats): Update initializers.
43919         (init_fp_formats): Initialize new field.
43920         (output_for_one_input_case): Allow underflow for results up to
43921         min_plus_half.
43922         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43923         * math/auto-libm-test-in: Don't mark some underflows from asin and
43924         atanh as spurious.
43925         * math/auto-libm-test-out: Regenerated.
43926         * sysdeps/i386/fpu/libm-test-ulps: Update.
43927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43929 2014-03-25  Andreas Schwab  <schwab@suse.de>
43931         * libio/Makefile (tst-ftell-partial-wide-ENV)
43932         (tst-ftell-active-handler-ENV): Define.
43934 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
43936         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43938 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43940         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43942 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
43944         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43945         * sysdeps/x86_64/fpu/multiarch/e_exp.c
43946         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43948 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
43950         [BZ #16634]
43951         * elf/dl-load.c (open_verify): Add mode parameter.
43952         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43953         (open_path): Change from boolean 'secure' to complete flag 'mode'
43954         (_dl_map_object): Adjust.
43955         * elf/Makefile (tests): Add tst-dlopen-aout.
43956         * elf/tst-dlopen-aout.c: New test.
43958 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
43960         [BZ #16714]
43961         * sysdeps/unix/sysv/linux/s390/bits/stat.h
43962         (struct stat): Rename member pad0 to __glibc_reserved0.
43964         [BZ #16712]
43965         * sysdeps/s390/s390-32/bits/wordsize.h
43966         (__WORDSIZE32_SIZE_ULONG): New define.
43967         * sysdeps/s390/s390-64/bits/wordsize.h
43968         (__WORDSIZE32_SIZE_ULONG): Likewise.
43969         * sysdeps/generic/stdint.h (SIZE_MAX):
43970         Define as UL if __WORDSIZE32_SIZE_ULONG.
43972         [BZ #16713]
43973         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43974         (__glibc_reserved0): New variable.
43975         (sa_flags): Change type to int.
43977         * posix/Makefile (before-compile): Use += before-compile instead
43978         of a :=.
43980         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43981         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43983 2014-03-20  Andreas Schwab  <schwab@suse.de>
43985         [BZ #16743]
43986         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43987         non-matching result from nscd.
43989 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43991         * scripts/bench.py: Moved to ...
43992         * benchtests/scripts/bench.py: ... here.
43993         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43995 2014-03-24  Andreas Schwab  <schwab@suse.de>
43997         [BZ #16002]
43998         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43999         alloca_account and account alloca use for struct in6ailist.
44001 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
44003         [BZ #16284]
44004         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
44005         rounding mode to recompute results that overflow to infinity or
44006         underflow to zero.
44007         * math/auto-libm-test-in: Don't mark tests as expected to fail for
44008         bug 16284.
44009         * math/auto-libm-test-out: Regenerated.
44010         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
44011         (ccosh_test): Likewise.
44012         (csin_test_data): Use plus_oflow.
44013         (csin_test): Use ALL_RM_TEST.
44014         (csinh_test_data): Use plus_oflow.
44015         (csinh_test): Use ALL_RM_TEST.
44016         * sysdeps/i386/fpu/libm-test-ulps: Update.
44017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44019 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
44021         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
44022         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
44023         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
44025         [BZ #16731]
44026         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
44027         when x - 1 is zero.
44028         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
44029         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
44030         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
44031         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
44032         argument is 1.
44033         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
44034         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
44035         zero.
44036         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
44037         * sysdeps/i386/fpu/libm-test-ulps: Update.
44038         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44040 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
44042         * scripts/bench.pl: Remove file.
44043         * scripts/bench.py: New benchmark script.
44044         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
44045         * benchtests/README: Mention python dependency.
44046         * scripts/pylintrc: New file.
44047         * scripts/pylint: New file.
44049         * bits/mathdef.h: Use #ifdef instead of #if.
44050         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
44051         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44052         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
44053         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44054         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
44055         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
44057 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44058             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44060         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
44061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
44062         and strpbrk-ppc64 objects.
44063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44064         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
44065         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
44066         multiarch strpbrk for POWER7.
44067         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
44068         multiarch strpbrk for PPC64.
44069         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
44070         ifunc selector.
44071         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
44072         strpbrk for POWER7.
44074 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44076         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44077         (atan_test): Likewise.
44078         (atanh_test_data): Use NO_TEST_INLINE for two tests.
44079         (atanh_test): Use ALL_RM_TEST.
44080         (atan2_test_data): Likewise.
44081         (cabs_test): Likewise.
44082         (cacosh_test): Likewise.
44083         (carg_test): Likewise.
44084         (casin_test): Likewise.
44085         (casinh_test): Likewise.
44086         (cbrt_test): Likewise.
44087         (csqrt_test): Likewise.
44088         (erf_test): Likewise.
44089         (erfc_test): Likewise.
44090         (pow10_test): Likewise.
44091         (exp2_test): Likewise.
44092         (hypot_test): Likewise.
44093         (j0_test): Likewise.
44094         (j1_test): Likewise.
44095         (lgamma_test): Likewise.
44096         (gamma_test): Likewise.
44097         (sincos_test): Likewise.
44098         (tanh_test): Likewise.
44099         (y0_test): Likewise.
44100         (y1_test): Likewise.
44101         * sysdeps/i386/fpu/libm-test-ulps: Update.
44102         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44104 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44106         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44107         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44108         and strcspn-ppc64 objects.
44109         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44110         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44111         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44112         multiarch strcspn for POWER7.
44113         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44114         multiarch strcspn for PPC64.
44115         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44116         ifunc selector.
44117         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44118         strcspn for POWER7.
44120 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
44122         * math/gen-libm-test.pl (generate_testfile): Expect only function
44123         name as argument to AUTO_TESTS_* and pass results for all rounding
44124         modes to parse_args.
44125         (parse_auto_input): Separate inputs of automatic tests from
44126         outputs before storing in %auto_tests.
44127         * math/libm-test.inc (acos_test_data): Update call to
44128         AUTO_TESTS_f_f.
44129         (acos_test): Use ALL_RM_TEST.
44130         (acos_tonearest_test_data): Remove.
44131         (acos_test_tonearest): Likewise.
44132         (acos_towardzero_test_data): Likewise.
44133         (acos_test_towardzero): Likewise.
44134         (acos_downward_test_data): Likewise.
44135         (acos_test_downward): Likewise.
44136         (acos_upward_test_data): Likewise.
44137         (acos_test_upward): Likewise.
44138         (acosh_test_data): Update call to AUTO_TESTS_f_f.
44139         (asin_test_data): Likewise.
44140         (asin_test): Use ALL_RM_TEST.
44141         (asin_tonearest_test_data): Remove.
44142         (asin_test_tonearest): Likewise.
44143         (asin_towardzero_test_data): Likewise.
44144         (asin_test_towardzero): Likewise.
44145         (asin_downward_test_data): Likewise.
44146         (asin_test_downward): Likewise.
44147         (asin_upward_test_data): Likewise.
44148         (asin_test_upward): Likewise.
44149         (asinh_test_data): Update call to AUTO_TESTS_f_f.
44150         (atan_test_data): Likewise.
44151         (atanh_test_data): Likewise.
44152         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
44153         (cabs_test_data): Update call to AUTO_TESTS_c_f.
44154         (carg_test_data): Likewise.
44155         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
44156         (ccos_test_data): Update call to AUTO_TESTS_c_c.
44157         (ccosh_test_data): Likewise.
44158         (cexp_test_data): Likewise.
44159         (clog_test_data): Likewise.
44160         (clog10_test_data): Likewise.
44161         (cos_test_data): Update call to AUTO_TESTS_f_f.
44162         (cos_test): Use ALL_RM_TEST.
44163         (cos_tonearest_test_data): Remove.
44164         (cos_test_tonearest): Likewise.
44165         (cos_towardzero_test_data): Likewise.
44166         (cos_test_towardzero): Likewise.
44167         (cos_downward_test_data): Likewise.
44168         (cos_test_downward): Likewise.
44169         (cos_upward_test_data): Likewise.
44170         (cos_test_upward): Likewise.
44171         (cosh_test_data): Update call to AUTO_TESTS_f_f.
44172         (cosh_test): Use ALL_RM_TEST.
44173         (cosh_tonearest_test_data): Remove.
44174         (cosh_test_tonearest): Likewise.
44175         (cosh_towardzero_test_data): Likewise.
44176         (cosh_test_towardzero): Likewise.
44177         (cosh_downward_test_data): Likewise.
44178         (cosh_test_downward): Likewise.
44179         (cosh_upward_test_data): Likewise.
44180         (cosh_test_upward): Likewise.
44181         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
44182         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
44183         (ctan_test_data): Likewise.
44184         (ctan_test): Use ALL_RM_TEST.
44185         (ctan_tonearest_test_data): Remove.
44186         (ctan_test_tonearest): Likewise.
44187         (ctan_towardzero_test_data): Likewise.
44188         (ctan_test_towardzero): Likewise.
44189         (ctan_downward_test_data): Likewise.
44190         (ctan_test_downward): Likewise.
44191         (ctan_upward_test_data): Likewise.
44192         (ctan_test_upward): Likewise.
44193         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
44194         (ctanh_test): Use ALL_RM_TEST.
44195         (ctanh_tonearest_test_data): Remove.
44196         (ctanh_test_tonearest): Likewise.
44197         (ctanh_towardzero_test_data): Likewise.
44198         (ctanh_test_towardzero): Likewise.
44199         (ctanh_downward_test_data): Likewise.
44200         (ctanh_test_downward): Likewise.
44201         (ctanh_upward_test_data): Likewise.
44202         (ctanh_test_upward): Likewise.
44203         (erf_test_data): Update call to AUTO_TESTS_f_f.
44204         (erfc_test_data): Likewise.
44205         (exp_test_data): Likewise.
44206         (exp_test): Use ALL_RM_TEST.
44207         (exp_tonearest_test_data): Remove.
44208         (exp_test_tonearest): Likewise.
44209         (exp_towardzero_test_data): Likewise.
44210         (exp_test_towardzero): Likewise.
44211         (exp_downward_test_data): Likewise.
44212         (exp_test_downward): Likewise.
44213         (exp_upward_test_data): Likewise.
44214         (exp_test_upward): Likewise.
44215         (exp10_test_data): Update call to AUTO_TESTS_f_f.
44216         (exp10_test): Use ALL_RM_TEST.
44217         (exp10_tonearest_test_data): Remove.
44218         (exp10_test_tonearest): Likewise.
44219         (exp10_towardzero_test_data): Likewise.
44220         (exp10_test_towardzero): Likewise.
44221         (exp10_downward_test_data): Likewise.
44222         (exp10_test_downward): Likewise.
44223         (exp10_upward_test_data): Likewise.
44224         (exp10_test_upward): Likewise.
44225         (exp2_test_data): Update call to AUTO_TESTS_f_f.
44226         (expm1_test_data): Likewise.
44227         (expm1_test): Use ALL_RM_TEST.
44228         (expm1_tonearest_test_data): Remove.
44229         (expm1_test_tonearest): Likewise.
44230         (expm1_towardzero_test_data): Likewise.
44231         (expm1_test_towardzero): Likewise.
44232         (expm1_downward_test_data): Likewise.
44233         (expm1_test_downward): Likewise.
44234         (expm1_upward_test_data): Likewise.
44235         (expm1_test_upward): Likewise.
44236         (fma_test_data): Update call to AUTO_TESTS_fff_f.
44237         (fma_test): Use ALL_RM_TEST.
44238         (fma_towardzero_test_data): Remove.
44239         (fma_test_towardzero): Likewise.
44240         (fma_downward_test_data): Likewise.
44241         (fma_test_downward): Likewise.
44242         (fma_upward_test_data): Likewise.
44243         (fma_test_upward): Likewise.
44244         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
44245         (j0_test_data): Update call to AUTO_TESTS_f_f.
44246         (j1_test_data): Likewise.
44247         (jn_test_data): Update call to AUTO_TESTS_if_f.
44248         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
44249         (log_test_data): Update call to AUTO_TESTS_f_f.
44250         (log10_test_data): Likewise.
44251         (log1p_test_data): Likewise.
44252         (log2_test_data): Likewise.
44253         (pow_test_data): Update call to AUTO_TESTS_ff_f.
44254         (pow_tonearest_test_data): Likewise.
44255         (sin_test_data): Update call to AUTO_TESTS_f_f.
44256         (sin_test): Use ALL_RM_TEST.
44257         (sin_tonearest_test_data): Remove.
44258         (sin_test_tonearest): Likewise.
44259         (sin_towardzero_test_data): Likewise.
44260         (sin_test_towardzero): Likewise.
44261         (sin_downward_test_data): Likewise.
44262         (sin_test_downward): Likewise.
44263         (sin_upward_test_data): Likewise.
44264         (sin_test_upward): Likewise.
44265         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
44266         (sinh_test_data): Update call to AUTO_TESTS_f_f.
44267         (sinh_test): Use ALL_RM_TEST.
44268         (sinh_tonearest_test_data): Remove.
44269         (sinh_test_tonearest): Likewise.
44270         (sinh_towardzero_test_data): Likewise.
44271         (sinh_test_towardzero): Likewise.
44272         (sinh_downward_test_data): Likewise.
44273         (sinh_test_downward): Likewise.
44274         (sinh_upward_test_data): Likewise.
44275         (sinh_test_upward): Likewise.
44276         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
44277         (sqrt_test): Use ALL_RM_TEST.
44278         (sqrt_tonearest_test_data): Remove.
44279         (sqrt_test_tonearest): Likewise.
44280         (sqrt_towardzero_test_data): Likewise.
44281         (sqrt_test_towardzero): Likewise.
44282         (sqrt_downward_test_data): Likewise.
44283         (sqrt_test_downward): Likewise.
44284         (sqrt_upward_test_data): Likewise.
44285         (sqrt_test_upward): Likewise.
44286         (tan_test_data): Update call to AUTO_TESTS_f_f.
44287         (tan_test): Use ALL_RM_TEST.
44288         (tan_tonearest_test_data): Remove.
44289         (tan_test_tonearest): Likewise.
44290         (tan_towardzero_test_data): Likewise.
44291         (tan_test_towardzero): Likewise.
44292         (tan_downward_test_data): Likewise.
44293         (tan_test_downward): Likewise.
44294         (tan_upward_test_data): Likewise.
44295         (tan_test_upward): Likewise.
44296         (tanh_test_data): Update call to AUTO_TESTS_f_f.
44297         (tgamma_test_data): Likewise.
44298         (y0_test_data): Likewise.
44299         (y1_test_data): Likewise.
44300         (yn_test_data): Update call to AUTO_TESTS_if_f.
44301         (main): Do not call removed functions.
44303 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
44305         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
44306         (ldexp_test_data): Remove.
44307         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
44308         scalbn_test_data.
44309         (scalb_test): Use ALL_RM_TEST.
44311 2014-03-19  Andreas Schwab  <schwab@suse.de>
44313         * nscd/nscd.service: Also invalidate netgroup cache on reload.
44315 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
44317         [BZ #16649]
44318         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44319         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44320         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44321         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44322         (__ASSUME_PREADV): Undefine.
44323         (__ASSUME_PWRITEV): Likewise.
44325 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44327         * bits/mman-linux.h: Add comment about non-Linux use.
44328         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44329         bits/mman-linux.h resting place.
44331         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44332         * bits/mman-linux.h: ... here.
44334 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44336         * conform/conformtest.pl: Add standard definition when calling C
44337         preprocessor on data files.
44338         (checknamespace): Remove unused variable.
44340 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44342         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44343         minus_oflow, plus_uflow and minus_uflow in expected results.
44344         * math/libm-test.inc (scalbn_test_data): Add more tests of
44345         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
44346         minus_uflow.
44347         (scalbn_test): Use ALL_RM_TEST.
44348         (scalbln_test_data): Add more tests of negative arguments.  Use
44349         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44350         (scalbln_test): Use ALL_RM_TEST.
44352 2014-03-18  Roland McGrath  <roland@hack.frob.com>
44354         * scripts/abilist.awk: Ignore symbols marked with .hidden.
44356 2014-03-18  Will Newton  <will.newton@linaro.org>
44358         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44359         inaccurate comment.
44361 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
44363         * Makerules [!subdir] (check-abi): Exit with error status if a
44364         test failed.
44366 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44368         * math/libm-test.inc (nearbyint_test_data): Include all tests used
44369         for rint.  Include results for all rounding modes.
44370         (nearbyint_test): Use ALL_RM_TEST.
44371         (rint_test_data): Include all tests used for nearbyint.
44373 2014-03-17  Will Newton  <will.newton@linaro.org>
44375         * nptl/sysdeps/pthread/pthread.h: Revert previous
44376         change.
44378         * sysdeps/generic/ldsodefs.h: Revert previous
44379         change.
44381         * libio/genops.c: Revert previous change.
44382         * libio/libioP.h: Likewise.
44383         * stdio-common/vfprintf.c: Likewise.
44385         * sysdeps/generic/math_private.h: Revert previous
44386         change.
44388         * sysdeps/generic/math_private.h: Check whether
44389         HAVE_RM_CTX is defined with #ifdef rather
44390         than #if.
44392         * argp/argp-fmtstream.h: Check whether
44393         __STRICT_ANSI__ is defined with #ifdef rather
44394         than #if.
44395         * argp/argp.h: Likewise.
44397         * libio/genops.c: Check whether
44398         _IO_JUMPS_OFFSET is defined with #ifdef rather
44399         than #if.
44400         * libio/libioP.h: Likewise.
44401         * stdio-common/vfprintf.c: Likewise.
44403         * sysdeps/generic/ldsodefs.h: Check whether
44404         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44405         than #if.
44407         * nptl/sysdeps/pthread/pthread.h: Check
44408         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44409         its value.
44411 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44413         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44414         setting O_APPEND.
44415         * libio/tst-ftell-active-handler.c (do_append_test): Add a
44416         test case.
44418         [BZ #16680]
44419         * libio/fileops.c (_IO_file_open): Seek to end of file but
44420         don't cache the offset.
44421         (get_file_offset): Remove function.
44422         (do_ftell): Use cached offset when available.
44423         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44424         don't cache the offset.
44425         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44426         case.
44427         (do_one_test): Call it.
44428         (do_ftell_test): Fix up expected old offset for a+ mode.
44429         * libio/wfileops.c (do_ftell_wide): Used cached offset when
44430         available.
44432         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44433         up test status with function return status.
44434         (do_write_test): Likewise.
44435         (do_append_test): Likewise.
44437         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44438         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44439         Remove.
44441 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
44443         * math/gen-libm-test.pl (parse_args): Handle results specified for
44444         each rounding mode separately.
44445         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44446         tests and results from lrint_tonearest_test_data,
44447         lrint_towardzero_test_data, lrint_downward_test_data and
44448         lrint_upward_test_data.
44449         (lrint_test): Use ALL_RM_TEST.
44450         (lrint_tonearest_test_data): Remove.
44451         (lrint_test_tonearest): Likewise.
44452         (lrint_towardzero_test_data): Likewise.
44453         (lrint_test_towardzero): Likewise.
44454         (lrint_downward_test_data): Likewise.
44455         (lrint_test_downward): Likewise.
44456         (lrint_upward_test_data): Likewise.
44457         (lrint_test_upward): Likewise.
44458         (llrint_test_data): Merge in per-rounding-mode tests and results
44459         from llrint_tonearest_test_data, llrint_towardzero_test_data,
44460         llrint_downward_test_data and llrint_upward_test_data.
44461         (llrint_test): Use ALL_RM_TEST.
44462         (llrint_tonearest_test_data): Remove.
44463         (llrint_test_tonearest): Likewise.
44464         (llrint_towardzero_test_data): Likewise.
44465         (llrint_test_towardzero): Likewise.
44466         (llrint_downward_test_data): Likewise.
44467         (llrint_test_downward): Likewise.
44468         (llrint_upward_test_data): Likewise.
44469         (llrint_test_upward): Likewise.
44470         (rint_test_data): Merge in per-rounding-mode tests and results
44471         from rint_tonearest_test_data, rint_towardzero_test_data,
44472         rint_downward_test_data and rint_upward_test_data.  Add
44473         per-rounding-mode results for tests not in those arrays.
44474         (rint_test): Use ALL_RM_TEST.
44475         (rint_tonearest_test_data): Remove.
44476         (rint_test_tonearest): Likewise.
44477         (rint_towardzero_test_data): Likewise.
44478         (rint_test_towardzero): Likewise.
44479         (rint_downward_test_data): Likewise.
44480         (rint_test_downward): Likewise.
44481         (rint_upward_test_data): Likewise.
44482         (rint_test_upward): Likewise.
44483         (main): Don't call removed functions.
44485 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44487         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44488         "Compiled on ..." crapola.  It is anti-useful.
44490 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
44492         * scripts/evaluate-test.sh: Handle fourth argument to determine
44493         whether test run should stop on failure.
44494         * Makeconfig (stop-on-test-failure): New variable.
44495         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44496         $(stop-on-test-failure).
44497         * Makefile (tests): Give a summary of results from testing and
44498         exit with failure status if they include an ERROR or FAIL.
44499         (xtests): Likewise.
44500         * manual/install.texi (Configuring and compiling): Mention
44501         stop-on-test-failure=y.
44502         * INSTALL: Regenerated.
44504 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44506         * scripts/versionlist.awk: New file.
44507         * Makerules [$(build-shared) = yes]
44508         (postclean-generated): Add Versions.def, not Versions.def.v and
44509         Versions.def.v.i.
44510         ($(common-objpfx)Versions.def.v.i): Target removed.
44511         ($(common-objpfx)Versions.def): New target.
44512         ($(common-objpfx)Versions.all): Depend on that rather that
44513         $(common-objpfx)Versions.def.v.
44514         * Versions.def: File removed.
44516         * Makeconfig (+gccwarn): Add -Wundef.
44517         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44518         a dl-sysdep.h breaking its contract.
44519         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44520         * include/stackinfo.h: New file.
44521         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44522         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44523         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44524         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44525         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44526         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44527         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44528         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44529         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44530         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44531         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44532         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44533         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44534         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44535         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44537 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44539         [BZ #16707]
44540         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44541         implementation.
44542         * math/libm-test.inc (round_test_data): Add more tests.
44544         [BZ #16706]
44545         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44546         implementation.
44547         * math/libm-test.inc (nearbyint_test_data): Add more tests.
44549         [BZ #16701]
44550         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44551         implementation.
44552         * math/libm-test.inc (ceil_test_data): Add more tests.
44554         * math/libm-test.inc (trunc_test_data): Add more tests related to
44555         BZ#16414.
44557 2014-03-14  Roland McGrath  <roland@hack.frob.com>
44559         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44560         with #if rather than #ifdef.
44561         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44563 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
44565         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44566         first.  Disable AVX-512 GCC support if assembler doesn't support
44567         it.
44568         * sysdeps/x86_64/configure: Regenerated.
44570 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
44572         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44573         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44574         (__old_pthread_attr_setstack): Likewise.
44575         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44576         [!_STACK_GROWS_DOWN]: Likewise.
44578 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
44580         * config.make.in (have-bash2): Delete.
44581         * configure.ac (libc_cv_have_bash2): Delete.
44582         * configure: Regenerate.
44583         * elf/Makefile (common-ldd-rewrite): Rename to ...
44584         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
44585         (sh-ldd-rewrite): Delete.
44586         (bash-ldd-rewrite): Delete.
44587         (have-bash2): Delete checks.
44588         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44589         ldd-rewrite.
44591         * config.make.in (have-ksh): Delete.
44592         (KSH): Delete.
44593         * configure.ac (libc_cv_have_ksh): Delete.
44594         * configure: Regenerate.
44596         * elf/Makefile: Delete $(have-ksh) check.
44597         ($(objpfx)sotruss): Change KSH to BASH.
44598         * elf/sotruss.ksh: Rename to ...
44599         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
44600         function style to match POSIX.  Drop ksh vim mode setting.
44602         * manual/time.texi (Specifying the Time Zone with TZ): Change
44603         Tuesday to Thursday.
44605         * debug/tst-longjmp_chk2.c: Update header comment.
44606         (stackoverflow_handler): Add comment.  Call assert on pass value.
44608 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
44610         [BZ #16194]
44611         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44612         (HAVE_AVX512_ASM_SUPPORT): Likewise.
44613         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44614         (La_x86_64_vector): Add zmm.
44615         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44616         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44617         ($(objpfx)tst-audit10): New target.
44618         ($(objpfx)tst-audit10.out): Likewise.
44619         (tst-audit10-ENV): New.
44620         (AVX512-CFLAGS): Likewise.
44621         (CFLAGS-tst-audit10.c): Likewise.
44622         (CFLAGS-tst-auditmod10a.c): Likewise.
44623         (CFLAGS-tst-auditmod10b.c): Likewise.
44624         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44625         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44626         * sysdeps/x86_64/configure: Regenerated.
44627         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44628         AVX-512 zmm register support.
44629         (_dl_x86_64_save_sse): Likewise.
44630         (_dl_x86_64_restore_sse): Likewise.
44631         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44632         size vector registers.
44633         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44634         (ZMM_SIZE): Likewise.
44635         * sysdeps/x86_64/tst-audit10.c: New file.
44636         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44637         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44639 2014-03-13  Roland McGrath  <roland@hack.frob.com>
44641         * configure.ac (HAVE_EHDR_START): New check.
44642         * configure: Regenerated.
44643         * config.h.in (HAVE_EHDR_START): New #undef.
44644         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44645         assuming the lowest-addressed segment maps the start of the file.
44647 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
44649         * INSTALL: Regenerated.
44651 2014-03-13  Will Newton  <will.newton@linaro.org>
44653         * manual/setjmp.texi (System V contexts): Improve
44654         clarity and grammar of documentation.
44656 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
44658         [BZ #16381]
44659         * elf/Makefile (tests): Add tst-pie2.
44660         (tests-pie): Add tst-pie2.
44661         * elf/tst-pie2.c: New file.
44662         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44663         for ET_EXEC.
44664         * elf/rtld.c (map_doit): Load executable as lt_executable.
44665         (dl_main): Likewise.
44667 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
44669         [BZ #16642]
44670         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44671         (__ASSUME_PSELECT): Undefine.
44673 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44675         [BZ #16689]
44676         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44677         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44678         static build.
44679         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44680         selector for static builds.
44682 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44684         [BZ #16695]
44685         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44686         key in the buffer.
44688 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44690         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44691         IFUNC selector for static builds.
44693 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
44695         * sysdeps/mips/math_private.h [__mips_hard_float]
44696         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44697         libc_feresetround_mips_ctx.
44698         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44699         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44700         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44702         [BZ #16677]
44703         * math/s_nextafter.c (__nextafter): Do not return value from
44704         overflowing computation.
44705         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44706         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44707         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44708         Likewise.
44709         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44710         Likewise.
44711         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44712         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44714 2014-03-11  Roland McGrath  <roland@hack.frob.com>
44716         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44717         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44718         Move sfi_sp use from the load-multiple (that no longer sets sp) to
44719         the new mov targetting sp.
44721 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44723         [BZ #16683]
44724         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44725         Define it for static builds as well.
44726         (NO_BZERO_IMPL): Likewise.
44728 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44730         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44731         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44732         multiarch strspn for PPC64.
44733         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44734         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44735         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44736         (__libc_ifunc_impl_list): Likewise.
44737         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44738         multiarch optimizations
44739         * string/strspn.c (strspn): Using macro to redefine symbol name.
44741 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44742             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44744         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44745         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44746         multiarch strncat for PPC64.
44747         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44748         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44749         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44750         (__libc_ifunc_impl_list): Likewise.
44751         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44752         multiarch optimizations
44754 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44756         [BZ #16639]
44757         * nscd/nscd.service: Make service type forking.
44759 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44761         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44762         sign in non default rounding modes.
44763         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44765 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
44767         * math/libm-test.inc (ALL_RM_TEST): New macro.
44768         (ceil_test): Use ALL_RM_TEST.
44769         (cimag_test): Likewise.
44770         (conj_test): Likewise.
44771         (copysign_test): Likewise.
44772         (cproj_test): Likewise.
44773         (creal_test): Likewise.
44774         (fabs_test): Likewise.
44775         (floor_test): Likewise.
44776         (fmax_test): Likewise.
44777         (fmin_test): Likewise.
44778         (fmod_test): Likewise.
44779         (fpclassify_test): Likewise.
44780         (frexp_test): Likewise.
44781         (ilogb_test): Likewise.
44782         (isfinite_test): Likewise.
44783         (finite_test): Likewise.
44784         (isgreater_test): Likewise.
44785         (isgreaterequal_test): Likewise.
44786         (isinf_test): Likewise.
44787         (isless_test): Likewise.
44788         (islessequal_test): Likewise.
44789         (islessgreater_test): Likewise.
44790         (isnan_test): Likewise.
44791         (isnormal_test): Likewise.
44792         (issignaling_test): Likewise.
44793         (isunordered_test): Likewise.
44794         (logb_test): Likewise.
44795         (logb_downward_test_data): Remove.
44796         (logb_test_downward): Likewise.
44797         (lround_test): Use ALL_RM_TEST.
44798         (llround_test): Likewise.
44799         (modf_test): Likewise.
44800         (nexttoward_test): Likewise.
44801         (remainder_test): Likewise.
44802         (drem_test): Likewise.
44803         (remainder_tonearest_test_data): Likewise.
44804         (remainder_test_tonearest): Likewise.
44805         (drem_test_tonearest): Likewise.
44806         (remainder_towardzero_test_data): Likewise.
44807         (remainder_test_towardzero): Likewise.
44808         (drem_test_towardzero): Likewise.
44809         (remainder_downward_test_data): Likewise.
44810         (remainder_test_downward): Likewise.
44811         (drem_test_downward): Likewise.
44812         (remainder_upward_test_data): Likewise.
44813         (remainder_test_upward): Likewise.
44814         (drem_test_upward): Likewise.
44815         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
44816         (round_test): Use ALL_RM_TEST.
44817         (signbit_test): Likewise.
44818         (trunc_test): Likewise.
44819         (significand_test): Likewise.
44820         (main): Don't call removed functions.
44822 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
44824         [BZ #16674]
44825         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44826         || __USE_XOPEN2K8].
44827         (ILL_ILLOPN): Likewise.
44828         (ILL_ILLADR): Likewise.
44829         (ILL_ILLTRP): Likewise.
44830         (ILL_PRVOPC): Likewise.
44831         (ILL_PRVREG): Likewise.
44832         (ILL_COPROC): Likewise.
44833         (ILL_BADSTK): Likewise.
44834         (FPE_INTDIV): Likewise.
44835         (FPE_INTOVF): Likewise.
44836         (FPE_FLTDIV): Likewise.
44837         (FPE_FLTOVF): Likewise.
44838         (FPE_FLTUND): Likewise.
44839         (FPE_FLTRES): Likewise.
44840         (FPE_FLTINV): Likewise.
44841         (FPE_FLTSUB): Likewise.
44842         (SEGV_MAPERR): Likewise.
44843         (SEGV_ACCERR): Likewise.
44844         (BUS_ADRALN): Likewise.
44845         (BUS_ADRERR): Likewise.
44846         (BUS_OBJERR): Likewise.
44847         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44848         (TRAP_TRACE): Likewise.
44849         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44850         __USE_XOPEN2K8].
44851         (CLD_KILLED): Likewise.
44852         (CLD_DUMPED): Likewise.
44853         (CLD_TRAPPED): Likewise.
44854         (CLD_STOPPED): Likewise.
44855         (CLD_CONTINUED): Likewise.
44856         (POLL_IN): Likewise.
44857         (POLL_OUT): Likewise.
44858         (POLL_MSG): Likewise.
44859         (POLL_ERR): Likewise.
44860         (POLL_PRI): Likewise.
44861         (POLL_HUP): Likewise.
44862         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44863         Likewise.
44864         (ILL_ILLOPN): Likewise.
44865         (ILL_ILLADR): Likewise.
44866         (ILL_ILLTRP): Likewise.
44867         (ILL_PRVOPC): Likewise.
44868         (ILL_PRVREG): Likewise.
44869         (ILL_COPROC): Likewise.
44870         (ILL_BADSTK): Likewise.
44871         (FPE_INTDIV): Likewise.
44872         (FPE_INTOVF): Likewise.
44873         (FPE_FLTDIV): Likewise.
44874         (FPE_FLTOVF): Likewise.
44875         (FPE_FLTUND): Likewise.
44876         (FPE_FLTRES): Likewise.
44877         (FPE_FLTINV): Likewise.
44878         (FPE_FLTSUB): Likewise.
44879         (SEGV_MAPERR): Likewise.
44880         (SEGV_ACCERR): Likewise.
44881         (BUS_ADRALN): Likewise.
44882         (BUS_ADRERR): Likewise.
44883         (BUS_OBJERR): Likewise.
44884         (BUS_MCEERR_AR): Likewise.
44885         (BUS_MCEERR_AO): Likewise.
44886         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44887         (TRAP_TRACE): Likewise.
44888         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44889         __USE_XOPEN2K8].
44890         (CLD_KILLED): Likewise.
44891         (CLD_DUMPED): Likewise.
44892         (CLD_TRAPPED): Likewise.
44893         (CLD_STOPPED): Likewise.
44894         (CLD_CONTINUED): Likewise.
44895         (POLL_IN): Likewise.
44896         (POLL_OUT): Likewise.
44897         (POLL_MSG): Likewise.
44898         (POLL_ERR): Likewise.
44899         (POLL_PRI): Likewise.
44900         (POLL_HUP): Likewise.
44901         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44902         (ILL_ILLOPN): Likewise.
44903         (ILL_ILLADR): Likewise.
44904         (ILL_ILLTRP): Likewise.
44905         (ILL_PRVOPC): Likewise.
44906         (ILL_PRVREG): Likewise.
44907         (ILL_COPROC): Likewise.
44908         (ILL_BADSTK): Likewise.
44909         (FPE_INTDIV): Likewise.
44910         (FPE_INTOVF): Likewise.
44911         (FPE_FLTDIV): Likewise.
44912         (FPE_FLTOVF): Likewise.
44913         (FPE_FLTUND): Likewise.
44914         (FPE_FLTRES): Likewise.
44915         (FPE_FLTINV): Likewise.
44916         (FPE_FLTSUB): Likewise.
44917         (SEGV_MAPERR): Likewise.
44918         (SEGV_ACCERR): Likewise.
44919         (BUS_ADRALN): Likewise.
44920         (BUS_ADRERR): Likewise.
44921         (BUS_OBJERR): Likewise.
44922         (BUS_MCEERR_AR): Likewise.
44923         (BUS_MCEERR_AO): Likewise.
44924         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44925         (TRAP_TRACE): Likewise.
44926         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44927         __USE_XOPEN2K8].
44928         (CLD_KILLED): Likewise.
44929         (CLD_DUMPED): Likewise.
44930         (CLD_TRAPPED): Likewise.
44931         (CLD_STOPPED): Likewise.
44932         (CLD_CONTINUED): Likewise.
44933         (POLL_IN): Likewise.
44934         (POLL_OUT): Likewise.
44935         (POLL_MSG): Likewise.
44936         (POLL_ERR): Likewise.
44937         (POLL_PRI): Likewise.
44938         (POLL_HUP): Likewise.
44939         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44940         Likewise.
44941         (ILL_ILLOPN): Likewise.
44942         (ILL_ILLADR): Likewise.
44943         (ILL_ILLTRP): Likewise.
44944         (ILL_PRVOPC): Likewise.
44945         (ILL_PRVREG): Likewise.
44946         (ILL_COPROC): Likewise.
44947         (ILL_BADSTK): Likewise.
44948         (ILL_BADIADDR): Likewise.
44949         (ILL_BREAK): Likewise.
44950         (FPE_INTDIV): Likewise.
44951         (FPE_INTOVF): Likewise.
44952         (FPE_FLTDIV): Likewise.
44953         (FPE_FLTOVF): Likewise.
44954         (FPE_FLTUND): Likewise.
44955         (FPE_FLTRES): Likewise.
44956         (FPE_FLTINV): Likewise.
44957         (FPE_FLTSUB): Likewise.
44958         (FPE_DECOVF): Likewise.
44959         (FPE_DECDIV): Likewise.
44960         (FPE_DECERR): Likewise.
44961         (FPE_INVASC): Likewise.
44962         (FPE_INVDEC): Likewise.
44963         (SEGV_MAPERR): Likewise.
44964         (SEGV_ACCERR): Likewise.
44965         (SEGV_PSTKOVF): Likewise.
44966         (BUS_ADRALN): Likewise.
44967         (BUS_ADRERR): Likewise.
44968         (BUS_OBJERR): Likewise.
44969         (BUS_MCEERR_AR): Likewise.
44970         (BUS_MCEERR_AO): Likewise.
44971         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44972         (TRAP_TRACE): Likewise.
44973         (TRAP_BRANCH): Likewise.
44974         (TRAP_HWBKPT): Likewise.
44975         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44976         __USE_XOPEN2K8].
44977         (CLD_KILLED): Likewise.
44978         (CLD_DUMPED): Likewise.
44979         (CLD_TRAPPED): Likewise.
44980         (CLD_STOPPED): Likewise.
44981         (CLD_CONTINUED): Likewise.
44982         (POLL_IN): Likewise.
44983         (POLL_OUT): Likewise.
44984         (POLL_MSG): Likewise.
44985         (POLL_ERR): Likewise.
44986         (POLL_PRI): Likewise.
44987         (POLL_HUP): Likewise.
44988         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44989         (ILL_ILLOPN): Likewise.
44990         (ILL_ILLADR): Likewise.
44991         (ILL_ILLTRP): Likewise.
44992         (ILL_PRVOPC): Likewise.
44993         (ILL_PRVREG): Likewise.
44994         (ILL_COPROC): Likewise.
44995         (ILL_BADSTK): Likewise.
44996         (FPE_INTDIV): Likewise.
44997         (FPE_INTOVF): Likewise.
44998         (FPE_FLTDIV): Likewise.
44999         (FPE_FLTOVF): Likewise.
45000         (FPE_FLTUND): Likewise.
45001         (FPE_FLTRES): Likewise.
45002         (FPE_FLTINV): Likewise.
45003         (FPE_FLTSUB): Likewise.
45004         (SEGV_MAPERR): Likewise.
45005         (SEGV_ACCERR): Likewise.
45006         (BUS_ADRALN): Likewise.
45007         (BUS_ADRERR): Likewise.
45008         (BUS_OBJERR): Likewise.
45009         (BUS_MCEERR_AR): Likewise.
45010         (BUS_MCEERR_AO): Likewise.
45011         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45012         (TRAP_TRACE): Likewise.
45013         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45014         __USE_XOPEN2K8].
45015         (CLD_KILLED): Likewise.
45016         (CLD_DUMPED): Likewise.
45017         (CLD_TRAPPED): Likewise.
45018         (CLD_STOPPED): Likewise.
45019         (CLD_CONTINUED): Likewise.
45020         (POLL_IN): Likewise.
45021         (POLL_OUT): Likewise.
45022         (POLL_MSG): Likewise.
45023         (POLL_ERR): Likewise.
45024         (POLL_PRI): Likewise.
45025         (POLL_HUP): Likewise.
45026         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
45027         (ILL_ILLOPN): Likewise.
45028         (ILL_ILLADR): Likewise.
45029         (ILL_ILLTRP): Likewise.
45030         (ILL_PRVOPC): Likewise.
45031         (ILL_PRVREG): Likewise.
45032         (ILL_COPROC): Likewise.
45033         (ILL_BADSTK): Likewise.
45034         (FPE_INTDIV): Likewise.
45035         (FPE_INTOVF): Likewise.
45036         (FPE_FLTDIV): Likewise.
45037         (FPE_FLTOVF): Likewise.
45038         (FPE_FLTUND): Likewise.
45039         (FPE_FLTRES): Likewise.
45040         (FPE_FLTINV): Likewise.
45041         (FPE_FLTSUB): Likewise.
45042         (SEGV_MAPERR): Likewise.
45043         (SEGV_ACCERR): Likewise.
45044         (BUS_ADRALN): Likewise.
45045         (BUS_ADRERR): Likewise.
45046         (BUS_OBJERR): Likewise.
45047         (BUS_MCEERR_AR): Likewise.
45048         (BUS_MCEERR_AO): Likewise.
45049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45050         (TRAP_TRACE): Likewise.
45051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45052         __USE_XOPEN2K8].
45053         (CLD_KILLED): Likewise.
45054         (CLD_DUMPED): Likewise.
45055         (CLD_TRAPPED): Likewise.
45056         (CLD_STOPPED): Likewise.
45057         (CLD_CONTINUED): Likewise.
45058         (POLL_IN): Likewise.
45059         (POLL_OUT): Likewise.
45060         (POLL_MSG): Likewise.
45061         (POLL_ERR): Likewise.
45062         (POLL_PRI): Likewise.
45063         (POLL_HUP): Likewise.
45064         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
45065         (ILL_ILLOPN): Likewise.
45066         (ILL_ILLADR): Likewise.
45067         (ILL_ILLTRP): Likewise.
45068         (ILL_PRVOPC): Likewise.
45069         (ILL_PRVREG): Likewise.
45070         (ILL_COPROC): Likewise.
45071         (ILL_BADSTK): Likewise.
45072         (FPE_INTDIV): Likewise.
45073         (FPE_INTOVF): Likewise.
45074         (FPE_FLTDIV): Likewise.
45075         (FPE_FLTOVF): Likewise.
45076         (FPE_FLTUND): Likewise.
45077         (FPE_FLTRES): Likewise.
45078         (FPE_FLTINV): Likewise.
45079         (FPE_FLTSUB): Likewise.
45080         (SEGV_MAPERR): Likewise.
45081         (SEGV_ACCERR): Likewise.
45082         (BUS_ADRALN): Likewise.
45083         (BUS_ADRERR): Likewise.
45084         (BUS_OBJERR): Likewise.
45085         (BUS_MCEERR_AR): Likewise.
45086         (BUS_MCEERR_AO): Likewise.
45087         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45088         (TRAP_TRACE): Likewise.
45089         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45090         __USE_XOPEN2K8].
45091         (CLD_KILLED): Likewise.
45092         (CLD_DUMPED): Likewise.
45093         (CLD_TRAPPED): Likewise.
45094         (CLD_STOPPED): Likewise.
45095         (CLD_CONTINUED): Likewise.
45096         (POLL_IN): Likewise.
45097         (POLL_OUT): Likewise.
45098         (POLL_MSG): Likewise.
45099         (POLL_ERR): Likewise.
45100         (POLL_PRI): Likewise.
45101         (POLL_HUP): Likewise.
45102         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45103         (ILL_ILLOPN): Likewise.
45104         (ILL_ILLADR): Likewise.
45105         (ILL_ILLTRP): Likewise.
45106         (ILL_PRVOPC): Likewise.
45107         (ILL_PRVREG): Likewise.
45108         (ILL_COPROC): Likewise.
45109         (ILL_BADSTK): Likewise.
45110         (ILL_DBLFLT): Likewise.
45111         (ILL_HARDWALL): Likewise.
45112         (FPE_INTDIV): Likewise.
45113         (FPE_INTOVF): Likewise.
45114         (FPE_FLTDIV): Likewise.
45115         (FPE_FLTOVF): Likewise.
45116         (FPE_FLTUND): Likewise.
45117         (FPE_FLTRES): Likewise.
45118         (FPE_FLTINV): Likewise.
45119         (FPE_FLTSUB): Likewise.
45120         (SEGV_MAPERR): Likewise.
45121         (SEGV_ACCERR): Likewise.
45122         (BUS_ADRALN): Likewise.
45123         (BUS_ADRERR): Likewise.
45124         (BUS_OBJERR): Likewise.
45125         (BUS_MCEERR_AR): Likewise.
45126         (BUS_MCEERR_AO): Likewise.
45127         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45128         (TRAP_TRACE): Likewise.
45129         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45130         __USE_XOPEN2K8].
45131         (CLD_KILLED): Likewise.
45132         (CLD_DUMPED): Likewise.
45133         (CLD_TRAPPED): Likewise.
45134         (CLD_STOPPED): Likewise.
45135         (CLD_CONTINUED): Likewise.
45136         (POLL_IN): Likewise.
45137         (POLL_OUT): Likewise.
45138         (POLL_MSG): Likewise.
45139         (POLL_ERR): Likewise.
45140         (POLL_PRI): Likewise.
45141         (POLL_HUP): Likewise.
45142         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
45143         (ILL_ILLOPN): Likewise.
45144         (ILL_ILLADR): Likewise.
45145         (ILL_ILLTRP): Likewise.
45146         (ILL_PRVOPC): Likewise.
45147         (ILL_PRVREG): Likewise.
45148         (ILL_COPROC): Likewise.
45149         (ILL_BADSTK): Likewise.
45150         (FPE_INTDIV): Likewise.
45151         (FPE_INTOVF): Likewise.
45152         (FPE_FLTDIV): Likewise.
45153         (FPE_FLTOVF): Likewise.
45154         (FPE_FLTUND): Likewise.
45155         (FPE_FLTRES): Likewise.
45156         (FPE_FLTINV): Likewise.
45157         (FPE_FLTSUB): Likewise.
45158         (SEGV_MAPERR): Likewise.
45159         (SEGV_ACCERR): Likewise.
45160         (BUS_ADRALN): Likewise.
45161         (BUS_ADRERR): Likewise.
45162         (BUS_OBJERR): Likewise.
45163         (BUS_MCEERR_AR): Likewise.
45164         (BUS_MCEERR_AO): Likewise.
45165         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45166         (TRAP_TRACE): Likewise.
45167         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45168         __USE_XOPEN2K8].
45169         (CLD_KILLED): Likewise.
45170         (CLD_DUMPED): Likewise.
45171         (CLD_TRAPPED): Likewise.
45172         (CLD_STOPPED): Likewise.
45173         (CLD_CONTINUED): Likewise.
45174         (POLL_IN): Likewise.
45175         (POLL_OUT): Likewise.
45176         (POLL_MSG): Likewise.
45177         (POLL_ERR): Likewise.
45178         (POLL_PRI): Likewise.
45179         (POLL_HUP): Likewise.
45180         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
45181         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45183         [BZ #16670]
45184         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
45185         before #include of <time.h>.
45186         [!__USE_XOPEN2K] (__need_timespec): Likewise.
45187         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
45188         (test-xfail-UNIX98/sched.h/conform): Likewise.
45190 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
45192         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
45193         error absence of trapping exception support.
45194         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45196 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
45198         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
45199         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
45200         * timezone/Makefile (testdata): Move definition above include of
45201         Rules.
45202         (test-zones): New variable.
45203         (tests-special): Add zone files.
45204         (build-testdata): Use $(evaluate-test).
45206         * elf/Makefile (tests-special): Rename tests to end with .out.
45207         ($(objpfx)noload-mem): Likewise.
45208         ($(objpfx)tst-leaks1-mem): Likewise.
45209         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
45210         * iconv/Makefile (xtests-special): Change test-iconvconfig to
45211         $(objpfx)test-iconvconfig.out.
45212         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
45213         set -e inside subshell and redirect output to file.
45214         * iconvdata/Makefile (generated): Rename tests to end with .out.
45215         Correct type.
45216         (tests-special): Rename tests to end with .out.
45217         ($(objpfx)mtrace-tst-loading): Likewise.
45218         * intl/Makefile (generated): Likewise.
45219         (tests-special): Likewise.
45220         ($(objpfx)mtrace-tst-gettext): Likewise.
45221         * misc/Makefile (generated): Likewise.
45222         (tests-special): Likewise.
45223         ($(objpfx)tst-error1-mem): Likewise.
45224         * nptl/Makefile (tests-special): Likewise.
45225         ($(objpfx)tst-stack3-mem): Likewise.
45226         (generated): Likewise.
45227         * posix/Makefile (generated): Likewise.
45228         (tests-special): Likewise.
45229         (xtests-special): Likewise.
45230         ($(objpfx)tst-fnmatch-mem): Likewise.
45231         ($(objpfx)bug-regex2-mem): Likewise.
45232         ($(objpfx)bug-regex14-mem): Likewise.
45233         ($(objpfx)bug-regex21-mem): Likewise.
45234         ($(objpfx)bug-regex31-mem): Likewise.
45235         ($(objpfx)tst-vfork3-mem): Likewise.
45236         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45237         ($(objpfx)tst-pcre-mem): Likewise.
45238         ($(objpfx)tst-boost-mem): Likewise.
45239         ($(objpfx)bug-ga2-mem): Likewise.
45240         ($(objpfx)bug-glob2-mem): Likewise.
45241         * resolv/Makefile (generate): Likewise.
45242         (tests-special): Likewise.
45243         (xtests-special): Likewise.
45244         (generated): Likewise.
45245         ($(objpfx)mtrace-tst-leaks): Likewise.
45246         ($(objpfx)mtrace-tst-leaks2): Likewise.
45248         * scripts/merge-test-results.sh: New file.
45249         * Makefile (tests-special-notdir): New variable.
45250         (tests): Run merge-test-results.sh.
45251         (xtests): Likewise.
45252         * Rules (tests-special-notdir): New variable.
45253         (xtests-special-notdir): Likewise.
45254         (tests): Run merge-test-results.sh
45255         (xtests): Likewise.
45257         * Makeconfig (test-xfail-name): New variable.
45258         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
45259         compute variable name for expected failures.
45260         * conform/Makefile (conformtest-headers-data): New variable.
45261         (conformtest-standards): Likewise.
45262         (conformtest-headers-ISO): Likewise.
45263         (conformtest-headers-ISO99): Likewise.
45264         (conformtest-headers-ISO11): Likewise.
45265         (conformtest-headers-POSIX): Likewise.
45266         (conformtest-headers-XPG3): Likewise.
45267         (conformtest-headers-XPG4): Likewise.
45268         (conformtest-headers-UNIX98): Likewise.
45269         (conformtest-headers-XOPEN2K): Likewise.
45270         (conformtest-headers-POSIX2008): Likewise.
45271         (conformtest-headers-XOPEN2K8): Likewise.
45272         (conformtest-header-list-base): Likewise.
45273         (conformtest-header-list-tests): Likewise.
45274         (conformtest-header-base): Likewise.
45275         (conformtest-header-tests): Likewise.
45276         (tests-special): Add $(conformtest-header-list-tests).  If
45277         [$(fast-check) && !$(cross-compiling)], add
45278         $(conformtest-header-tests) instead of
45279         $(objpfx)run-conformtest.out.
45280         (generated): Add $(conformtest-header-list-base).  If
45281         [$(fast-check) && !$(cross-compiling)], add
45282         $(conformtest-header-base).  Remove previous setting.
45283         ($(conformtest-header-list-tests)): New target.
45284         (test-xfail-run-conformtest): Remove variable.
45285         ($(objpfx)run-conformtest.out): Remove target.
45286         (test-xfail-ISO11/complex.h/conform): New variable.
45287         (test-xfail-ISO11/stdalign.h/conform): Likewise.
45288         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
45289         (test-xfail-XPG3/varargs.h/conform): Likewise.
45290         (test-xfail-XPG4/varargs.h/conform): Likewise.
45291         (test-xfail-UNIX98/varargs.h/conform): Likewise.
45292         (test-xfail-XPG4/ndbm.h/conform): Likewise.
45293         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
45294         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
45295         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
45296         (test-xfail-XPG3/fcntl.h/conform): Likewise.
45297         (test-xfail-XPG3/ftw.h/conform): Likewise.
45298         (test-xfail-XPG3/grp.h/conform): Likewise.
45299         (test-xfail-XPG3/langinfo.h/conform): Likewise.
45300         (test-xfail-XPG3/limits.h/conform): Likewise.
45301         (test-xfail-XPG3/pwd.h/conform): Likewise.
45302         (test-xfail-XPG3/search.h/conform): Likewise.
45303         (test-xfail-XPG3/signal.h/conform): Likewise.
45304         (test-xfail-XPG3/stdio.h/conform): Likewise.
45305         (test-xfail-XPG3/stdlib.h/conform): Likewise.
45306         (test-xfail-XPG3/string.h/conform): Likewise.
45307         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45308         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45309         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45310         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45311         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45312         (test-xfail-XPG3/sys/types.h/conform): Likewise.
45313         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45314         (test-xfail-XPG3/termios.h/conform): Likewise.
45315         (test-xfail-XPG3/time.h/conform): Likewise.
45316         (test-xfail-XPG3/unistd.h/conform): Likewise.
45317         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45318         (test-xfail-XPG4/fcntl.h/conform): Likewise.
45319         (test-xfail-XPG4/langinfo.h/conform): Likewise.
45320         (test-xfail-XPG4/netdb.h/conform): Likewise.
45321         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45322         (test-xfail-XPG4/signal.h/conform): Likewise.
45323         (test-xfail-XPG4/stdio.h/conform): Likewise.
45324         (test-xfail-XPG4/stdlib.h/conform): Likewise.
45325         (test-xfail-XPG4/stropts.h/conform): Likewise.
45326         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45327         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45328         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45329         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45330         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45331         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45332         (test-xfail-XPG4/sys/time.h/conform): Likewise.
45333         (test-xfail-XPG4/sys/types.h/conform): Likewise.
45334         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45335         (test-xfail-XPG4/termios.h/conform): Likewise.
45336         (test-xfail-XPG4/ucontext.h/conform): Likewise.
45337         (test-xfail-XPG4/unistd.h/conform): Likewise.
45338         (test-xfail-XPG4/utmpx.h/conform): Likewise.
45339         (test-xfail-POSIX/sched.h/conform): Likewise.
45340         (test-xfail-POSIX/signal.h/conform): Likewise.
45341         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45342         (test-xfail-POSIX/tar.h/conform): Likewise.
45343         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45344         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45345         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45346         (test-xfail-UNIX98/netdb.h/conform): Likewise.
45347         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45348         (test-xfail-UNIX98/sched.h/conform): Likewise.
45349         (test-xfail-UNIX98/signal.h/conform): Likewise.
45350         (test-xfail-UNIX98/stdio.h/conform): Likewise.
45351         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45352         (test-xfail-UNIX98/stropts.h/conform): Likewise.
45353         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45354         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45355         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45356         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45357         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45358         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45359         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45360         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45361         (test-xfail-UNIX98/unistd.h/conform): Likewise.
45362         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45363         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45364         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45365         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45366         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45367         (test-xfail-XOPEN2K/math.h/conform): Likewise.
45368         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45369         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45370         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45371         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45372         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45373         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45374         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45375         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45376         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45377         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45378         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45379         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45380         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45381         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45382         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45383         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45384         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45385         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45386         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45387         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45388         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45389         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45390         (test-xfail-POSIX2008/signal.h/conform): Likewise.
45391         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45392         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45393         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45394         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45395         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45396         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45397         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45398         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45399         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45400         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45401         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45402         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45403         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45404         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45405         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45406         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45407         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45408         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45409         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45410         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45411         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45412         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45413         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45414         (conformtest-cc-flags): Likewise.
45415         ($(conformtest-header-tests): New target.
45416         * conform/check-header-lists.sh: New file.
45417         * conform/run-conformtest.sh: Remove.
45419         * conform/conformtest.pl: Allow ' and \ in values given for
45420         constants.
45421         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45422         inclusion.
45423         [POSIX] (sys/types.h): Likewise.
45424         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45425         inclusion.
45426         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45427         inclusion.
45428         * conform/data/signal.h-data (SIGIO): Remove expectation.
45429         [XPG3] (SIGBUS): Do not expect.
45430         [POSIX || XPG3] (SIGPOLL): Likewise.
45431         [POSIX || XPG3] (SIGPROF): Likewise.
45432         [POSIX || XPG3] (SIGSYS): Likewise.
45433         [XPG3] (SIGTRAP): Likewise.
45434         [POSIX || XPG3] (SIGURG): Likewise.
45435         [POSIX || XPG3] (SIGVTALRM): Likewise.
45436         [POSIX || XPG3] (SIGXCPU): Likewise.
45437         [POSIX || XPG3] (SIGXFSZ): Likewise.
45438         [POSIX] (SA_SIGINFO): Expect.
45439         [XPG3] (siginfo_t): Do not expect type or contents.
45440         [POSIX] (si_pid): Do not expect element.
45441         [POSIX] (si_uid): Likewise.
45442         [POSIX] (si_addr): Likewise.
45443         [POSIX] (si_status): Likewise.
45444         [POSIX] (si_band): Likewise.
45445         [XPG4] (si_value): Likewise.
45446         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45447         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45448         [POSIX || XPG3] (ILL_ILLADR): Likewise.
45449         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45450         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45451         [POSIX || XPG3] (ILL_PRVREG): Likewise.
45452         [POSIX || XPG3] (ILL_COPROC): Likewise.
45453         [POSIX || XPG3] (ILL_BADSTK): Likewise.
45454         [POSIX || XPG3] (FPE_INTDIV): Likewise.
45455         [POSIX || XPG3] (FPE_INTOVF): Likewise.
45456         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45457         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45458         [POSIX || XPG3] (FPE_FLTUND): Likewise.
45459         [POSIX || XPG3] (FPE_FLTRES): Likewise.
45460         [POSIX || XPG3] (FPE_FLTINV): Likewise.
45461         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45462         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45463         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45464         [POSIX || XPG3] (BUS_ADRALN): Likewise.
45465         [POSIX || XPG3] (BUS_ADRERR): Likewise.
45466         [POSIX || XPG3] (BUS_OBJERR): Likewise.
45467         [POSIX || XPG3] (CLD_EXITED): Likewise.
45468         [POSIX || XPG3] (CLD_KILLED): Likewise.
45469         [POSIX || XPG3] (CLD_DUMPED): Likewise.
45470         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45471         [POSIX || XPG3] (CLD_STOPPED): Likewise.
45472         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45473         [POSIX || XPG3] (POLL_IN): Likewise.
45474         [POSIX || XPG3] (POLL_OUT): Likewise.
45475         [POSIX || XPG3] (POLL_MSG): Likewise.
45476         [POSIX || XPG3] (POLL_ERR): Likewise.
45477         [POSIX || XPG3] (POLL_PRI): Likewise.
45478         [POSIX || XPG3] (POLL_HUP): Likewise.
45479         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45480         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45481         (SIG*): Do not allow.
45482         [XPG3] (si_*): Likewise.
45483         [XPG3] (SI_*): Likewise.
45484         [XPG3 || XPG4] (sigev_*): Likewise.
45485         [XPG3 || XPG4] (SIGEV_*): Likewise.
45486         [XPG3 || XPG4] (sival_*): Likewise.
45487         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45488         [POSIX || XPG3] (BUS_*): Likewise.
45489         [POSIX || XPG3] (CLD_*): Likewise.
45490         [POSIX || XPG3] (FPE_*): Likewise.
45491         [POSIX || XPG3] (ILL_*): Likewise.
45492         [POSIX || XPG3] (POLL_*): Likewise.
45493         [POSIX || XPG3] (SEGV_*): Likewise.
45494         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45495         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45496         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45497         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45498         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45499         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45500         Specify type and value.
45501         (TVERSLEN): Likewise.
45502         (REGTYPE): Likewise.
45503         (AREGTYPE): Likewise.
45504         (LNKTYPE): Likewise.
45505         (SYMTYPE): Likewise.
45506         (CHRTYPE): Likewise.
45507         (BLKTYPE): Likewise.
45508         (DIRTYPE): Likewise.
45509         (FIFOTYPE): Likewise.
45510         (CONTTYPE): Likewise.
45511         (TSUID): Likewise.
45512         (TSGID): Likewise.
45513         (TSVTX): Likewise.
45514         (TUREAD): Likewise.
45515         (TUWRITE): Likewise.
45516         (TUEXEC): Likewise.
45517         (TGREAD): Likewise.
45518         (TGWRITE): Likewise.
45519         (TGEXEC): Likewise.
45520         (TOREAD): Likewise.
45521         (TOWRITE): Likewise.
45522         (TOEXEC): Likewise.
45523         [POSIX] (TSVTX): Expect constant.
45525 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
45527         * Makefile (tests): Change dependencies to ....
45528         (tests-special): ... additions to this variable.
45529         (tests): Depend on $(tests-special).
45530         * Makerules (check-abi-list): New variable.
45531         (check-abi): Depend on $(check-abi-list).
45532         [$(subdir) = elf] (tests-special): Add
45533         $(objpfx)check-abi-libc.out.
45534         [$(build-shared) = yes && subdir] (tests-special): Add
45535         $(check-abi-list).
45536         [$(build-shared) = yes && subdir] (tests): Do not depend on
45537         check-abi.
45538         * Rules (tests): Depend on $(tests-special).
45539         (xtests): Depend on $(xtests-special).
45540         * catgets/Makefile (tests): Change dependencies to ....
45541         (tests-special): ... additions to this variable.
45542         * conform/Makefile (tests): Change dependencies to ....
45543         (tests-special): ... additions to this variable.
45544         * elf/Makefile (tests): Change dependencies to ....
45545         (tests-special): ... additions to this variable.
45546         * grp/Makefile (tests): Change dependencies to ....
45547         (tests-special): ... additions to this variable.
45548         * iconv/Makefile (xtests): Change dependencies to ....
45549         (xtests-special): ... additions to this variable.
45550         * iconvdata/Makefile (tests): Change dependencies to ....
45551         (tests-special): ... additions to this variable.
45552         * intl/Makefile (tests): Change dependencies to ....
45553         (tests-special): ... additions to this variable.  Also add
45554         $(objpfx)tst-gettext.out.
45555         * io/Makefile (tests): Change dependencies to ....
45556         (tests-special): ... additions to this variable.
45557         * libio/Makefile (tests): Change dependencies to ....
45558         (tests-special): ... additions to this variable.
45559         * malloc/Makefile (tests): Change dependencies to ....
45560         (tests-special): ... additions to this variable.
45561         * misc/Makefile (tests): Change dependencies to ....
45562         (tests-special): ... additions to this variable.
45563         * nptl/Makefile (tests): Change dependencies to ....
45564         (tests-special): ... additions to this variable.
45565         * nptl_db/Makefile (tests): Change dependencies to ....
45566         (tests-special): ... additions to this variable.
45567         * posix/Makefile (tests): Change dependencies to ....
45568         (tests-special): ... additions to this variable.
45569         (xtests): Change dependencies to ....
45570         (xtests-special): ... additions to this variable.
45571         * resolv/Makefile (tests): Change dependencies to ....
45572         (tests-special): ... additions to this variable.
45573         (xtests): Change dependencies to ....
45574         (xtests-special): ... additions to this variable.
45575         * stdio-common/Makefile (tests): Change dependencies to ....
45576         (tests-special): ... additions to this variable.
45577         (do-tst-unbputc): Remove target.
45578         (do-tst-printf): Likewise.
45579         * stdlib/Makefile (tests): Change dependencies to ....
45580         (tests-special): ... additions to this variable.
45581         * string/Makefile (tests): Change dependencies to ....
45582         (tests-special): ... additions to this variable.
45583         * sysdeps/x86/Makefile (tests): Change dependencies to ....
45584         (tests-special): ... additions to this variable.
45586         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45587         whole file.
45588         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45589         whole file.
45590         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45591         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45593         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45594         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45595         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45596         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45597         * conform/data/libgen.h-data [XPG3]: Likewise.
45598         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45599         * conform/data/ndbm.h-data [XPG3]: Likewise.
45600         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45601         * conform/data/netdb.h-data [XPG3]: Likewise.
45602         * conform/data/netinet/in.h-data [XPG3]: Likewise.
45603         * conform/data/poll.h-data [XPG3]: Likewise.
45604         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45605         * conform/data/strings.h-data [XPG3]: Likewise.
45606         * conform/data/stropts.h-data [XPG3]: Likewise.
45607         * conform/data/sys/mman.h-data [XPG3]: Likewise.
45608         * conform/data/sys/resource.h-data [XPG3]: Likewise.
45609         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45610         Likewise.
45611         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45612         * conform/data/sys/time.h-data [XPG3]: Likewise.
45613         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45614         * conform/data/sys/uio.h-data [XPG3]: Likewise.
45615         * conform/data/sys/un.h-data [XPG3]: Likewise.
45616         * conform/data/syslog.h-data [XPG3]: Likewise.
45617         * conform/data/ucontext.h-data [XPG3]: Likewise.
45618         * conform/data/utmpx.h-data [XPG3]: Likewise.
45619         * conform/data/varargs.h-data [UNIX98]: Enable file.
45621         * manual/Makefile (INSTALL_INFO): Remove variable setting.
45623         * math/libm-test.inc (struct test_f_f_data): Move expected results
45624         into structure for each rounding mode.
45625         (struct test_ff_f_data): Likewise.
45626         (struct test_ff_f_data_nexttoward): Likewise.
45627         (struct test_fi_f_data): Likewise.
45628         (struct test_fl_f_data): Likewise.
45629         (struct test_if_f_data): Likewise.
45630         (struct test_fff_f_data): Likewise.
45631         (struct test_c_f_data): Likewise.
45632         (struct test_f_f1_data): Likewise.
45633         (struct test_fF_f1_data): Likewise.
45634         (struct test_ffI_f1_data): Likewise.
45635         (struct test_c_c_data): Likewise.
45636         (struct test_cc_c_data): Likewise.
45637         (struct test_f_i_data): Likewise.
45638         (struct test_ff_i_data): Likewise.
45639         (struct test_f_l_data): Likewise.
45640         (struct test_f_L_data): Likewise.
45641         (struct test_fFF_11_data): Likewise.
45642         (RM_): New macro.
45643         (RM_FE_DOWNWARD): Likewise.
45644         (RM_FE_TONEAREST): Likewise.
45645         (RM_FE_TOWARDZERO): Likewise.
45646         (RM_FE_UPWARD): Likewise.
45647         (RUN_TEST_LOOP_f_f): Update references to expected results.
45648         (RUN_TEST_LOOP_2_f): Likewise.
45649         (RUN_TEST_LOOP_fff_f): Likewise.
45650         (RUN_TEST_LOOP_c_f): Likewise.
45651         (RUN_TEST_LOOP_f_f1): Likewise.
45652         (RUN_TEST_LOOP_fF_f1): Likewise.
45653         (RUN_TEST_LOOP_fI_f1): Likewise.
45654         (RUN_TEST_LOOP_ffI_f1): Likewise.
45655         (RUN_TEST_LOOP_c_c): Likewise.
45656         (RUN_TEST_LOOP_cc_c): Likewise.
45657         (RUN_TEST_LOOP_f_i): Likewise.
45658         (RUN_TEST_LOOP_f_i_tg): Likewise.
45659         (RUN_TEST_LOOP_ff_i_tg): Likewise.
45660         (RUN_TEST_LOOP_f_b): Likewise.
45661         (RUN_TEST_LOOP_f_b_tg): Likewise.
45662         (RUN_TEST_LOOP_f_l): Likewise.
45663         (RUN_TEST_LOOP_f_L): Likewise.
45664         (RUN_TEST_LOOP_fFF_11): Likewise.
45665         * math/gen-libm-test.pl (parse_args): Output four copies of
45666         expected results for each test.
45668         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45669         (__ASSUME_UTIMES): Remove.
45670         * sysdeps/unix/sysv/linux/tile/kernel-features.h
45671         (__ASSUME_UTIMES): Likewise.
45673         * math/gen-auto-libm-tests.c: Update comment on output format.
45674         (output_for_one_input_case): Generate before-rounding and
45675         after-rounding information as conditions on output flags not
45676         floating-point format.
45677         * math/auto-libm-test-out: Regenerated.
45678         * math/gen-libm-test.pl (cond_value): New function.
45679         (or_cond_value): Use cond_value.
45680         (generate_testfile): Handle conditional exceptions.
45682 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
45684         * math/libm-test.inc (max_valid_error): New variable.
45685         (init_max_error): Take new argument specifying whether function
45686         results are exactly determined.  Set max_valid_error and bound
45687         other variables for errors based on this argument.
45688         (set_max_error): Do not record results above max_valid_error.
45689         (check_float_internal): Only accept errors of up to 0.5ulps if
45690         also at most max_valid_error.
45691         (START): Take new argument EXACT and pass it to init_max_error.
45692         (acos_test): Update call to START.
45693         (acos_test_tonearest): Likewise.
45694         (acos_test_towardzero): Likewise.
45695         (acos_test_downward): Likewise.
45696         (acos_test_upward): Likewise.
45697         (acosh_test): Likewise.
45698         (asin_test): Likewise.
45699         (asin_test_tonearest): Likewise.
45700         (asin_test_towardzero): Likewise.
45701         (asin_test_downward): Likewise.
45702         (asin_test_upward): Likewise.
45703         (asinh_test): Likewise.
45704         (atan_test): Likewise.
45705         (atanh_test): Likewise.
45706         (atan2_test): Likewise.
45707         (cabs_test): Likewise.
45708         (cacos_test): Likewise.
45709         (cacosh_test): Likewise.
45710         (carg_test): Likewise.
45711         (casin_test): Likewise.
45712         (casinh_test): Likewise.
45713         (catan_test): Likewise.
45714         (catanh_test): Likewise.
45715         (cbrt_test): Likewise.
45716         (ccos_test): Likewise.
45717         (ccosh_test): Likewise.
45718         (ceil_test): Likewise.
45719         (cexp_test): Likewise.
45720         (cimag_test): Likewise.
45721         (clog_test): Likewise.
45722         (clog10_test): Likewise.
45723         (conj_test): Likewise.
45724         (copysign_test): Likewise.
45725         (cos_test): Likewise.
45726         (cos_test_tonearest): Likewise.
45727         (cos_test_towardzero): Likewise.
45728         (cos_test_downward): Likewise.
45729         (cos_test_upward): Likewise.
45730         (cosh_test): Likewise.
45731         (cosh_test_tonearest): Likewise.
45732         (cosh_test_towardzero): Likewise.
45733         (cosh_test_downward): Likewise.
45734         (cosh_test_upward): Likewise.
45735         (cpow_test): Likewise.
45736         (cproj_test): Likewise.
45737         (creal_test): Likewise.
45738         (csin_test): Likewise.
45739         (csinh_test): Likewise.
45740         (csqrt_test): Likewise.
45741         (ctan_test): Likewise.
45742         (ctan_test_tonearest): Likewise.
45743         (ctan_test_towardzero): Likewise.
45744         (ctan_test_downward): Likewise.
45745         (ctan_test_upward): Likewise.
45746         (ctanh_test): Likewise.
45747         (ctanh_test_tonearest): Likewise.
45748         (ctanh_test_towardzero): Likewise.
45749         (ctanh_test_downward): Likewise.
45750         (ctanh_test_upward): Likewise.
45751         (erf_test): Likewise.
45752         (erfc_test): Likewise.
45753         (exp_test): Likewise.
45754         (exp_test_tonearest): Likewise.
45755         (exp_test_towardzero): Likewise.
45756         (exp_test_downward): Likewise.
45757         (exp_test_upward): Likewise.
45758         (exp10_test): Likewise.
45759         (exp10_test_tonearest): Likewise.
45760         (exp10_test_towardzero): Likewise.
45761         (exp10_test_downward): Likewise.
45762         (exp10_test_upward): Likewise.
45763         (pow10_test): Likewise.
45764         (exp2_test): Likewise.
45765         (expm1_test): Likewise.
45766         (expm1_test_tonearest): Likewise.
45767         (expm1_test_towardzero): Likewise.
45768         (expm1_test_downward): Likewise.
45769         (expm1_test_upward): Likewise.
45770         (fabs_test): Likewise.
45771         (fdim_test): Likewise.
45772         (floor_test): Likewise.
45773         (fma_test): Likewise.
45774         (fma_test_towardzero): Likewise.
45775         (fma_test_downward): Likewise.
45776         (fma_test_upward): Likewise.
45777         (fmax_test): Likewise.
45778         (fmin_test): Likewise.
45779         (fmod_test): Likewise.
45780         (fpclassify_test): Likewise.
45781         (frexp_test): Likewise.
45782         (hypot_test): Likewise.
45783         (ilogb_test): Likewise.
45784         (isfinite_test): Likewise.
45785         (finite_test): Likewise.
45786         (isgreater_test): Likewise.
45787         (isgreaterequal_test): Likewise.
45788         (isinf_test): Likewise.
45789         (isless_test): Likewise.
45790         (islessequal_test): Likewise.
45791         (islessgreater_test): Likewise.
45792         (isnan_test): Likewise.
45793         (isnormal_test): Likewise.
45794         (issignaling_test): Likewise.
45795         (isunordered_test): Likewise.
45796         (j0_test): Likewise.
45797         (j1_test): Likewise.
45798         (jn_test): Likewise.
45799         (ldexp_test): Likewise.
45800         (lgamma_test): Likewise.
45801         (gamma_test): Likewise.
45802         (lrint_test): Likewise.
45803         (lrint_test_tonearest): Likewise.
45804         (lrint_test_towardzero): Likewise.
45805         (lrint_test_downward): Likewise.
45806         (lrint_test_upward): Likewise.
45807         (llrint_test): Likewise.
45808         (llrint_test_tonearest): Likewise.
45809         (llrint_test_towardzero): Likewise.
45810         (llrint_test_downward): Likewise.
45811         (llrint_test_upward): Likewise.
45812         (log_test): Likewise.
45813         (log10_test): Likewise.
45814         (log1p_test): Likewise.
45815         (log2_test): Likewise.
45816         (logb_test): Likewise.
45817         (logb_test_downward): Likewise.
45818         (lround_test): Likewise.
45819         (llround_test): Likewise.
45820         (modf_test): Likewise.
45821         (nearbyint_test): Likewise.
45822         (nextafter_test): Likewise.
45823         (nexttoward_test): Likewise.
45824         (pow_test): Likewise.
45825         (pow_test_tonearest): Likewise.
45826         (pow_test_towardzero): Likewise.
45827         (pow_test_downward): Likewise.
45828         (pow_test_upward): Likewise.
45829         (remainder_test): Likewise.
45830         (drem_test): Likewise.
45831         (remainder_test_tonearest): Likewise.
45832         (drem_test_tonearest): Likewise.
45833         (remainder_test_towardzero): Likewise.
45834         (drem_test_towardzero): Likewise.
45835         (remainder_test_downward): Likewise.
45836         (drem_test_downward): Likewise.
45837         (remainder_test_upward): Likewise.
45838         (drem_test_upward): Likewise.
45839         (remquo_test): Likewise.
45840         (rint_test): Likewise.
45841         (rint_test_tonearest): Likewise.
45842         (rint_test_towardzero): Likewise.
45843         (rint_test_downward): Likewise.
45844         (rint_test_upward): Likewise.
45845         (round_test): Likewise.
45846         (scalb_test): Likewise.
45847         (scalbn_test): Likewise.
45848         (scalbln_test): Likewise.
45849         (signbit_test): Likewise.
45850         (sin_test): Likewise.
45851         (sin_test_tonearest): Likewise.
45852         (sin_test_towardzero): Likewise.
45853         (sin_test_downward): Likewise.
45854         (sin_test_upward): Likewise.
45855         (sincos_test): Likewise.
45856         (sinh_test): Likewise.
45857         (sinh_test_tonearest): Likewise.
45858         (sinh_test_towardzero): Likewise.
45859         (sinh_test_downward): Likewise.
45860         (sinh_test_upward): Likewise.
45861         (sqrt_test): Likewise.
45862         (sqrt_test_tonearest): Likewise.
45863         (sqrt_test_towardzero): Likewise.
45864         (sqrt_test_downward): Likewise.
45865         (sqrt_test_upward): Likewise.
45866         (tan_test): Likewise.
45867         (tan_test_tonearest): Likewise.
45868         (tan_test_towardzero): Likewise.
45869         (tan_test_downward): Likewise.
45870         (tan_test_upward): Likewise.
45871         (tanh_test): Likewise.
45872         (tgamma_test): Likewise.
45873         (trunc_test): Likewise.
45874         (y0_test): Likewise.
45875         (y1_test): Likewise.
45876         (yn_test): Likewise.
45877         (significand_test): Likewise.
45879         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45880         individual tests in comment.
45881         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45882         (prev_max_error): New variable.
45883         (prev_real_max_error): Likewise.
45884         (prev_imag_max_error): Likewise.
45885         (compare_ulp_data): Don't refer to test names in comment.
45886         (find_test_ulps): Remove function.
45887         (find_function_ulps): Likewise.
45888         (find_complex_function_ulps): Likewise.
45889         (init_max_error): Take function name as argument.  Look up ulps
45890         for that function.
45891         (print_ulps): Remove function.
45892         (print_max_error): Use prev_max_error instead of calling
45893         find_function_ulps.
45894         (print_complex_max_error): Use prev_real_max_error and
45895         prev_imag_max_error instead of calling find_complex_function_ulps.
45896         (check_float_internal): Take max_ulp parameter instead of calling
45897         find_test_ulps.  Don't call print_ulps.
45898         (check_float): Update call to check_float_internal.
45899         (check_complex): Update calls to check_float_internal.
45900         (START): Pass argument to init_max_error.
45901         * math/gen-libm-test.pl (%results): Don't include "kind"
45902         information.
45903         (parse_ulps): Don't handle ulps of individual tests.
45904         (print_ulps_file): Likewise.
45905         (output_ulps): Likewise.
45906         * math/README.libm-test: Update.
45907         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45908         individual tests.
45909         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45910         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45911         * sysdeps/arm/libm-test-ulps: Likewise.
45912         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45913         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45914         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45915         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45916         * sysdeps/microblaze/libm-test-ulps: Likewise.
45917         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45918         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45919         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45920         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45921         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45922         * sysdeps/sh/libm-test-ulps: Likewise.
45923         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45924         * sysdeps/tile/libm-test-ulps: Likewise.
45925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45927 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
45929         * math/libm-test.inc (print_complex_max_error): Check separately
45930         whether real and imaginary errors are within allowed range and
45931         pass 0 to print_complex_function_ulps instead of value within
45932         allowed range.
45934 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45936         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45937         formatting.
45938         (get_handles_fopen): Likewise.
45939         (do_write_test): Likewise.
45941         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45943         * libio/fileops.c (do_ftell): Use cached offset when
45944         available.
45945         * libio/iofwide.c (do_ftell_wide): Likewise.
45946         * libio/iofdopen.c (_IO_new_fdopen): Don't use
45947         _IO_file_attach.
45948         * libio/wfileops.c (_IO_fwide): Don't cache offset.
45950         [BZ #16532]
45951         * libio/libioP.h (get_file_offset): New function.
45952         * libio/fileops.c (get_file_offset): Likewise.
45953         (do_ftell): Likewise.
45954         (_IO_new_file_seekoff): Split out ftell logic.
45955         * libio/wfileops.c (do_ftell_wide): Likewise.
45956         (_IO_wfile_seekoff): Split out ftell logic.
45957         * libio/tst-ftell-active-handler.c: New test case.
45958         * libio/Makefile (tests): Add it.
45960 2014-03-03  Roland McGrath  <roland@hack.frob.com>
45962         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45963         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45965 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45967         [BZ #16639]
45968         * nscd/connections.c (nscd_init): Call do_exit.
45969         (start_threads): Call do_exit and notify_parent.
45970         (begin_drop_privileges): Call do_exit.
45971         (finish_drop_privileges): Likewise.
45972         * nscd/selinux.c (preserve_capabilities): Likewise.
45973         (install_real_capabilities): Likewise.
45974         (nscd_selinux_enabled): Likewise.
45975         (avc_create_thread): Likewise.
45976         (avc_alloc_lock): Likewise.
45977         (nscd_avc_init): Likewise.
45978         * nscd/nscd.c (parent_fd): New static variable.
45979         (main): Create a pipe between parent and child processes.
45980         Skip closing parent_fd.
45981         (monitor_child): New function.
45982         (do_exit): Likewise.
45983         (notify_parent): Likewise.
45984         * nscd/nscd.h (notify_parent): Likewise.
45985         (do_exit): Likewise.
45987 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
45989         * malloc/malloc.c (__libc_calloc): Revert last change.
45991 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45995 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45997         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45999         implementation.
46000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
46001         (__libc_ifunc_impl_list): Likewise.
46002         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
46003         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
46004         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
46005         * string/strrchr.c: Define STRRCHR.
46007 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
46009         * benchtest/bench-strtok.c (simple_strtok): Delete.
46010         (strtok_string): Use as benchmark.
46011         * string/strtok (STRTOK): New macro.
46013 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
46015         * manual/threads.texi: Add header and standard comments to all
46016         functions.
46018         * elf/dl-lookup.c (check_match): New function.
46019         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
46020         (do_lookup_x): Remove nested function check_match. Use non-nested
46021         function check_match.
46023 2014-02-28  Roland McGrath  <roland@hack.frob.com>
46025         * csu/Makefile (generated, before-compile): Use += rather than =.
46026         * catgets/Makefile (generated, generated-dirs): Likewise.
46027         * debug/Makefile (generated): Likewise.
46028         * dlfcn/Makefile (generated): Likewise.
46029         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
46030         * iconvdata/Makefile (before-compile, generated): Likewise.
46031         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
46032         * libio/Makefile (generated): Likewise.
46033         * malloc/Makefile (generated): Likewise.
46034         * manual/Makefile (generated, generated-dirs): Likewise.
46035         * misc/Makefile (generated): Likewise.
46036         * posix/Makefile (generated): Likewise.
46037         * resolv/Makefile (generated): Likewise.
46038         * sunrpc/Makefile (generated, generated-dirs): Likewise.
46039         * timezone/Makefile (generated, generated-dirs): Likewise.
46041         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
46043 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46045         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
46046         power8 implementation.
46047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
46048         file: POWER8 llround ifunc implementation.
46049         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
46050         (__lllround): Add POWER8 implementation.
46051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
46052         POWER8 llround implementation.
46054         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
46055         power8 implementation.
46056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
46057         file: POWER8 llrint ifunc implementation.
46058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
46059         Add POWER8 implementation.
46060         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
46061         POWER8 llrint implementation.
46063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
46064         power8 implementation.
46065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
46066         file: POWER8 finite ifunc implementation.
46067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
46068         Add POWER8 implementation.
46069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
46070         Likewise.
46071         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
46072         POWER8 finite implementation.
46073         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
46075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
46076         power8 implementation.
46077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46078         file: POWER8 isinf ifunc implementation.
46079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46080         POWER8 implementation.
46081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46082         Likewise.
46083         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46084         isinf implementation.
46085         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46087         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46088         (INIT_ARCH): Add hwcap2 initialization.
46089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46090         power8 implementation.
46091         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46092         file: POWER8 isnan ifunc implementation.
46093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46094         POWER8 implementation.
46095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46096         Likewise.
46097         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46098         isnan implementation.
46099         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46101 2014-02-27  Joey Ye  <joey.ye@arm.com>
46103         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46104         (_FP_NANFRAC_Q): Set to zero.
46106 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
46108         [BZ #16623]
46109         * math/auto-libm-test-in: New test inputs.
46110         * math/auto-libm-test-out: Regenerate.
46111         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46112         and DA.
46113         (__cos): Likewise.
46114         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46116 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
46118         * scripts/evaluate-test.sh: Take new argument indicating whether
46119         failure is expected.
46120         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46121         indicating whether failure is expected.
46122         * conform/Makefile (test-xfail-run-conformtest): New variable.
46123         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46124         level.
46125         * posix/Makefile (test-xfail-annexc): New variable.
46126         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46128 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
46130         * argp/Makefile: Include Makeconfig immediately after defining
46131         subdir.
46132         * assert/Makefile: Likewise.
46133         * benchtests/Makefile: Likewise.
46134         * catgets/Makefile: Likewise.
46135         * conform/Makefile: Likewise.
46136         * crypt/Makefile: Likewise.
46137         * csu/Makefile: Likewise.
46138         (all): Remove target.
46139         * ctype/Makefile: Include Makeconfig immediately after defining
46140         subdir.
46141         * debug/Makefile: Likewise.
46142         * dirent/Makefile: Likewise.
46143         * dlfcn/Makefile: Likewise.
46144         * gmon/Makefile: Likewise.
46145         * gnulib/Makefile: Likewise.
46146         * grp/Makefile: Likewise.
46147         * gshadow/Makefile: Likewise.
46148         * hesiod/Makefile: Likewise.
46149         * hurd/Makefile: Likewise.
46150         (all): Remove target.
46151         * iconvdata/Makefile: Include Makeconfig immediately after
46152         defining subdir.
46153         * inet/Makefile: Likewise.
46154         * intl/Makefile: Likewise.
46155         * io/Makefile: Likewise.
46156         * libio/Makefile: Likewise.
46157         (all): Remove target.
46158         * locale/Makefile: Include Makeconfig immediately after defining
46159         subdir.
46160         * login/Makefile: Likewise.
46161         * mach/Makefile: Likewise.
46162         (all): Remove target.
46163         * malloc/Makefile: Include Makeconfig immediately after defining
46164         subdir.
46165         (all): Remove target.
46166         * manual/Makefile: Include Makeconfig immediately after defining
46167         subdir.
46168         * math/Makefile: Likewise.
46169         * misc/Makefile: Likewise.
46170         * nis/Makefile: Likewise.
46171         * nss/Makefile: Likewise.
46172         * po/Makefile: Likewise.
46173         (all): Remove target.
46174         * posix/Makefile: Include Makeconfig immediately after defining
46175         subdir.
46176         * pwd/Makefile: Likewise.
46177         * resolv/Makefile: Likewise.
46178         * resource/Makefile: Likewise.
46179         * rt/Makefile: Likewise.
46180         * setjmp/Makefile: Likewise.
46181         * shadow/Makefile: Likewise.
46182         * signal/Makefile: Likewise.
46183         * socket/Makefile: Likewise.
46184         * soft-fp/Makefile: Likewise.
46185         * stdio-common/Makefile: Likewise.
46186         * stdlib/Makefile: Likewise.
46187         * streams/Makefile: Likewise.
46188         * string/Makefile: Likewise.
46189         * sunrpc/Makefile: Likewise.
46190         (all): Remove target.
46191         * sysvipc/Makefile: Include Makeconfig immediately after defining
46192         subdir.
46193         * termios/Makefile: Likewise.
46194         * time/Makefile: Likewise.
46195         * timezone/Makefile: Likewise.
46196         (all): Remove target.
46197         * wcsmbs/Makefile: Include Makeconfig immediately after defining
46198         subdir.
46199         * wctype/Makefile: Likewise.
46201 2014-02-26  Steve Ellcey  <sellcey@mips.com>
46203         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
46204         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
46205         (libc_feholdexcept_setround_mips): Ditto.
46206         (libc_feholdsetround): New.
46207         (libc_feholdsetroundf): New.
46208         (libc_feholdsetroundl): New.
46209         (libc_feupdateenv_test_mips): New.
46210         (libc_feupdateenv_test): New.
46211         (libc_feupdateenv_testf): New.
46212         (libc_feupdateenv_testl): New.
46213         (libc_feresetround): New.
46214         (libc_feresetroundf): New.
46215         (libc_feresetroundl): New.
46216         (libc_fetestexcept_mips): New.
46217         (libc_fetestexcept): New.
46218         (libc_fetestexceptf): New.
46219         (libc_fetestexceptl): New.
46220         (HAVE_RM_CTX): New.
46221         (libc_feholdexcept_setround_mips_ctx): New.
46222         (libc_feholdexcept_setround_ctx): New.
46223         (libc_feholdexcept_setroundf_ctx): New.
46224         (libc_feholdexcept_setroundl_ctx): New.
46225         (libc_fesetenv_mips_ctx): New.
46226         (libc_fesetenv_ctx): New.
46227         (libc_fesetenv_ctxf): New.
46228         (libc_fesetenv_ctxl): New.
46229         (libc_feupdateenv_mips_ctx): New.
46230         (libc_feupdateenv_ctx): New.
46231         (libc_feupdateenvf_ctx): New.
46232         (libc_feupdateenvl_ctx): New.
46233         (libc_feholdsetround_mips_ctx): New.
46234         (libc_feholdsetround_ctx): New.
46235         (libc_feholdsetroundf_ctx): New.
46236         (libc_feholdsetroundl_ctx): New.
46237         (libc_feresetround_mips_ctx): New.
46238         (libc_feresetround_ctx): New.
46239         (libc_feresetroundf_ctx): New.
46240         (libc_feresetroundl_ctx): New.
46242 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
46244         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
46246         * manual/ipc.texi: New file.
46247         * manual/Makefile (chapters): Add ipc.
46248         * manual/job.texi: Add "Inter-Process Communication" to next.
46249         * manual/process.texi: Add "Inter-Process Communication" to prev.
46251 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46255 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
46257         * malloc/malloc.c (__libc_calloc): Simplify implementation.
46259         * manual/arith.texi: Fix spaces after sentences.
46260         * manual/charset.texi: Likewise.
46261         * manual/errno.texi: Likewise.
46262         * manual/install.texi: Likewise.
46263         * manual/llio.texi: Likewise.
46264         * manual/locale.texi: Likewise.
46265         * manual/maint.texi: Likewise.
46266         * manual/math.texi: Likewise.
46267         * manual/memory.texi: Likewise.
46268         * manual/message.texi: Likewise.
46269         * manual/probes.texi: Likewise.
46270         * manual/resource.texi: Likewise.
46271         * manual/signal.texi: Likewise.
46272         * manual/socket.texi: Likewise.
46273         * manual/stdio.texi: Likewise.
46274         * manual/string.texi: Likewise.
46275         * manual/time.texi: Likewise.
46276         * manual/users.texi: Likewise.
46278 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
46280         [BZ #16632]
46281         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
46282         _DEFAULT_SOURCE is defined.
46284 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
46285             Carlos O'Donell  <carlos@redhat.com>
46287         [BZ #16613]
46288         * elf/dl-tls.c (_dl_count_modids): New function.
46289         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
46290         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
46291         audit library and increment generation counter.
46292         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
46293         * elf/tst-audit9.c: New file.
46294         * elf/tst-auditmod9a.c: New file.
46295         * elf/tst-auditmod9b.c: New file.
46296         * elf/Makefile: Add rules to build and run tst-audit9.
46298 2014-02-25  Florian Weimer  <fweimer@redhat.com>
46300         [BZ #15347]
46301         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
46303 2014-02-25  Will Newton  <will.newton@linaro.org>
46305         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
46306         (__longjmp): Restore sp and lr before restoring callee
46307         saved registers.  Add longjmp and longjmp_target
46308         SystemTap probe point.
46309         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46310         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46311         Define to zero to match jmpbuf layout.
46312         * sysdeps/arm/setjmp.S: Include stap-probe.h.
46313         (__sigsetjmp): Save sp and lr before saving callee
46314         saved registers.  Add setjmp SystemTap probe point.
46316 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
46318         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46320 2014-02-24  Andreas Schwab  <schwab@suse.de>
46322         [BZ #15804]
46323         * elf/pldd.c (wait_for_ptrace_stop): New function.
46324         (main): Call it after attaching.
46326 2014-02-22  Roland McGrath  <roland@hack.frob.com>
46328         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46329         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46330         Versions files is now verboten.
46331         * hurd/Versions (libc: GLIBC_2.0):
46332         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46333         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46334         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46335         * mach/Versions: Likewise.
46337         * csu/Versions: Remove unused %include.
46338         * resolv/Versions: Likewise.
46340 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
46342         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46343         ($(objpfx)check-local-headers.out): Likewise.
46344         ($(objpfx)begin-end-check.out): Likewise.
46345         * Makerules (check-abi-%.out): Likewise.
46346         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46347         ($(objpfx)test2.cat): Likewise.
46348         ($(objpfx)de/libc.cat): Likewise.
46349         ($(objpfx)test-gencat.out): Likewise.
46350         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46351         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46352         ($(objpfx)noload-mem): Likewise.
46353         ($(objpfx)tst-pathopt.out): Likewise.
46354         ($(objpfx)tst-rtld-load-self.out): Likewise.
46355         ($(objpfx)tst-array1-cmp.out): Likewise.
46356         ($(objpfx)tst-array1-static-cmp.out): Likewise.
46357         ($(objpfx)tst-array2-cmp.out): Likewise.
46358         ($(objpfx)tst-array3-cmp.out): Likewise.
46359         ($(objpfx)tst-array4-cmp.out): Likewise.
46360         ($(objpfx)tst-array5-cmp.out): Likewise.
46361         ($(objpfx)tst-array5-static-cmp.out): Likewise.
46362         ($(objpfx)check-textrel.out): Likewise.
46363         ($(objpfx)check-execstack.out): Likewise.
46364         ($(objpfx)check-localplt.out): Likewise.
46365         ($(objpfx)order2-cmp.out): Likewise.
46366         ($(objpfx)tst-leaks1-mem): Likewise.
46367         ($(objpfx)tst-leaks1-static-mem): Likewise.
46368         ($(objpfx)tst-initorder-cmp.out): Likewise.
46369         ($(objpfx)tst-initorder2-cmp.out): Likewise.
46370         ($(objpfx)tst-unused-dep.out): Likewise.
46371         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46372         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46373         * iconv/Makefile (test-iconvconfig): Likewise.
46374         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46375         ($(objpfx)iconv-test.out): Likewise.
46376         ($(objpfx)tst-tables.out): Likewise.
46377         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46378         ($(objpfx)tst-gettext.out): Likewise.
46379         ($(objpfx)tst-translit.out): Likewise.
46380         ($(objpfx)tst-gettext2.out): Likewise.
46381         ($(objpfx)tst-gettext4.out): Likewise.
46382         ($(objpfx)tst-gettext6.out): Likewise.
46383         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46384         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46385         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46386         ($(objpfx)tst-fopenloc-mem.out): Likewise.
46387         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46388         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46389         * posix/Makefile ($(objpfx)globtest.out): Likewise.
46390         ($(objpfx)wordexp-tst.out): Likewise.
46391         ($(objpfx)annexc.out): Likewise.
46392         ($(objpfx)tst-fnmatch-mem): Likewise.
46393         ($(objpfx)bug-regex2-mem): Likewise.
46394         ($(objpfx)bug-regex14-mem): Likewise.
46395         ($(objpfx)bug-regex21-mem): Likewise.
46396         ($(objpfx)bug-regex31-mem): Likewise.
46397         ($(objpfx)tst-vfork3-mem): Likewise.
46398         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46399         ($(objpfx)tst-pcre-mem): Likewise.
46400         ($(objpfx)tst-boost-mem): Likewise.
46401         ($(objpfx)tst-getconf.out): Likewise.
46402         ($(objpfx)bug-ga2-mem): Likewise.
46403         ($(objpfx)bug-glob2-mem): Likewise.
46404         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46405         ($(objpfx)mtrace-tst-leaks2): Likewise.
46406         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46407         ($(objpfx)tst-printf.out): Likewise.
46408         ($(objpfx)tst-setvbuf1.out): Likewise.
46409         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46410         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46411         ($(objpfx)tst-fmtmsg.out): Likewise.
46412         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46413         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46415         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46416         * bits/sigaction.h [__USE_MISC]: Likewise.
46417         * bits/waitstatus.h: Update #endif comments.
46418         * ctype/ctype.h: Likewise.
46419         * dirent/dirent.h: Likewise.
46420         [__USE_MISC]: Remove redundant conditionals.
46421         * grp/grp.h: Update #endif comments.
46422         [__USE_GNU]: Remove redundant conditionals.
46423         [__USE_MISC]: Likewise.
46424         * inet/netinet/in.h [__USE_GNU]: Likewise.
46425         * io/sys/stat.h [__USE_MISC]: Likewise.
46426         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46427         * libio/bits/stdio.h: Update #endif comments.
46428         [__USE_MISC]: Remove redundant conditionals.
46429         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46430         * libio/stdio.h: Update #endif comments.
46431         [__USE_MISC]: Remove redundant conditionals.
46432         * math/bits/math-finite.h [__USE_MISC]: Likewise.
46433         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46434         * math/math.h: Update #else and #endif comments.
46435         [__USE_MISC]: Remove redundant conditionals.
46436         * misc/sys/uio.h: Update #endif comments.
46437         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46438         * posix/glob.h [__USE_MISC]: Likewise.
46439         * posix/sys/types.h: Update #endif comments.
46440         [__USE_MISC]: Remove redundant conditionals.
46441         * posix/sys/wait.h: Update #endif comments.
46442         [__USE_MISC]: Remove redundant conditionals.
46443         * posix/unistd.h: Update #endif comments.
46444         [__USE_MISC]: Remove redundant conditionals.
46445         * pwd/pwd.h [__USE_GNU]: Likewise.
46446         [__USE_MISC]: Likewise.
46447         * resolv/netdb.h [__USE_GNU]: Likewise.
46448         * signal/signal.h: Update #endif comments.
46449         [__USE_MISC]: Remove redundant conditionals.
46450         * stdlib/stdlib.h: Update #else and #endif comments.
46451         [__USE_MISC]: Remove redundant conditionals.
46452         [__USE_GNU]: Likewise.
46453         * string/bits/string2.h [__USE_MISC]: Likewise.
46454         * string/string.h: Update #endif comments.
46455         [__USE_MISC]: Remove redundant conditionals.
46456         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46457         Likewise.
46458         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46459         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46460         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46461         Likewise.
46462         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46463         Likewise.
46464         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46465         comments.
46466         [__USE_MISC]: Remove redundant conditionals.
46467         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46468         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46469         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46470         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46471         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46472         Likewise.
46473         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46474         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46475         Likewise.
46476         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46477         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46478         Likewise.
46479         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46480         Likewise.
46481         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46482         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46483         Likewise.
46484         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46485         Likewise.
46486         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46487         * sysdeps/x86/bits/string.h: Update #endif comments.
46488         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46489         conditionals.
46490         * time/sys/time.h: Update #endif comments.
46491         * time/time.h: Likewise.
46492         [__USE_MISC]: Remove redundant conditionals.
46494 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
46496         [BZ #16600]
46497         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46499 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
46501         * Versions.def (librt): Add GLIBC_2.17.
46503 2014-02-21  Adam Conrad  <adconrad@0c3.net>
46505         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46506         synonym for _SYS_AUXV_H to allow direct inclusion.
46507         * sysdeps/sparc/bits/hwcap.h: Likewise.
46508         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46509         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46510         * sysdeps/sparc/sysdep.h: Likewise.
46512 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46514         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46516 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46518         * benchtests/bench-strrchr.c: Print length instead of position.
46520 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
46522         [BZ #16611]
46523         * sysdeps/unix/sysv/linux/kernel-features.h
46524         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46525         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46526         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46527         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46528         Likewise.
46529         [__i386__ || __powerpc__ || __sh__ || __sparc__]
46530         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46531         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46532         (__ASSUME_SENDMMSG): Define instead of using previous
46533         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46534         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46535         (__ASSUME_SENDMMSG_SYSCALL): Define.
46536         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46537         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46538         Likewise.
46539         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46540         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46541         Likewise.
46542         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46543         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46544         Likewise.
46545         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46546         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46547         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46548         [__ASSUME_SENDMMSG]: Change conditionals to
46549         [__ASSUME_SENDMMSG_SOCKETCALL].
46550         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46551         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46552         Define.
46553         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46554         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46555         Likewise.
46556         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46557         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46558         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46559         [!__ASSUME_SENDMMSG]: Change conditional to
46560         [!__ASSUME_SENDMMSG_SOCKETCALL].
46561         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46562         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46563         Define.
46565         [BZ #16610]
46566         * sysdeps/unix/sysv/linux/kernel-features.h
46567         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46568         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46569         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46570         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46571         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46572         [__i386__ || __sparc__]
46573         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46574         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46575         (__ASSUME_RECVMMSG): Define instead of using previous
46576         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46577         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46578         (__ASSUME_RECVMMSG_SYSCALL): Define.
46579         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46580         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46581         Likewise.
46582         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46583         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46584         Likewise.
46585         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46586         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46587         Likewise.
46588         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46589         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46590         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46591         [__ASSUME_RECVMMSG]: Change condition to
46592         [__ASSUME_RECVMMSG_SOCKETCALL].
46593         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46594         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46595         Define.
46596         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46598         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46599         Likewise.
46600         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46601         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46602         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46603         [!__ASSUME_RECVMMSG]: Change condition to
46604         [!__ASSUME_RECVMMSG_SOCKETCALL].
46605         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46606         (__ASSUME_RECVMMSG_SYSCALL): Define.
46608         [BZ #16609]
46609         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46610         __powerpc__ || __s390__ || __sh__ || __sparc__]
46611         (__ASSUME_SOCKETCALL): Define.
46612         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46613         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46614         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46615         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46616         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46617         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46618         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46619         (__ASSUME_ACCEPT4): Define instead of using previous
46620         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46621         __powerpc__ || __sparc__ || __s390__)] condition.
46622         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46623         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46624         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46625         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46626         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46627         [!__ASSUME_ACCEPT4]: Change condition to
46628         [!__ASSUME_ACCEPT4_SOCKETCALL].
46629         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46630         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
46631         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46632         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46633         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46634         __ASSUME_ACCEPT4_SYSCALL.
46635         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46636         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46637         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46638         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46639         __ASSUME_ACCEPT4_SYSCALL.
46640         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46641         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46642         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46643         [__ASSUME_ACCEPT4]: Change condition to
46644         [__ASSUME_ACCEPT4_SOCKETCALL].
46645         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46646         (__ASSUME_SOCKETCALL): Define.
46647         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46648         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46649         (__ASSUME_SOCKETCALL): Define.
46650         (__ASSUME_ACCEPT4): Remove.
46651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46652         Define.
46653         * sysdeps/unix/sysv/linux/mips/kernel-features.h
46654         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46655         Likewise.
46656         * sysdeps/unix/sysv/linux/tile/kernel-features.h
46657         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46659         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46660         macro.
46661         (HWCAP_ARM_LPAE): Likewise.
46662         (HWCAP_ARM_EVTSTRM): Likewise.
46663         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46664         Add vpfd32, lpae and evtstrm.
46665         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46666         Increase to 22.
46668 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
46670         * math/auto-libm-test-in: Add tests of clog10.
46671         * math/auto-libm-test-out: Regenerated.
46672         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46673         * sysdeps/i386/fpu/libm-test-ulps: Update.
46674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46676 2014-02-18  Andreas Schwab  <schwab@suse.de>
46678         [BZ #16574]
46679         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46680         Store non-zero if the second buffer was newly allocated.
46681         (send_dg): Likewise.
46682         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46683         to send_vc and send_dg.
46684         (res_nsend): Pass NULL for ansp2_malloced.
46685         * resolv/res_query.c (__libc_res_nquery): Add parameter
46686         answerp2_malloced and pass it down to __libc_res_nsend.
46687         (res_nquery): Pass additional NULL to __libc_res_nquery.
46688         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46689         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
46690         second answer buffer if answerp2_malloced was set.
46691         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46692         (__libc_res_nquerydomain): Add parameter
46693         answerp2_malloced and pass it down to __libc_res_nquery.
46694         (res_nquerydomain): Pass additional NULL to
46695         __libc_res_nquerydomain.
46696         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46697         additional NULL to __libc_res_nsend and __libc_res_nquery.
46698         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46699         additional NULL to __libc_res_nsearch.
46700         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
46701         parameter of __libc_res_nsearch to check for separately allocated
46702         second buffer.
46703         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46704         __libc_res_nquery.
46705         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46706         additional NULL to __libc_res_nquery.
46707         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46708         __libc_res_nsearch.
46709         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46710         * include/resolv.h: Update prototypes of __libc_res_nquery,
46711         __libc_res_nsearch, __libc_res_nsend.
46713 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
46715         * math/auto-libm-test-in: Add tests of fma.
46716         * math/auto-libm-test-out: Regenerated.
46717         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46718         (fma_towardzero_test_data): Likewise.
46719         (fma_downward_test_data): Likewise.
46720         (fma_upward_test_data): Likewise.
46721         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46722         mpc_mode.
46723         (rounding_modes): Add values for new field.
46724         (func_calc_method): Add value mpfr_fff_f.
46725         (func_calc_desc): Add mpfr_fff_f union field.
46726         (test_function): Add field exact_args.
46727         (FUNC): Add macro argument EXACT_ARGS.
46728         (FUNC_mpfr_f_f): Update call to FUNC.
46729         (FUNC_mpfr_f_f): Likewise.
46730         (FUNC_mpfr_ff_f): Likewise.
46731         (FUNC_mpfr_if_f): Likewise.
46732         (FUNC_mpc_c_f): Likewise.
46733         (FUNC_mpc_c_c): Likewise.
46734         (test_functions): Add fma.  Update calls to FUNC.
46735         (handle_input_arg): Add argument exact_args.
46736         (add_test): Update call to handle_input_arg.
46737         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
46738         (output_for_one_input_case): Update call to calc_generic_results.
46739         Recalculate exact zero results in each rounding mode.
46741         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46742         non-negative before setting low bit.
46743         * math/auto-libm-test-in: Mark one asin test possibly having
46744         spurious underflow.
46745         * math/auto-libm-test-out: Regenerated.
46746         * sysdeps/i386/fpu/libm-test-ulps: Update.
46747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46749 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
46751         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46752         * sysdeps/unix/sysv/linux/microblaze: Move directory from
46753         ports/sysdeps/unix/sysv/linux/microblaze.
46754         * README: Add missing listing for microblaze*-*-linux-gnu.
46756 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
46758         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46759         duplicate code
46761 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
46763         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46764         * sysdeps/unix/sysv/linux/ia64: Move directory from
46765         ports/sysdeps/unix/sysv/linux/ia64.
46766         * README: Update listing for ia64-*-linux-gnu.
46768 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
46769             Joseph Myers  <joseph@codesourcery.com>
46771         * Makeconfig (test-name): New variable.
46772         (evaluate-test): Likewise.
46773         * Makerules (do-test-clean): Remove .test-result files.
46774         (common-mostlyclean): Likewise.
46775         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46776         * scripts/evaluate-test.sh: New file.
46778 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
46780         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46781         separate $(objpfx)tst-fopenloc-cmp.out and
46782         $(objpfx)tst-fopenloc-mem.out targets.
46783         (tests): Update dependencies.
46784         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46785         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46786         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46787         (tst-rxspencer-no-utf8-ARGS): New variable.
46788         (tst-rxspencer-no-utf8-ENV): Likewise.
46789         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46790         instead of $(objpfx)tst-rxspencer-mem.
46791         ($(objpfx)tst-rxspencer-mem): Change target to
46792         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
46793         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46794         * posix/tst-rxspencer-no-utf8.c: New file.
46796         * elf/Makefile ($(objpfx)order.out): Remove rule.
46797         [$(run-built-tests) = yes] (tests): Depend on
46798         $(objpfx)order-cmp.out.
46799         ($(objpfx)order-cmp.out): New rule.
46800         [$(run-built-tests) = yes] (tests): Depend on
46801         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46802         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46803         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46804         $(objpfx)tst-array5-static-cmp.out.
46805         ($(objpfx)tst-array1.out): Remove rule.
46806         ($(objpfx)tst-array1-cmp.out): New rule.
46807         ($(objpfx)tst-array1-static.out): Remove rule.
46808         ($(objpfx)tst-array1-static-cmp.out): New rule.
46809         ($(objpfx)tst-array2.out): Remove rule.
46810         ($(objpfx)tst-array2-cmp.out): New rule.
46811         ($(objpfx)tst-array3.out): Remove rule.
46812         ($(objpfx)tst-array3-cmp.out): New rule.
46813         ($(objpfx)tst-array4.out): Remove rule.
46814         ($(objpfx)tst-array4-cmp.out): New rule.
46815         ($(objpfx)tst-array5.out): Remove rule.
46816         ($(objpfx)tst-array5-cmp.out): New rule.
46817         ($(objpfx)tst-array5-static.out): Remove rule.
46818         ($(objpfx)tst-array5-static-cmp.out): New rule.
46819         [$(run-built-tests) = yes] (tests): Depend on
46820         $(objpfx)order2-cmp.out.
46821         ($(objpfx)order2.out): Remove rule.
46822         ($(objpfx)order2-cmp.out): New rule.
46823         ($(objpfx)tst-initorder.out): Remove rule.
46824         [$(run-built-tests) = yes] (tests): Depend on
46825         $(objpfx)tst-initorder-cmp.out.
46826         ($(objpfx)tst-initorder-cmp.out): New rule.
46827         ($(objpfx)tst-initorder2.out): Remove rule.
46828         [$(run-built-tests) = yes] (tests): Depend on
46829         $(objpfx)tst-initorder2-cmp.out.
46830         ($(objpfx)tst-initorder2-cmp.out): New rule.
46831         [$(run-built-tests) = yes] (tests): Depend on
46832         $(objpfx)tst-unused-dep-cmp.out.
46833         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46834         ($(objpfx)tst-unused-dep-cmp.out): New rule.
46835         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46836         on $(objpfx)tst-setvbuf1-cmp.out.
46837         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46838         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46839         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46840         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46841         ($(objpfx)tst-svc.out): Remove rule.
46842         ($(objpfx)tst-svc-cmp.out): New rule.
46844 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
46846         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46847         * ctype/ctype.h [__USE_MISC]: Likewise.
46848         * dirent/dirent.h [__USE_MISC]: Likewise.
46849         * grp/grp.h [__USE_MISC]: Likewise.
46850         * io/fcntl.h [__USE_MISC]: Likewise.
46851         * io/sys/stat.h [__USE_MISC]: Likewise.
46852         * libio/stdio.h [__USE_MISC]: Likewise.
46853         * posix/unistd.h [__USE_MISC]: Likewise.
46854         * pwd/pwd.h [__USE_MISC]: Likewise.
46855         * stdlib.h [__USE_MISC]: Likewise.
46856         * string/bits/string2.h [__USE_MISC]: Likewise.
46857         * string/string.h [__USE_MISC]: Likewise.
46858         * time/time.h [__USE_MISC]: Likewise.
46860 2014-02-13  Andreas Schwab  <schwab@suse.de>
46862         [BZ #16574]
46863         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46864         second answer buffer if it was separately allocated.
46866 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
46868         * sysdeps/mips/math-tests.h: Include <features.h>.
46869         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46870         (ROUNDING_TESTS_long_double): Do not define.
46871         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46872         (EXCEPTION_TESTS_long_double): Likewise.
46873         * sysdeps/mips/mips64/libm-test-ulps: Update.
46875         * include/features.h (__USE_BSD): Remove macro definitions.
46876         (__USE_SVID): Likewise.
46877         (_BSD_SOURCE): Likewise.
46878         (_SVID_SOURCE): Likewise.
46879         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46880         from definition of _DEFAULT_SOURCE.
46881         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46882         [_DEFAULT_SOURCE].
46883         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46884         * bits/mman.h [__USE_BSD]: Likewise.
46885         * bits/termios.h [__USE_BSD]: Likewise.
46886         * bits/waitstatus.h [__USE_BSD]: Likewise.
46887         * ctype/ctype.h [__USE_SVID]: Likewise.
46888         * dirent/dirent.h [__USE_BSD]: Likewise.
46889         * grp/grp.h [__USE_SVID]: Likewise.
46890         [__USE_BSD]: Likewise.
46891         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46892         * io/fcntl.h [__USE_BSD]: Likewise.
46893         * io/ftw.h [__USE_BSD]: Likewise.
46894         * io/sys/stat.h [__USE_BSD]: Likewise.
46895         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46896         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46897         * libio/stdio.h [__USE_SVID]: Likewise.
46898         [__USE_BSD]: Likewise.
46899         * math/math.h [__USE_SVID]: Likewise.
46900         [__USE_BSD]: Likewise.
46901         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46902         * misc/bits/syslog.h [__USE_BSD]: Likewise.
46903         * misc/search.h [__USE_SVID]: Likewise.
46904         * misc/sys/mman.h [__USE_BSD]: Likewise.
46905         * misc/sys/syslog.h [__USE_BSD]: Likewise.
46906         * misc/sys/uio.h [__USE_BSD]: Likewise.
46907         * posix/bits/unistd.h [__USE_BSD]: Likewise.
46908         * posix/glob.h [__USE_BSD]: Likewise.
46909         * posix/regex.h [__USE_BSD]: Likewise.
46910         * posix/sys/types.h [__USE_BSD]: Likewise.
46911         [__USE_SVID]: Likewise.
46912         * posix/sys/utsname.h [__USE_SVID]: Likewise.
46913         * posix/sys/wait.h [__USE_BSD]: Likewise.
46914         [__USE_SVID]: Likewise.
46915         * posix/unistd.h [__USE_BSD]: Likewise.
46916         [__USE_SVID]: Likewise.
46917         * pwd/pwd.h [__USE_SVID]: Likewise.
46918         * resolv/netdb.h [__USE_BSD]: Likewise.
46919         * setjmp/setjmp.h [__USE_BSD]: Likewise.
46920         * signal/signal.h [__USE_BSD]: Likewise.
46921         [__USE_SVID]: Likewise.
46922         * socket/sys/socket.h [__USE_BSD]: Likewise.
46923         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46924         * stdlib/stdlib.h [__USE_BSD]: Likewise.
46925         [__USE_SVID]: Likewise.
46926         * string/bits/string2.h [__USE_BSD]: Likewise.
46927         [__USE_SVID]: Likewise.
46928         * string/bits/string3.h [__USE_BSD]: Likewise.
46929         * string/endian.h [__USE_BSD]: Likewise.
46930         * string/string.h [__USE_SVID]: Likewise.
46931         [__USE_BSD]: Likewise.
46932         * string/strings.h [__USE_BSD]: Likewise.
46933         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46934         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46935         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46936         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46937         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46938         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46939         Likewise.
46940         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46941         Likewise.
46942         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46943         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46944         Likewise.
46945         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46946         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46947         Likewise.
46948         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46949         Likewise.
46950         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46951         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46952         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46953         Likewise.
46954         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46955         Likewise.
46956         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46957         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46958         * termios/termios.h [__USE_BSD]: Likewise.
46959         * time/sys/time.h [__USE_BSD]: Likewise.
46960         * time/time.h [__USE_BSD]: Likewise.
46961         [__USE_SVID]: Likewise.
46963         * Makefile (subdir_targets): Remove subdir_lint.out.
46965         * stdio-common/Makefile (do-tst-unbputc): Remove target.
46966         (do-tst-printf): Likewise.
46967         (tests): Depend directly on $(objpfx)tst-unbputc.out and
46968         $(objpfx)tst-printf.out.
46970         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46972         * Makerules (check-abi-%): Change target to
46973         $(objpfx)check-abi-%.out.
46974         (check-abi target): Update dependencies.
46975         (check-abi-pattern variable): Redirect output of diff to $@.
46976         (check-abi variable): Likewise.
46977         * elf/Makefile (check-abi): Update dependencies.
46979         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46980         unused.
46981         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46982         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46983         subnormal range.
46984         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46985         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46986         value has largest subnormal exponent.
46987         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46988         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46989         * sysdeps/aarch64/soft-fp/sfp-machine.h
46990         (_FP_TININESS_AFTER_ROUNDING): New macro.
46991         * sysdeps/alpha/soft-fp/sfp-machine.h
46992         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46993         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46994         Likewise.
46995         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46996         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46997         * sysdeps/mips/soft-fp/sfp-machine.h
46998         (_FP_TININESS_AFTER_ROUNDING): Likewise.
46999         * sysdeps/powerpc/soft-fp/sfp-machine.h
47000         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47001         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47002         Likewise.
47003         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
47004         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47005         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
47006         (_FP_TININESS_AFTER_ROUNDING): Likewise.
47007         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
47008         Likewise.
47010 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
47012         [BZ #16545]
47013         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
47014         model 1.
47016 2014-02-12  Richard Henderson  <rth@redhat.com>
47018         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
47019         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
47020         * sysdeps/unix/sysv/linux/alpha: Move directory from
47021         ports/sysdeps/unix/sysv/linux/alpha.
47022         * README: Update listing for alpha-*-linux-gnu.
47024 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
47026         * include/features.h: Update comment documenting feature test
47027         macros.
47028         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
47029         _DEFAULT_SOURCE.
47030         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
47031         (_SVID_SOURCE): Likewise.
47032         (_DEFAULT_SOURCE): Update description of default features.
47033         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
47034         with _GNU_SOURCE.
47035         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
47036         (S_ISVTX): Likewise.
47037         * manual/math.texi (Mathematical Constants): Likewise.
47038         * manual/signal.texi (Interrupted Primitives): Likewise.
47039         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
47040         * math/test-matherr.c (_SVID_SOURCE): Do not define.
47041         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
47042         Don't refer to _SVID_SOURCE in warning text.
47044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47046         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
47047         already defined.
47048         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
47049         * sysdeps/mips/dl-lookup.c: Remove.
47050         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
47052 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
47054         [BZ #16447]
47055         * math/auto-libm-test-in: Add testcase for expl.
47056         * math/auto-libm-test-out: Regenerate.
47057         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
47058         calculation of unsafe.
47059         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
47061 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
47063         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
47064         * sysdeps/unix/sysv/linux/aarch64: Move directory from
47065         ports/sysdeps/unix/sysv/linux/aarch64.
47066         * README: Update listing for aarch64*-*-linux-gnu.
47068 2014-02-11  Will Newton  <will.newton@linaro.org>
47070         * manual/probes.texi (Mathematical Function Probes): Use
47071         "triggered" instead of "hit".
47073         * manual/probes.texi (Internal Probes): Add documentation
47074         of setjmp, longjmp and longjmp_target probes.
47076         * include/stap-probe.h: Add comment about probe argument
47077         format.
47079         * malloc/mtrace.c (attribute_hidden): Remove unused macro
47080         definition.  (tr_where, tr_freehook, tr_mallochook,
47081         tr_reallochook, tr_memalignhook): Use ANSI protoype.
47083 2014-02-11  David S. Miller  <davem@davemloft.net>
47085         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47086         processing int_tests.
47088 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
47090         * sysdeps/mips: Move directory from ports/sysdeps/mips.
47091         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47092         * sysdeps/unix/sysv/linux/mips: Move directory from
47093         ports/sysdeps/unix/sysv/linux/mips.
47094         * README: Update listing for mips-*-linux-gnu and
47095         mips64-*-linux-gnu.
47097 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
47099         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47100         * sysdeps/unix/sysv/linux/m68k: Move directory from
47101         ports/sysdeps/unix/sysv/linux/m68k.
47102         * README: Update listing for m68k-*-linux-gnu.
47104 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
47106         * sysdeps/tile: Move directory from ports/sysdeps/tile.
47107         * sysdeps/unix/sysv/linux/generic: Move directory from
47108         ports/sysdeps/unix/sysv/linux/generic.
47109         * sysdeps/unix/sysv/linux/tile: Move directory from
47110         ports/sysdeps/unix/sysv/linux/tile.
47111         * README: Update listing for tile*-*-linux-gnu.
47113 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
47115         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47116         __builtin_expect.
47117         * benchtests/bench-memmem.c (simple_memmem): Likewise.
47118         * catgets/open_catalog.c (__open_catalog): Likewise.
47119         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47120         * debug/confstr_chk.c: Likewise.
47121         * debug/fread_chk.c (__fread_chk): Likewise.
47122         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47123         * debug/getgroups_chk.c: Likewise.
47124         * debug/mbsnrtowcs_chk.c: Likewise.
47125         * debug/mbsrtowcs_chk.c: Likewise.
47126         * debug/mbstowcs_chk.c: Likewise.
47127         * debug/memcpy_chk.c: Likewise.
47128         * debug/memmove_chk.c: Likewise.
47129         * debug/mempcpy_chk.c: Likewise.
47130         * debug/memset_chk.c: Likewise.
47131         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47132         * debug/strcat_chk.c (__strcat_chk): Likewise.
47133         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47134         * debug/strncat_chk.c (__strncat_chk): Likewise.
47135         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47136         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
47137         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
47138         * debug/wcpncpy_chk.c: Likewise.
47139         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47140         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
47141         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
47142         * debug/wcsncpy_chk.c: Likewise.
47143         * debug/wcsnrtombs_chk.c: Likewise.
47144         * debug/wcsrtombs_chk.c: Likewise.
47145         * debug/wcstombs_chk.c: Likewise.
47146         * debug/wmemcpy_chk.c: Likewise.
47147         * debug/wmemmove_chk.c: Likewise.
47148         * debug/wmempcpy_chk.c: Likewise.
47149         * debug/wmemset_chk.c: Likewise.
47150         * dirent/scandirat.c (SCANDIRAT): Likewise.
47151         * dlfcn/dladdr1.c (dladdr1): Likewise.
47152         * dlfcn/dladdr.c (dladdr): Likewise.
47153         * dlfcn/dlclose.c (dlclose_doit): Likewise.
47154         * dlfcn/dlerror.c (__dlerror): Likewise.
47155         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
47156         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
47157         * dlfcn/dlopen.c (dlopen_doit): Likewise.
47158         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
47159         * dlfcn/dlsym.c (dlsym_doit): Likewise.
47160         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
47161         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
47162         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
47163         Likewise.
47164         * elf/dl-conflict.c: Likewise.
47165         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
47166         * elf/dl-dst.h: Likewise.
47167         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
47168         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
47169         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
47170         * elf/dl-init.c (call_init, _dl_init): Likewise.
47171         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
47172         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
47173         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
47174         Likewise.
47175         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
47176         Likewise.
47177         * elf/dl-minimal.c (__libc_memalign): Likewise.
47178         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
47179         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47180         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
47181         * elf/dl-sym.c (do_sym): Likewise.
47182         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
47183         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
47184         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
47185         * elf/dl-writev.h (_dl_writev): Likewise.
47186         * elf/ldconfig.c (search_dir): Likewise.
47187         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
47188         (dl_main): Likewise.
47189         * elf/setup-vdso.h (setup_vdso): Likewise.
47190         * grp/compat-initgroups.c (compat_call): Likewise.
47191         * grp/fgetgrent.c (fgetgrent): Likewise.
47192         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
47193         * grp/putgrent.c (putgrent): Likewise.
47194         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47195         Likewise.
47196         * hurd/hurdinit.c: Likewise.
47197         * iconvdata/8bit-gap.c (struct): Likewise.
47198         * iconvdata/ansi_x3.110.c : Likewise.
47199         * iconvdata/big5.c : Likewise.
47200         * iconvdata/big5hkscs.c : Likewise.
47201         * iconvdata/cp1255.c: Likewise.
47202         * iconvdata/cp1258.c : Likewise.
47203         * iconvdata/cp932.c : Likewise.
47204         * iconvdata/euc-cn.c: Likewise.
47205         * iconvdata/euc-jisx0213.c : Likewise.
47206         * iconvdata/euc-jp.c: Likewise.
47207         * iconvdata/euc-jp-ms.c : Likewise.
47208         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
47209         * iconvdata/gb18030.c : Likewise.
47210         * iconvdata/gbbig5.c (const): Likewise.
47211         * iconvdata/gbgbk.c: Likewise.
47212         * iconvdata/gbk.c : Likewise.
47213         * iconvdata/ibm1364.c : Likewise.
47214         * iconvdata/ibm930.c : Likewise.
47215         * iconvdata/ibm932.c: Likewise.
47216         * iconvdata/ibm933.c : Likewise.
47217         * iconvdata/ibm935.c : Likewise.
47218         * iconvdata/ibm937.c : Likewise.
47219         * iconvdata/ibm939.c : Likewise.
47220         * iconvdata/ibm943.c: Likewise.
47221         * iconvdata/iso_11548-1.c: Likewise.
47222         * iconvdata/iso-2022-cn.c : Likewise.
47223         * iconvdata/iso-2022-cn-ext.c : Likewise.
47224         * iconvdata/iso-2022-jp-3.c: Likewise.
47225         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
47226         * iconvdata/iso-2022-kr.c : Likewise.
47227         * iconvdata/iso646.c (gconv_end): Likewise.
47228         * iconvdata/iso_6937-2.c : Likewise.
47229         * iconvdata/iso_6937.c : Likewise.
47230         * iconvdata/iso8859-1.c: Likewise.
47231         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
47232         * iconvdata/shift_jisx0213.c : Likewise.
47233         * iconvdata/sjis.c : Likewise.
47234         * iconvdata/t.61.c : Likewise.
47235         * iconvdata/tcvn5712-1.c : Likewise.
47236         * iconvdata/tscii.c: Likewise.
47237         * iconvdata/uhc.c : Likewise.
47238         * iconvdata/unicode.c (gconv_end): Likewise.
47239         * iconvdata/utf-16.c (gconv_end): Likewise.
47240         * iconvdata/utf-32.c (gconv_end): Likewise.
47241         * iconvdata/utf-7.c (base64): Likewise.
47242         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
47243         * iconv/gconv_close.c (__gconv_close): Likewise.
47244         * iconv/gconv_open.c (__gconv_open): Likewise.
47245         * iconv/gconv_simple.c (internal_ucs4_loop_single)
47246         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
47247         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
47248         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
47249         (ucs4le_internal_loop_single): Likewise.
47250         * iconv/iconv.c (iconv): Likewise.
47251         * iconv/iconv_close.c: Likewise.
47252         * iconv/loop.c (SINGLE): Likewise.
47253         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
47254         * include/atomic.h: Likewise.
47255         * inet/inet6_option.c (option_alloc): Likewise.
47256         * intl/bindtextdom.c (set_binding_values): Likewise.
47257         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
47258         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
47259         * intl/localealias.c (read_alias_file): Likewise.
47260         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
47261         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
47262         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
47263         * libio/fmemopen.c (fmemopen): Likewise.
47264         * libio/iofgets.c (_IO_fgets): Likewise.
47265         * libio/iofgets_u.c (fgets_unlocked): Likewise.
47266         * libio/iofgetws.c (fgetws): Likewise.
47267         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
47268         * libio/iogetdelim.c (_IO_getdelim): Likewise.
47269         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
47270         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
47271         * locale/findlocale.c (_nl_find_locale): Likewise.
47272         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
47273         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
47274         Likewise.
47275         * locale/setlocale.c (setlocale): Likewise.
47276         * login/programs/pt_chown.c (main): Likewise.
47277         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
47278         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
47279         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
47280         (mmap, mmap64, mremap, munmap): Likewise.
47281         * math/e_exp2l.c: Likewise.
47282         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
47283         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
47284         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
47285         * math/s_catan.c (__catan): Likewise.
47286         * math/s_catanf.c (__catanf): Likewise.
47287         * math/s_catanh.c (__catanh): Likewise.
47288         * math/s_catanhf.c (__catanhf): Likewise.
47289         * math/s_catanhl.c (__catanhl): Likewise.
47290         * math/s_catanl.c (__catanl): Likewise.
47291         * math/s_ccosh.c (__ccosh): Likewise.
47292         * math/s_ccoshf.c (__ccoshf): Likewise.
47293         * math/s_ccoshl.c (__ccoshl): Likewise.
47294         * math/s_cexp.c (__cexp): Likewise.
47295         * math/s_cexpf.c (__cexpf): Likewise.
47296         * math/s_cexpl.c (__cexpl): Likewise.
47297         * math/s_clog10.c (__clog10): Likewise.
47298         * math/s_clog10f.c (__clog10f): Likewise.
47299         * math/s_clog10l.c (__clog10l): Likewise.
47300         * math/s_clog.c (__clog): Likewise.
47301         * math/s_clogf.c (__clogf): Likewise.
47302         * math/s_clogl.c (__clogl): Likewise.
47303         * math/s_csin.c (__csin): Likewise.
47304         * math/s_csinf.c (__csinf): Likewise.
47305         * math/s_csinh.c (__csinh): Likewise.
47306         * math/s_csinhf.c (__csinhf): Likewise.
47307         * math/s_csinhl.c (__csinhl): Likewise.
47308         * math/s_csinl.c (__csinl): Likewise.
47309         * math/s_csqrt.c (__csqrt): Likewise.
47310         * math/s_csqrtf.c (__csqrtf): Likewise.
47311         * math/s_csqrtl.c (__csqrtl): Likewise.
47312         * math/s_ctan.c (__ctan): Likewise.
47313         * math/s_ctanf.c (__ctanf): Likewise.
47314         * math/s_ctanh.c (__ctanh): Likewise.
47315         * math/s_ctanhf.c (__ctanhf): Likewise.
47316         * math/s_ctanhl.c (__ctanhl): Likewise.
47317         * math/s_ctanl.c (__ctanl): Likewise.
47318         * math/w_pow.c: Likewise.
47319         * math/w_powf.c: Likewise.
47320         * math/w_powl.c: Likewise.
47321         * math/w_scalb.c (sysv_scalb): Likewise.
47322         * math/w_scalbf.c (sysv_scalbf): Likewise.
47323         * math/w_scalbl.c (sysv_scalbl): Likewise.
47324         * misc/error.c (error_tail): Likewise.
47325         * misc/pselect.c (__pselect): Likewise.
47326         * nis/nis_callback.c (__nis_create_callback): Likewise.
47327         * nis/nis_call.c (__nisfind_server): Likewise.
47328         * nis/nis_creategroup.c (nis_creategroup): Likewise.
47329         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47330         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47331         * nis/nis_getservlist.c (nis_getservlist): Likewise.
47332         * nis/nis_lookup.c (nis_lookup): Likewise.
47333         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47334         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47335         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47336         * nis/nis_xdr.c (xdr_endpoint): Likewise.
47337         * nis/nss_compat/compat-grp.c (getgrent_next_file)
47338         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47339         * nis/nss_compat/compat-initgroups.c (add_group)
47340         (internal_getgrent_r): Likewise.
47341         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47342         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47343         * nis/nss_compat/compat-spwd.c (getspent_next_file)
47344         (internal_getspnam_r): Likewise.
47345         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47346         (_nss_nis_getaliasbyname_r): Likewise.
47347         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47348         (_nss_nis_getntohost_r): Likewise.
47349         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47350         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47351         (_nss_nis_getgrgid_r): Likewise.
47352         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47353         (internal_nis_gethostent_r, internal_gethostbyname2_r)
47354         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47355         (_nss_nis_gethostbyname4_r): Likewise.
47356         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47357         (initgroups_netid): Likewise.
47358         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47359         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47360         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47361         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47362         (_nss_nis_getprotobynumber_r): Likewise.
47363         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47364         (_nss_nis_getsecretkey): Likewise.
47365         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47366         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47367         (_nss_nis_getpwuid_r): Likewise.
47368         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47369         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47370         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47371         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47372         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47373         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47374         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47375         Likewise.
47376         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47377         (_nss_nisplus_getntohost_r): Likewise.
47378         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47379         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47380         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47381         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47382         Likewise.
47383         * nis/nss_nisplus/nisplus-initgroups.c
47384         (_nss_nisplus_initgroups_dyn): Likewise.
47385         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47386         (_nss_nisplus_getnetbyaddr_r): Likewise.
47387         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47388         (_nss_nisplus_getprotobynumber_r): Likewise.
47389         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47390         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47391         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47392         Likewise.
47393         * nis/nss_nisplus/nisplus-service.c
47394         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47395         (_nss_nisplus_getservbyport_r): Likewise.
47396         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47397         (_nss_nisplus_getspnam_r): Likewise.
47398         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47399         Likewise.
47400         * nscd/aicache.c (addhstaiX): Likewise.
47401         * nscd/cache.c (cache_search, prune_cache): Likewise.
47402         * nscd/connections.c (register_traced_file, send_ro_fd)
47403         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47404         (main_loop_epoll): Likewise.
47405         * nscd/grpcache.c (addgrbyX): Likewise.
47406         * nscd/hstcache.c (addhstbyX): Likewise.
47407         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47408         * nscd/mem.c (gc, mempool_alloc): Likewise.
47409         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47410         (addinnetgrX): Likewise.
47411         * nscd/nscd-client.h (__nscd_acquire_maplock)
47412         (__nscd_drop_map_ref): Likewise.
47413         * nscd/nscd_getai.c (__nscd_getai): Likewise.
47414         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47415         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47416         Likewise.
47417         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47418         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47419         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47420         (__nscd_get_map_ref): Likewise.
47421         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47422         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47423         Likewise.
47424         * nscd/pwdcache.c (addpwbyX): Likewise.
47425         * nscd/selinux.c (preserve_capabilities): Likewise.
47426         * nscd/servicescache.c (addservbyX): Likewise.
47427         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47428         * posix/fnmatch.c (fnmatch): Likewise.
47429         * posix/getopt.c (_getopt_internal_r): Likewise.
47430         * posix/glob.c (glob, glob_in_dir): Likewise.
47431         * posix/wordexp.c (exec_comm_child): Likewise.
47432         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47433         (getanswer_r, gaih_getanswer_slice): Likewise.
47434         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47435         * resolv/res_init.c: Likewise.
47436         * resolv/res_mkquery.c (res_nmkquery): Likewise.
47437         * resolv/res_query.c (__libc_res_nquery): Likewise.
47438         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47439         Likewise.
47440         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47441         * stdio-common/perror.c (perror): Likewise.
47442         * stdio-common/printf_fp.c (___printf_fp): Likewise.
47443         * stdio-common/tmpnam.c (tmpnam): Likewise.
47444         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47445         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47446         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47447         Likewise.
47448         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47449         * stdlib/putenv.c (putenv): Likewise.
47450         * stdlib/setenv.c (__add_to_environ): Likewise.
47451         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47452         * stdlib/strtol_l.c (INTERNAL): Likewise.
47453         * string/memmem.c (memmem): Likewise.
47454         * string/strerror.c (strerror): Likewise.
47455         * string/strnlen.c (__strnlen): Likewise.
47456         * string/test-memmem.c (simple_memmem): Likewise.
47457         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47458         * sunrpc/pm_getport.c (__get_socket): Likewise.
47459         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47460         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47461         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47462         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47463         Likewise.
47464         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47465         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47466         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47467         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47468         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47469         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47470         Likewise.
47471         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47472         Likewise.
47473         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47474         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47475         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47476         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47477         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47478         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47479         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47480         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47481         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47482         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47483         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47484         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47485         Likewise.
47486         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47487         Likewise.
47488         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47489         Likewise.
47490         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47491         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47493         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47494         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47495         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47496         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47497         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47498         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47499         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47500         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47501         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47502         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47503         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47504         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47505         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47506         Likewise.
47507         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47508         Likewise.
47509         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47510         Likewise.
47511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47512         Likewise.
47513         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47514         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47515         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47516         Likewise.
47517         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47518         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47519         * sysdeps/posix/opendir.c (__opendirat): Likewise.
47520         * sysdeps/posix/sleep.c: Likewise.
47521         * sysdeps/posix/tempname.c: Likewise.
47522         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47523         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47524         Likewise.
47525         * sysdeps/powerpc/powerpc32/dl-machine.h
47526         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47527         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47529         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47530         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47531         Likewise.
47532         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47533         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47534         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47535         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47536         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47537         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47538         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47539         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47540         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47541         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47542         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47543         (elf_machine_lazy_rel): Likewise.
47544         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47545         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47546         (elf_machine_lazy_rel): Likewise.
47547         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47548         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47549         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47550         * sysdeps/unix/grantpt.c (grantpt): Likewise.
47551         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47552         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47553         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47554         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47555         Likewise.
47556         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47557         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47558         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47559         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47561         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47562         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47563         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47564         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47565         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47566         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47567         Likewise.
47568         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47569         (__posix_fallocate64_l64): Likewise.
47570         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47571         (posix_fallocate): Likewise.
47572         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47573         Likewise.
47574         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47575         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47576         (getifaddrs_internal): Likewise.
47577         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47578         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47579         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47580         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47581         * sysdeps/unix/sysv/linux/posix_fallocate64.c
47582         (__posix_fallocate64_l64): Likewise.
47583         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47584         Likewise.
47585         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47586         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47587         (__get_clockfreq): Likewise.
47588         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47589         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47590         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47593         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47594         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47595         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47596         Likewise.
47597         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47598         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47599         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47600         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47601         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47602         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47603         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47604         Likewise.
47605         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47606         (posix_fallocate): Likewise.
47607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47608         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47609         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47610         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47611         (elf_machine_rela, elf_machine_rela_relative)
47612         (elf_machine_lazy_rel): Likewise.
47613         * time/asctime.c (asctime_internal): Likewise.
47614         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47615         * time/tzset.c (__tzset_parse_tz): Likewise.
47616         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47617         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47618         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47619         * wcsmbs/wcsmbsload.h: Likewise.
47621         [BZ #15894]
47622         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47624         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47625         (arena_get2): Remove THREAD_STATS conditionals.
47626         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47627         (__malloc_stats, int): Likewise.
47629 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
47631         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47632         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
47634         * manual/setjmp.texi: Fix typos/grammar errors.
47636         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47637         Only return early when n is <= 0.  Delete unused return statement.
47639         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47640         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47641         * debug/tst-longjmp_chk3.c: New file.
47643         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47644         (test_main): Replace code with set_fortify_handler call.
47645         * debug/test-strcpy_chk.c: Likewise.
47646         * debug/tst-chk1.c: Likewise.
47647         * debug/tst-longjmp_chk.c: Likewise.
47648         * test-skeleton.c: Include fcntl.h & paths.h
47649         (set_fortify_handler): Define.
47651         * debug/tst-longjmp_chk.c: Add header comment and include
47652         ../test-skeleton.c.
47653         (do_test): Mark static.
47654         (TEST_FUNCTION): Define.
47656         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47657         (IP_PMTUDISC_INTERFACE): Likewise.
47658         (IP_MULTICAST_IF): Likewise.
47659         (IP_MULTICAST_TTL): Likewise.
47660         (IP_MULTICAST_LOOP): Likewise.
47661         (IP_ADD_MEMBERSHIP): Likewise.
47662         (IP_DROP_MEMBERSHIP): Likewise.
47663         (IP_UNBLOCK_SOURCE): Likewise.
47664         (IP_BLOCK_SOURCE): Likewise.
47665         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47666         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47667         (IP_MSFILTER): Likewise.
47668         (MCAST_JOIN_GROUP): Likewise.
47669         (MCAST_BLOCK_SOURCE): Likewise.
47670         (MCAST_UNBLOCK_SOURCE): Likewise.
47671         (MCAST_LEAVE_GROUP): Likewise.
47672         (MCAST_JOIN_SOURCE_GROUP): Likewise.
47673         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47674         (MCAST_MSFILTER): Likewise.
47675         (IP_MULTICAST_ALL): Likewise.
47676         (IP_UNICAST_IF): Likewise.
47678         * timezone/Makefile: Delete $(have-ksh) check.
47679         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47680         * timezone/tzselect.ksh: Add +x mode bits.
47682         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47683         (ANON_INODE_FS_MAGIC): Likewise.
47684         (BDEVFS_MAGIC): Likewise.
47685         (BINFMTFS_MAGIC): Likewise.
47686         (BTRFS_TEST_MAGIC): Likewise.
47687         (CRAMFS_MAGIC_WEND): Likewise.
47688         (DEBUGFS_MAGIC): Likewise.
47689         (ECRYPTFS_SUPER_MAGIC): Likewise.
47690         (EXT3_SUPER_MAGIC): Likewise.
47691         (EXT4_SUPER_MAGIC): Likewise.
47692         (FUTEXFS_SUPER_MAGIC): Likewise.
47693         (HOSTFS_SUPER_MAGIC): Likewise.
47694         (HUGETLBFS_MAGIC): Likewise.
47695         (MINIX3_SUPER_MAGIC): Likewise.
47696         (MTD_INODE_FS_MAGIC): Likewise.
47697         (NILFS_SUPER_MAGIC): Likewise.
47698         (OPENPROM_SUPER_MAGIC): Likewise.
47699         (PIPEFS_MAGIC): Likewise.
47700         (PSTOREFS_MAGIC): Likewise.
47701         (QNX6_SUPER_MAGIC): Likewise.
47702         (RAMFS_MAGIC): Likewise.
47703         (REISERFS_SUPER_MAGIC_STRING): Likewise.
47704         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47705         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47706         (SECURITYFS_MAGIC): Likewise.
47707         (SELINUX_MAGIC): Likewise.
47708         (SMACK_MAGIC): Likewise.
47709         (SOCKFS_MAGIC): Likewise.
47710         (SQUASHFS_MAGIC): Likewise.
47711         (STACK_END_MAGIC): Likewise.
47712         (TMPFS_MAGIC): Likewise.
47713         (USBDEVICE_SUPER_MAGIC): Likewise.
47714         (V9FS_MAGIC): Likewise.
47715         (XENFS_SUPER_MAGIC): Likewise.
47716         (CRAMFS_MAGIC): Fix typo in comment.
47717         (EXT2_SUPER_MAGIC): Update comment.
47718         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47720 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
47722         * sysdeps/arm: Move directory from ports/sysdeps/arm.
47723         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47724         * sysdeps/unix/sysv/linux/arm: Move directory from
47725         ports/sysdeps/unix/sysv/linux/arm.
47726         * README: Update listing for arm-*-linux-gnueabi.
47728         * README: Remove mention of am33.
47730 2014-02-07  Roland McGrath  <roland@hack.frob.com>
47732         * bits/sigset.h (__sigemptyset): Use a statement expression rather
47733         than the comma operator, to avoid "rhs of comma has no effect"
47734         compiler warnings.
47735         (__sigfillset, __sigandset, __sigorset): Likewise.
47736         * include/signal.h (__sigemptyset): Likewise.
47737         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47739 2014-02-07  Allan McRae  <allan@archlinux.org>
47741         * version.h (RELEASE): Set to "development".
47742         (VERSION): Set to "2.19.90"
47743         * NEWS: Add 2.20 section.
47745 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
47747         [BZ #16529]
47748         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47750 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
47752         * manual/contrib.texi: Update entry for Carlos O'Donell,
47753         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47755 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
47757         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47759         * sysdeps/unix/sysv/linux/kernel-features.h
47760         [__LINUX_KERNEL_VERSION >= 0x020621]
47761         (__ASSUME_PROC_PID_TASK_COMM): Define.
47763 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
47765         [BZ #16398]
47766         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47767         conversion when destination buffer does not have enough space.
47768         * libio/tst-ftell-partial-wide.c: New test case.
47769         * libio/Makefile (tests): Add tst-ftell-partial-wide.
47771         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47772         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
47773         Leonard and Allan McRae.
47775 2014-02-04  David S. Miller  <davem@davemloft.net>
47777         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47778         32-bit.
47780 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47783         New file
47784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47785         New file
47786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47787         New file.
47788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47789         New file.
47790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47791         New file.
47792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47793         New file.
47794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47795         New file.
47796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47797         New file.
47798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47799         New file.
47800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47801         New file.
47802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47803         New file.
47804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47805         New file.
47806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47807         New file.
47809 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47811         * nptl/shlib-versions: Change powerpc*le start to 2.17.
47812         * shlib-versions: Likewise.
47814 2014-02-04  Roland McGrath  <roland@hack.frob.com>
47815             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47817         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47818         (abilist-pattern): New variable, set to %-le.abilist.
47820         * Makerules (abilist-pattern): New variable.
47821         (vpath): Use $(abilist-pattern) in place of %.abilist.
47822         (check-abi-% pattern rule): Likewise.
47823         (check-abi, update-abi): Likewise.
47825 2014-02-04  Eric Wong  <normalperson@yhbt.net>
47827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47829 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
47831         * manual/startup.texi: Add next, previous, and top entries for
47832         the `Program Arguments' and `Environment Variables' nodes.
47834 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
47836         * manual/macros.texi: Add comments before MTASC-safety macros.
47838         * manual/users.texi: Document MTASC-safety properties.
47840         * manual/threads.texi (pthread_key_create, pthread_key_delete)
47841         (pthread_getspecific, pthread_setspecific): Format with
47842         @deftypefun, and add @safety note.
47843         * manual/signal.texi: Move comments that analyze the above
47844         functions to their home place.
47846 2014-02-03  Allan McRae  <allan@archlinux.org>
47848         * po/sl.po: Update Slovenian translation from translation project.
47850 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
47852         * manual/time.texi (timegm): Add missing blank after @c.
47853         Reported by Joseph Myers <joseph@codesourcery.com>.
47855 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
47857         * manual/check-safety.sh: New.
47858         * manual/Makefile ($(objpfx)stamp-summary): Run it.
47860         * manual/terminal.texi: Document MTASC-safety properties.
47862         * manual/filesys.texi: Document MTASC-safety properties.
47864         * manual/errno.texi: Document MTASC-safety properties.
47866         * manual/intro.texi: Document safety identifiers and
47867         conditionals.
47869         * manual/string.texi (wcstok): Fix prototype.
47870         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47872         * manual/time.texi: Document MTASC-safety properties.
47874         * manual/string.texi: Document MTASC-safety properties.
47876         * manual/threads.texi: Document MTASC-safety properties.
47878         * manual/stdio.texi: Document MTASC-safety properties.
47880         * manual/syslog.texi: Document MTASC-safety properties.
47882         * manual/sysinfo.texi: Document MTASC-safety properties.
47884         * manual/startup.texi: Document MTASC-safety properties.
47886         * manual/socket.texi: Document MTASC-safety properties.
47888         * manual/signal.texi: Document MTASC-safety properties.
47890 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
47892         * manual/setjmp.texi: Document MTASC-safety properties.
47894         * manual/search.texi: Document MTASC-safety properties.
47896         * manual/resource.texi: Document MTASC-safety properties.
47898         * manual/process.texi: Document MTASC-safety properties.
47900         * manual/platform.texi: Document MTASC-safety properties.
47902         * manual/pipe.texi: Document MTASC-safety properties.
47904         * manual/pattern.texi: Document MTASC-safety properties.
47906         * manual/message.texi: Document MTASC-safety properties.
47908         [BZ #12751]
47909         * manual/memory.texi: Document MTASC-safety properties.
47911         * manual/math.texi: Document MTASC-safety properties.
47913         * manual/locale.texi: Document MTASC-safety properties.
47915         * manual/llio.texi: Document MTASC-safety properties.
47917         * manual/libdl.texi: New.
47919         * manual/lang.texi: Document MTASC-safety properties.
47921         * manual/job.texi: Document MTASC-safety properties.
47923         * manual/getopt.texi: Document MTASC-safety properties.
47925         * manual/ctype.texi: Document MTASC-safety properties.
47927 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
47929         [BZ #16046]
47930         * csu/libc-tls.c (static_map): Remove variable.
47931         (__libc_setup_tls): Use main executable's link map for TLS data.
47932         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47933         casing for LM_ID_BASE and GL(dl_nns).
47934         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47935         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
47936         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47937         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47938         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47939         member.
47940         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47941         l_phnum members.
47943 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
47945         * manual/debug.texi: Document MTASC-safety properties.
47947 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
47949         [BZ #16510]
47950         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47951         of __x86_64__ when disabling x87 inline functions.
47953 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
47955         * manual/charset.texi: Document MTASC-safety properties.
47957         * manual/crypt.texi: Document MTASC-safety properties.
47959         * manual/conf.texi: Document MTASC-safety properties.
47961         * manual/arith.texi: Document MTASC-safety properties.
47963         * manual/argp.texi: Document MTASC-safety properties.
47965         * manual/macros.texi: Introduce macros to document multi
47966         thread, asynchronous signal and asynchronous cancellation
47967         safety properties.
47968         * manual/intro.texi: Introduce the properties themselves.
47970 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47972         * sysdeps/sh/sh4/Makefile: New file.
47974 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
47976         * math/gen-libm-test.pl ($srcdir): New variable.
47977         ($auto_input): Use it.
47979 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
47981         [BZ #16506]
47982         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47983         access beyond array bounds when parsing netgroups file.
47985         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47986         the old buffer before realloc.
47988 2014-01-27  Allan McRae  <allan@archlinux.org>
47990         * po/fr.po: Update French translation from translation project.
47992 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47994         * sysdeps/sh/libm-test-ulps: Regenerate.
47996 2014-01-24  David S. Miller  <davem@davemloft.net>
47998         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
48000 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48002         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
48003         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
48005 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48007         [BZ #16474]
48008         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
48009         string pointers after reallocation.
48011 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48013         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
48014         __SH4A__ instead of __SH_FPU_ANY__.
48016 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48018         * sysdeps/sh/fpu_control.h: New file.
48019         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
48020         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
48021         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
48022         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
48023         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
48024         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
48025         * sysdeps/sh/sys/ucontext.h: Remove.
48026         * sysdeps/sh/sys: Remove directory.
48028 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48030         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
48031         s390/sys/ucontext.h.
48032         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
48033         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
48035 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
48037         [BZ #15605]
48038         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
48040 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48042         [BZ#16431]
48043         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
48044         Adjust the vDSO correctly for internal calls.
48045         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
48047 2014-01-20  Allan McRae  <allan@archlinux.org>
48049         * po/ca.po: Update Catalan translation from translation project.
48051 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
48053         * sysdeps/s390/sotruss-lib.c: New file.
48055 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48057         [BZ#16430]
48058         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
48059         (__GI___gettimeofday): Alias for a different internal symbol to avoid
48060         local calls issues by not having a PLT stub required for IFUNC calls.
48061         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
48063 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
48065         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
48066         * math/test-fpucw-static.c: Likewise.
48068 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
48070         [BZ #16453]
48071         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
48073 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48075         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
48076         implementation for powerpc.
48078 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
48080         [BZ #14782]
48081         * sysdeps/posix/system.c (__libc_system): Do not enable
48082         asynchronous cancellation.
48084 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48086         [BZ #16427]
48087         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48088         handling only for numbers special also in the IEEE case.
48090 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48092         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48094 2014-01-11  Allan McRae  <allan@archlinux.org>
48096         * po/bg.po: Update Bulgarian translation from translation project.
48098         * po/de.po: Update German translation from translation project.
48100 2014-01-10  Roland McGrath  <roland@hack.frob.com>
48102         * sysdeps/generic/gcc-compat.h: New file.
48104 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48106         * benchtests/asin-inputs: Correct slow inputs.
48107         * benchtests/acos-inputs: Likewise.
48109 2014-01-10  Allan McRae  <allan@archlinux.org>
48111         * po:sv.po: Update Swedish translation from translation project.
48113         * po/vi.po: Update Vietnamese translation from translation project.
48115         * po/eo.po: Update Esperanto translation from translation project.
48117         * po/cs.po: Update Czech translation from translation project.
48119         * po/nl.po: Update Dutch translation from translation project.
48121         * po/pl.po: Update Polish translation from translation project.
48123         * po/ru.po: Update Russian translation from translation project.
48125         * po/uk.po: Update Ukrainian translation from translation project.
48127 2014-01-08  Brooks Moses  <bmoses@google.com>
48129         * elf/dl-load.c: Fix comment typo.
48131 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
48133         * po/header.pot: Rename to...
48134         * po/pot.header: ... this.
48135         * po/Makefile: Use pot.header.
48137 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
48138             Maxim Kuvyrkov  <maxim@kugelworks.com>
48140         [BZ #16394]
48141         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
48142         SRC and DEST against LEN.
48144 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48146         [BZ #16414]
48147         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
48148         implementation.
48149         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
48151 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48153         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48155 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
48157         [BZ #16408]
48158         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
48159         for large positive arguments.
48161 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
48163         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48165         * math/auto-libm-test-in: Mark various tests with
48166         xfail-rounding:ldbl-128ibm.
48167         * math/auto-libm-test-out: Regenerated.
48169         [BZ #16407]
48170         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48171         Increase overflow threshold.
48173 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
48175         [BZ #14286]
48176         * stdio-common/vfprintf.c: Check for integer overflow.
48178 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48180         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
48181         the first argument and return value of __tls_get_addr_internal.
48183 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48185         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
48186         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
48188 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48190         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
48191         * sysdeps/s390/rtld-global-offsets.sym: New file.
48192         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
48193         GLIBC_2.19 symbol.
48194         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
48195         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
48196         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
48197         ... this.
48198         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
48199         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
48200         ... this.
48201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48202         Regenerate.
48203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48204         Regenerate.
48205         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
48206         halfs of GPRs for high_gprs contexts.
48207         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
48208         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
48209         field.
48210         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
48211         uc_flags field.
48212         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
48213         64 bit versions:
48214         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
48215         for high GPRs (uc_high_gprs) and for future extensions
48216         (__reserved).
48217         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
48218         for future extensions (__reserved).
48219         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
48220         64 bit versions:
48221         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
48222         SC_HIGHGPRS offset definition.
48223         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
48224         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
48226         * Versions.def: Add GLIBC_2.19 for libpthread.
48227         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
48228         siglongjmp for libpthread with GLIBC_2.19 symver.
48229         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
48230         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
48231         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
48232         * sysdeps/s390/__longjmp.c: New file.
48233         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
48234         * sysdeps/s390/longjmp.c: New file.
48235         * sysdeps/s390/setjmp.S: New file.
48236         * sysdeps/s390/sigjmp.S: New file.
48237         * sysdeps/s390/v1-longjmp.c: New file.
48238         * sysdeps/s390/v1-setjmp.h: New file.
48239         * sysdeps/s390/v1-sigjmp.c: New file.
48240         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
48241         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
48242         GLIBC_2.19 version.
48243         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
48244         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
48245         versioned symbols for ____longjmp_chk.
48246         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
48247         Likewise.
48248         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48249         Regenerate.
48250         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48251         Regenerate.
48252         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48253         Regenerate.
48254         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48255         Regenerate.
48256         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
48257         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
48258         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
48259         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
48260         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
48261         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
48262         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
48263         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
48264         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
48265         * sysdeps/s390/rtld-__longjmp.c: New file.
48266         * sysdeps/s390/rtld-setjmp.S: New file.
48268 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
48270         [BZ #16400]
48271         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48272         Return -__logl (x) for small positive arguments without evaluating
48273         a polynomial.
48275 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
48277         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
48278         Rename to ...
48279         (__ptrace_peeksiginfo_args): ... this.
48280         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48281         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48282         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48284 2014-01-06  Allan McRae  <allan@archlinux.org>
48286         * inet/netinet/in.h: Fix typo in comment.
48288 2014-01-05  Andreas Jaeger  <aj@suse.de>
48290         * sysdeps/i386/fpu/libm-test-ulps: Update.
48292 2014-01-05  Allan McRae  <allan@archlinux.org>
48294         * po/libc.pot: Regenerated.
48296         * malloc/memusagestat.c: Fix gettext call formatting.
48298 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
48300         * nscd/nscd.c: Improve usage() output.
48302 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
48304         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
48305         * sysdeps/unix/sysv/linux/configure: Regenerated.
48306         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
48307         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48309 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48311         [BZ #16390]
48312         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48313         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48315 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48317         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48318         extra tokens at end of #undef directive.
48319         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48320         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48321         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48323 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
48325         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48327         * math/auto-libm-test-in: Mark various tests with
48328         xfail-rounding:ldbl-128ibm.
48329         * math/auto-libm-test-out: Regenerated.
48331 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
48333         [BZ #16386]
48334         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48335         numbers with subnormal high part when calculating exponent.
48337         [BZ #16385]
48338         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48339         fabs.
48341         [BZ #16384]
48342         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48343         M_LN2l.
48344         (__ieee754_acoshl): Use __log1pl not __log1p.
48346 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
48348         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48349         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48350         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48351         (grow_heap, heap_trim, _int_new_arena, get_free_list)
48352         (reused_arena, arena_get2): Convert to GNU style.
48353         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48354         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48355         (memalign_check, __malloc_set_state): Likewise.
48356         * malloc/mallocbug.c (main): Likewise.
48357         * malloc/malloc.c (__malloc_assert, malloc_init_state)
48358         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48359         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48360         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48361         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48362         (__posix_memalign, malloc_info): Likewise.
48363         * malloc/malloc.h: Likewise.
48364         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48365         (mallochook, memalignhook, reallochook, mabort): Likewise.
48366         * malloc/mcheck.h: Likewise.
48367         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48368         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48369         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48370         * malloc/morecore.c (__default_morecore): Likewise.
48371         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48372         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48373         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48374         (print_and_abort): Likewise.
48375         * malloc/obstack.h: Likewise.
48376         * malloc/set-freeres.c (__libc_freeres): Likewise.
48377         * malloc/tst-mallocstate.c (main): Likewise.
48378         * malloc/tst-mtrace.c (main): Likewise.
48379         * malloc/tst-realloc.c (do_test): Likewise.
48381 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48383         [BZ #16366]
48384         * nscd/netgroupcache.c (do_notfound): New function.
48385         (addgetnetgrentX): Use it.
48387         [BZ # 16365]
48388         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48389         NSS_STATUS_NOTFOUND.
48391 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
48393         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48396 2014-01-01  Allan McRae  <allan@archlinux.org>
48398         * scripts/update-copyrights: Update configure input file suffix.
48400         * NEWS: Update copyright year.
48401         * catgets/gencat.c: Likewise.
48402         * csu/version.c: Likewise.
48403         * debug/catchsegv.sh: Likewise.
48404         * debug/pcprofiledump.c: Likewise.
48405         * debug/xtrace.sh: Likewise.
48406         * elf/ldconfig.c: Likewise.
48407         * elf/ldd.bash.in: Likewise.
48408         * elf/pldd.c: Likewise.
48409         * elf/sotruss.ksh: Likewise.
48410         * elf/sprof.c: Likewise.
48411         * iconv/iconv_prog.c: Likewise.
48412         * iconv/iconvconfig.c: Likewise.
48413         * locale/programs/locale.c: Likewise.
48414         * locale/programs/localedef.c: Likewise.
48415         * login/programs/pt_chown.c: Likewise.
48416         * malloc/memusage.sh: Likewise.
48417         * malloc/memusagestat.c: Likewise.
48418         * malloc/mtrace.pl: Likewise.
48419         * manual/libc.texinfo: Likewise.
48420         * nscd/nscd.c: Likewise.
48421         * nss/getent.c: Likewise.
48422         * nss/makedb.c: Likewise.
48423         * posix/getconf.c: Likewise.
48424         * scripts/test-installation.pl: Likewise.
48426         * All files with FSF copyright notices: Update copyright dates
48427         using scripts/update-copyrights.
48428         * intl/plural.c: Regenerated.
48429         * locale/programs/charmap-kw.h: Likewise.
48430         * locale/programs/locfile-kw.h: Likewise.
48432 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
48434         * sysdeps/unix/sysv/linux/configure: Regenerated.
48435         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48436         the linux/fanotify.h header.
48437         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48438         HAVE_LINUX_FANOTIFY_H is defined.
48440 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
48442         * benchtests/cos-inputs: New inputs.
48443         * benchtests/sin-inputs: Likewise.
48445         * benchtests/atan-inputs: New inputs. Fix name of multiple
48446         precision fallback inputs.
48448         * benchtests/atanh-inputs: New inputs.
48449         * benchtests/tanh-inputs: Likewise.
48451         * benchtests/acosh-inputs: New inputs.
48452         * benchtests/asinh-inputs: Likewise.
48454         * benchtests/cosh-inputs: New inputs.
48455         * benchtests/sinh-inputs: Likewise.
48457         * benchtests/acos-inputs: Add more inputs.
48458         * benchtests/asin-inputs: Likewise.
48460 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
48462         [BZ #16375]
48463         * manual/arith.texi: Fix spelling.
48464         * manual/charset.texi: Likewise.
48465         * manual/errno.texi: Likewise.
48466         * manual/filesys.texi: Likewise.
48467         * manual/lang.texi: Likewise.
48468         * manual/llio.texi: Likewise.
48469         * manual/locale.texi: Likewise.
48470         * manual/message.texi: Likewise.
48471         * manual/resource.texi: Likewise.
48472         * manual/search.texi: Likewise.
48473         * manual/setjmp.texi: Likewise.
48474         * manual/stdio.texi: Likewise.
48475         * manual/string.texi: Likewise.
48476         * manual/sysinfo.texi: Likewise.
48477         * manual/time.texi: Likewise.
48479 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
48481         * po/sl.po: New file.
48483 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
48485         * .gitignore: Add core/.gdbinit/.gdb_history.
48487 2013-12-27  Allan McRae  <allan@archlinux.org>
48489         [BZ #16369]
48490         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48491         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48493 2013-12-24  Brooks Moses  <bmoses@google.com>
48495         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48496         all compilers that claim C++98 compliance, not just GCC.
48497         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48498         Likewise.
48500 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48502         * NEWS: Restore accidentally deleted bug-fix entries.
48504 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
48505             Ondřej Bílka  <neleai@seznam.cz>
48507         [BZ #15073]
48508         * malloc/malloc.c (_int_free): Perform sanity check only if we
48509         have_lock.
48511 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
48513         [BZ #12986]
48514         * manual/stdio.texi (String Input Conversions): Clarify that character
48515         classes are not supported.
48517 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48521 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
48523         [BZ #16337]
48524         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48525         Calculate results for small negative arguments directly rather
48526         than using reflection formula with special underflow handling.
48528         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48529         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48530         sysdeps/unix/bsd/bsd4.4/syscalls.list.
48531         (fchflags): Likewise.
48532         (revoke): Likewise.
48533         (setlogin): Likewise.
48534         (sigaltstack): Likewise.
48535         (wait4): Likewise.
48536         (sigblock): Remove.
48537         (sigsetmask): Likewise.
48538         (wait3): Likewise.
48539         (waitpid): Likewise.
48540         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48541         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48542         file.
48543         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48544         * sysdeps/unix/bsd/Makefile: ... here.
48545         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48546         * sysdeps/unix/bsd/Versions: ... here.
48547         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48548         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48549         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48550         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48551         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48552         * sysdeps/unix/bsd/sigblock.c: ... here.
48553         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48554         * sysdeps/unix/bsd/sigsetmask.c: ... here.
48555         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48556         * sysdeps/unix/bsd/sigvec.c: ... here.
48557         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48558         * sysdeps/unix/bsd/tcdrain.c: ... here.
48559         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48560         * sysdeps/unix/bsd/tcgetattr.c: ... here.
48561         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48562         * sysdeps/unix/bsd/tcsetattr.c: ... here.
48563         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48564         * sysdeps/unix/bsd/wait.c: ... here.
48565         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48566         * sysdeps/unix/bsd/wait3.c: ... here.
48567         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48568         * sysdeps/unix/bsd/waitpid.c: ... here.
48570 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
48572         [BZ #16356]
48573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48574         round-to-nearest for [!USE_AS_EXPM1L].
48575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48576         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
48577         more tests of exp and exp10.  Expect some exp10 tests to miss
48578         exceptions or fail in directed rounding modes.
48579         * math/auto-libm-test-out: Regenerated.
48580         * math/libm-test.inc (exp10_tonearest_test_data): New array.
48581         (exp10_test_tonearest): New function.
48582         (exp10_towardzero_test_data): New array.
48583         (exp10_test_towardzero): New function.
48584         (exp10_downward_test_data): New array.
48585         (exp10_test_downward): New function.
48586         (exp10_upward_test_data): New array.
48587         (exp10_test_upward): New function.
48588         (main): Call the new functions.
48589         * sysdeps/i386/fpu/libm-test-ulps: Update.
48590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48592 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
48594         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48595         asinh, atan, atan2, atanh, cbrt, cos and cosh.
48596         * math/auto-libm-test-out: Regenerated.
48597         * math/libm-test.inc (acosh_test_data): Add more tests.
48598         (atanh_test_data): Likewise.
48599         (ceil_test_data): Likewise.
48600         (copysign_test_data): Likewise.
48601         * sysdeps/i386/fpu/libm-test-ulps: Update.
48602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48604         * timezone/checktab.awk: Update from tzcode 2013i.
48605         * timezone/private.h: Likewise.
48606         * timezone/scheck.c: Likewise.
48607         * timezone/tzfile.h: Likewise.
48608         * timezone/tzselect.ksh: Likewise.
48609         * timezone/zdump.c: Likewise.
48610         * timezone/zic.c: Likewise.
48612         * math/auto-libm-test-in: Add tests of cpow.
48613         * math/auto-libm-test-out: Regenerated.
48614         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48615         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48616         mpc_cc_c.
48617         (func_calc_desc): Add mpc_cc_c union field.
48618         (test_functions): Add cpow.
48619         (special_fill_2pi): New function.
48620         (special_real_inputs): Add 2pi.
48621         (calc_generic_results): Handle mpc_cc_c.
48622         * sysdeps/i386/fpu/libm-test-ulps: Update.
48623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48625         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48626         csqrt, ctan and ctanh.
48627         * math/auto-libm-test-out: Regenerated.
48628         * math/libm-test.inc (TEST_COND_x86_64): New macro.
48629         (TEST_COND_x86): Likewise.
48630         (ccos_test_data): Use AUTO_TESTS_c_c.
48631         (ccosh_test_data): Likewise.
48632         (cexp_test_data): Likewise.
48633         (clog_test_data): Likewise.
48634         (csqrt_test_data): Likewise.
48635         (ctan_test_data): Likewise.
48636         (ctan_tonearest_test_data): Likewise.
48637         (ctan_towardzero_test_data): Likewise.
48638         (ctan_downward_test_data): Likewise.
48639         (ctan_upward_test_data): Likewise.
48640         (ctanh_test_data): Likewise.
48641         (ctanh_tonearest_test_data): Likewise.
48642         (ctanh_towardzero_test_data): Likewise.
48643         (ctanh_downward_test_data): Likewise.
48644         (ctanh_upward_test_data): Likewise.
48645         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48646         mpc_c_c.
48647         (func_calc_desc): Add mpc_c_c union field.
48648         (FUNC_mpc_c_c): New macro.
48649         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48650         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48651         ctanh.
48652         (special_fill_min_subnorm_p120): New function.
48653         (special_real_inputs): Add min_subnorm_p120.
48654         (calc_generic_results): Handle mpc_c_c.
48655         * sysdeps/i386/fpu/libm-test-ulps: Update.
48656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48658 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
48660         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48661         (do_sin_slow): New functions.
48662         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48663         (cslow2, csloww1, csloww2): Use the new functions.
48665         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48666         Use M to change sign of result instead of X.  Assume X is
48667         positive.
48668         (csloww1): Likewise.
48669         (__sin): Adjust.
48670         (__cos): Adjust.
48672         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48673         arguments A and DA.
48674         (__sin): Adjust.
48675         (__cos): Likewise.
48677         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48678         (__cos): Likewise.
48679         (sloww1): Don't adjust sign of DX.
48680         (csloww1): Likewise.
48681         (sloww2): Use X directly and don't adjust sign of DX.
48682         (csloww2): Likewise.
48684 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48686         * math/auto-libm-test-in: Add tests of cabs and carg.
48687         * math/auto-libm-test-out: Regenerated.
48688         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48689         (carg_test_data): Likewise.
48690         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48691         mpc_c_f.
48692         (func_calc_desc): Add mpc_c_f union field.
48693         (test_functions): Add cabs and carg.
48694         (calc_generic_results): Handle mpc_c_f.
48696         * sysdeps/powerpc/powerpc32/libgcc-compat.S
48697         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48698         as a macro and a compat symbol.
48699         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48700         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48701         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48702         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48703         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48704         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48705         not use .hidden.
48706         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48707         Likewise.
48708         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48709         Likewise.
48710         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48711         Likewise.
48712         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48713         Likewise.
48714         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48715         Likewise.
48716         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48717         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48718         from GLIBC_2.3.2.
48720 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48724 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48726         * manual/texinfo.tex: Update to version 2013-11-26.10 with
48727         trailing whitespace removed.
48728         * scripts/config.guess: Update to version 2013-11-29.
48729         * scripts/config.sub: Update to version 2013-10-01.
48731         * math/auto-libm-test-in: Add tests of sincos.
48732         * math/auto-libm-test-out: Regenerated.
48733         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48734         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48735         mpfr_f_11.
48736         (func_calc_desc): Add mpfr_f_11 union field.
48737         (test_functions): Add sincos.
48738         (calc_generic_results): Handle mpfr_f_11.
48739         * sysdeps/i386/fpu/libm-test-ulps: Update.
48740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48742 2013-12-19  Andreas Schwab  <schwab@suse.de>
48744         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48745         CALL_MCOUNT.
48746         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48747         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48748         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48750 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
48752         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48753         * sysdeps/i386/fpu/libm-test-ulps: Update.
48754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48756         [BZ #16293]
48757         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48758         round-to-nearest mode when using frndint.
48759         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48760         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48761         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48762         Likewise.
48763         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
48764         sinh test to fail.
48765         * math/auto-libm-test-out: Regenerated.
48766         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48767         (TEST_COND_x86): Likewise.
48768         (expm1_tonearest_test_data): New array.
48769         (expm1_test_tonearest): New function.
48770         (expm1_towardzero_test_data): New array.
48771         (expm1_test_towardzero): New function.
48772         (expm1_downward_test_data): New array.
48773         (expm1_test_downward): New function.
48774         (expm1_upward_test_data): New array.
48775         (expm1_test_upward): New function.
48776         (main): Run the new test functions.
48777         * sysdeps/i386/fpu/libm-test-ulps: Update.
48778         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48780         * include/features.h: Update comment documenting feature test
48781         macros.  Mention _DEFAULT_SOURCE in comment.
48782         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48783         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48784         _BSD_SOURCE and _SVID_SOURCE.
48785         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48786         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48787         !_SVID_SOURCE]: Likewise.
48788         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48789         (__USE_POSIX_IMPLICITLY): Define.
48790         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48791         (_POSIX_SOURCE): Undefine and redefine.
48792         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48793         (_POSIX_C_SOURCE): Likewise.
48794         * manual/creature.texi (_DEFAULT_SOURCE): Document.
48795         (Feature Test Macros): Update documentation of default features.
48797 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
48799         * benchtests/Makefile: Add bench-strtok.
48800         * benchtests/bench-strtok.c: New file: strtok benchtest.
48802 2013-12-19  Allan McRae  <allan@archlinux.org>
48804         * manual/install.texi: Suppress menu for plain text output.
48805         * INSTALL: Regenerated.
48807 2013-12-18  Brooks Moses  <bmoses@google.com>
48809         [BZ #15846]
48810         * misc/getauxval.c: Include errno.h.
48811         (__getauxval): Set errno to ENOENT if the requested type is not
48812         found.
48813         * misc/sys/auxv.h (getauxval): Document that it may set errno;
48814         don't declare with __attribute_const__.
48815         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48816         * manual/startup.texi: Document that getauxval sets errno.
48818 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48820         * math/auto-libm-test-in: Add tests of jn and yn.
48821         * math/auto-libm-test-out: Regenerated.
48822         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48823         (yn_test_data): Likewise.
48824         * math/gen-auto-libm-tests.c (func_calc_method): Add value
48825         mpfr_if_f.
48826         (func_calc_desc): Add mpfr_if_f union field.
48827         (FUNC_mpfr_if_f): New macro.
48828         (test_functions): Add jn and yn.
48829         (calc_generic_results): Assert type of second input for
48830         mpfr_ff_f.  Handle mpfr_if_f.
48831         (output_for_one_input_case): Disable all checking for arguments
48832         fitting floating-point types in case of an integer argument.
48833         * sysdeps/i386/fpu/libm-test-ulps: Update.
48834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48837         Don't expect fegetround reference in libm.so.
48839 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
48841         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48842         $(config-cflags-nofma).
48844 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
48846         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48847         * math/auto-libm-test-out: Regenerated.
48849         [BZ #16338]
48850         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48851         to determine exponent and adjust argument to have exponent of -1.
48852         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48853         log2.
48854         * math/auto-libm-test-out: Regenerated.
48855         * sysdeps/i386/fpu/libm-test-ulps: Update.
48856         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48858 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
48860         * manual/probes.texi: Remove cases when per-thread arenas are
48861         disabled.
48863 2013-12-18  Andreas Schwab  <schwab@suse.de>
48865         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48866         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48867         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48868         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48869         * sysdeps/i386/i686/multiarch/Makefile: Update.
48870         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48872 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48874         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48875         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48877 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
48879         [BZ #15968]
48880         Support TZ transition times < 00:00:00.
48881         This is needed for version-3 tz-format files; it supports time
48882         stamps past 2037 for America/Godthab (the only entry in the tz
48883         database for which this change is relevant).
48884         * manual/time.texi (TZ Variable): Document transition times
48885         from -167:59:59 through -00:00:01.
48886         * time/tzset.c (tz_rule): Time of day is now signed.
48887         (__tzset_parse_tz): Parse negative time of day.
48889         Document TZ transition times >= 25:00:00.
48890         * manual/time.texi (TZ Variable): Document transition times from
48891         25:00:00 through 167:59:59.  These are already supported, and this
48892         support will help with version-3 tz-format files.
48894         * manual/time.texi (TZ Variable): Modernize North America example
48895         to reflect current (i.e., 2007-and-later) daylight saving rules.
48897         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48899 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48901         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48902         * sysdeps/unix/bsd/bits/stat.h: Likewise.
48903         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48904         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48905         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48906         * sysdeps/unix/bsd/bsdstat.h: Likewise.
48907         * sysdeps/unix/bsd/clock.c: Likewise.
48908         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48909         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48910         * sysdeps/unix/bsd/init-posix.c: Likewise.
48911         * sysdeps/unix/bsd/poll.c: Likewise.
48912         * sysdeps/unix/bsd/ptsname.c: Likewise.
48913         * sysdeps/unix/bsd/seekdir.c: Likewise.
48914         * sysdeps/unix/bsd/setegid.c: Likewise.
48915         * sysdeps/unix/bsd/seteuid.c: Likewise.
48916         * sysdeps/unix/bsd/setgid.c: Likewise.
48917         * sysdeps/unix/bsd/setrgid.c: Likewise.
48918         * sysdeps/unix/bsd/setruid.c: Likewise.
48919         * sysdeps/unix/bsd/setsid.c: Likewise.
48920         * sysdeps/unix/bsd/setuid.c: Likewise.
48921         * sysdeps/unix/bsd/sigaction.c: Likewise.
48922         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48923         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48924         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48925         * sysdeps/unix/bsd/telldir.c: Likewise.
48926         * sysdeps/unix/bsd/times.c: Likewise.
48927         * sysdeps/unix/bsd/usleep.c: Likewise.
48929         * misc/Makefile (install-lib): Remove libbsd-compat.a.
48930         ($(objpfx)libbsd-compat.a): Remove rule.
48932         * include/features.h (__FAVOR_BSD): Do not define.
48933         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48934         features conflicting with POSIX.
48935         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48936         (_BSD_SOURCE): Remove description of not being a subset of other
48937         feature test macros.
48938         * manual/job.texi (getpgrp): Do not document BSD version.
48939         (getpgid): Do not document by reference to BSD getpgrp.
48940         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48941         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48942         * signal/signal.h [__FAVOR_BSD]: Likewise.
48943         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48944         instead of making contents conditional on [__FAVOR_BSD].
48945         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48947 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48949         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48951 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
48953         [BZ #16314]
48954         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48955         values below 2**-450, not 2**-500.
48956         * math/auto-libm-test-in: Don't allow spurious underflow from
48957         hypot.
48958         * math/auto-libm-test-out: Regenerated.
48960         [BZ #16316]
48961         [BZ #16330]
48962         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48963         values of ha and hb and sort them after adjusting subnormal
48964         arguments.
48965         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48966         Likewise.
48967         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48968         values of ea and eb and sort them after adjusting subnormal
48969         arguments.
48970         * math/auto-libm-test-in: Do not expect some hypot tests of
48971         subnormals to fail.  Add more hypot tests.
48972         * math/auto-libm-test-out: Regenerated.
48974 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48976         [BZ #13304]
48977         * sysdeps/sh/s_fma.c: New file.
48978         * sysdeps/sh/s_fmaf.c: New file.
48979         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
48980         version.
48981         * sysdeps/sh/Implies: Add sh/soft-fp.
48983 2013-12-16  Roland McGrath  <roland@hack.frob.com>
48985         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
48986         level of indirection to members `objname', `errstring', `malloced'.
48987         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48988         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
48989         it as the __longjmp argument (just pass 1 instead).
48990         (_dl_catch_error): Initialize C with argument pointers and address of
48991         volatile local ERRCODE rather than copying values out of C at return.
48993 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
48995         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48996         * math/auto-libm-test-out: Regenerated.
48997         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48998         (hypot_test_data): Likewise.
48999         (pow_test_data): Likewise.
49000         (pow_tonearest_test_data): Likewise.
49001         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49002         mpfr_ff_f.
49003         (func_calc_desc): Add mpfr_ff_f union field.
49004         (FUNC_mpfr_ff_f): New macro.
49005         (test_functions): Add atan2, hypot and pow.
49006         (special_fill_min): New function.
49007         (special_fill_minus_min): Likewise.
49008         (special_fill_min_subnorm): Likewise.
49009         (special_fill_minus_min_subnorm): Likewise.
49010         (special_real_inputs): Add min, -min, min_subnorm and
49011         -min_subnorm.
49012         (calc_generic_results): Handle mpfr_ff_f.
49013         * sysdeps/i386/fpu/libm-test-ulps: Update.
49014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49016 2013-12-16  Will Newton  <will.newton@linaro.org>
49018         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
49019         (Aligned Memory Blocks): Add documentation for aligned_alloc
49020         and suggest it as an alternative to posix_memalign.
49021         (Hooks for Malloc): Document __memalign_hook is also called
49022         for aligned_alloc.  (Summary of Malloc): Add summary for
49023         aligned alloc.  Document __memalign_hook is also called
49024         for aligned_alloc.
49026 2013-12-16  Will Newton  <will.newton@linaro.org>
49028         * manual/memory.texi (Malloc Examples): Clarify default
49029         alignment documentation.  Suggest posix_memalign rather
49030         than memalign or valloc.
49031         (Aligned Memory Blocks): Remove suggestion to use memalign
49032         or valloc.  Remove obsolete comment about BSD.
49033         Document memalign errno values and mark the function obsolete.
49034         Document posix_memalign returned error codes.  Mark valloc
49035         as obsolete.  (Hooks for Malloc): __memalign_hook is also
49036         called for posix_memalign and valloc.
49037         (Summary of Malloc): Add posix_memalign to function summary.
49038         __memalign_hook is also called for posix_memalign and valloc.
49040 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
49042         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
49043         TAYLOR_SIN.
49044         (__sin): Adjust.
49045         (__cos): Likewise.
49046         (sloww): Use mynumber union.  Expand ternary operator into
49047         if-else statements.
49048         (cslow): use mynumber union.
49050 2013-12-16  Allan McRae  <allan@archlinux.org>
49052         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
49053         * configure: Regenerated.
49055         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
49057         [BZ #14120]
49058         * configure.ac: Added --enable-maintainer-mode. Check for
49059         autoconf when enabled.
49060         * configure: Regenerated.
49062         * nscd/nscd.service: New file.
49063         * nscd/nscd.tmpfiles: New file.
49065 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
49067         [BZ #12100]
49068         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
49069         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
49070         * sysdeps/x86_64/multiarch/strstr.c: ... here.
49071         (strstr): Add __strstr_sse2_unaligned ifunc.
49072         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
49073         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49074         (strcasestr): Remove __strcasestr_sse42 ifunc.
49075         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
49076         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49077         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49079 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49081         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49082         * sysdeps/sh/bits/fenv.h: ... here.
49083         * sysdeps/sh/sh4/fpu/bits: Remove directory.
49085 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49087         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49089         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49090         hypotf multiarch implementations.
49091         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49092         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49093         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49094         multiarch hypot for PPC64.
49095         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49098         multiarch hypotf for PPC64.
49100         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49101         modff multiarch implementations.
49102         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49105         multiarch modf for PPC64.
49106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49109         multiarch modff for PPC64.
49111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49112         and logl multiarch implementations.
49113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49116         multiarch logb for PPC64.
49117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49120         multiarch logb for PPC64.
49121         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49123         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49124         multiarch logb for PPC64.
49126         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49127         isinff multiarch implementation.
49128         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49129         file.
49130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49132         multiarch isinf for PPC64.
49133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49134         file.
49135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49136         multiarch isinff for PPC64.
49138         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
49139         finitef multiarch implementation.
49140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
49141         file.
49142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
49143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
49144         multiarch finite for PPC64.
49145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
49146         file.
49147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
49148         multiarch finitef for PPC64.
49150         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49151         lrint multiarch implementation.
49152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
49153         file.
49154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
49155         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
49156         multiarch llrint for PPC64.
49157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
49158         multiarch lrint for PPC64.
49160         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
49161         copysignf multiarch implementation.
49162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
49163         file.
49164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
49165         file.
49166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
49167         multiarch copysign for PPC64.
49168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
49169         multiarch copysignf for PPC64.
49171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
49172         multiarch implementation.
49173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
49174         file.
49175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
49176         file.
49177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
49178         file.
49179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
49180         file.
49181         multiarch llround for PPC64.
49182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
49183         multiarch trunc for PPC64.
49184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
49185         multiarch truncf for PPC64.
49187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
49188         multiarch implementation.
49189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
49190         file.
49191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
49192         file.
49193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
49194         file.
49195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
49196         file.
49197         multiarch llround for PPC64.
49198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
49199         multiarch round for PPC64.
49200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
49201         multiarch roundf for PPC64.
49203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
49204         multiarch implementation.
49205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
49206         file.
49207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
49208         file.
49209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
49210         file.
49211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
49212         file.
49213         multiarch llround for PPC64.
49214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
49215         multiarch floor for PPC64.
49216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
49217         multiarch floorf for PPC64.
49219         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
49220         multiarch implementation.
49221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
49222         file.
49223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
49224         file.
49225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
49226         file.
49227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
49228         file.
49229         multiarch llround for PPC64.
49230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
49231         multiarch ceil for PPC64.
49232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
49233         multiarch ceilf for PPC64.
49235         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49236         multiarch implementation.
49237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
49238         file.
49239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
49240         file.
49241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
49242         file.
49243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
49244         multiarch llround for PPC64.
49245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
49246         multiarch lround for PPC64.
49248         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49249         multiarch implementation.
49250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
49251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
49252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
49253         file.
49254         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
49255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
49256         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
49257         multiarch isnan for PPC64.
49258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
49259         multiarch isnanf for PPC64.
49261         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
49262         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
49263         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
49264         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
49265         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
49266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
49268         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
49269         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49270         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49271         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
49274         multiarch implementations.
49275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49276         (__libc_ifunc_impl_list): Likewise.
49277         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
49278         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
49279         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
49280         multiarch stpcpy for PPC64.
49282         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
49283         multiarch implementations.
49284         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49285         (__libc_ifunc_impl_list): Likewise.
49286         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
49287         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
49288         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
49289         multiarch strcpy for PPC64.
49291         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
49292         redefine function name.
49293         (_wordcopy_fwd_dest_aligned): Likewise.
49294         (_wordcopy_bwd_aligned): Likewise.
49295         (_wordcopy_bwd_dest_aligned): Likewise.
49296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
49297         multiarch implementations.
49298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49299         (__libc_ifunc_impl_list): Likewise.
49300         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
49301         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
49302         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
49303         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
49304         multiarch wcscpy for PPC64.
49306         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
49307         multiarch implementations.
49308         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49309         (__libc_ifunc_impl_list): Likewise.
49310         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49311         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49312         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49313         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49314         multiarch wcscpy for PPC64.
49316         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49317         multiarch implementations.
49318         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49319         (__libc_ifunc_impl_list): Likewise.
49320         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49321         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49322         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49323         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49324         multiarch wcsrchr for PPC64.
49326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49327         multiarch implementations.
49328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49329         (__libc_ifunc_impl_list): Likewise.
49330         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49331         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49332         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49333         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49334         multiarch wcschr for PPC64.
49336         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49337         multiarch implementations.
49338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49339         (__libc_ifunc_impl_list): Likewise.
49340         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49341         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49342         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49343         multiarch strchrnul for PPC64.
49345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49346         implementations.
49347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49348         (__libc_ifunc_impl_list): Likewise.
49349         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49350         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49351         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49352         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49353         strchr for PPC64.
49355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49356         implementations.
49357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49358         (__libc_ifunc_impl_list): Likewise.
49359         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49360         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49361         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49362         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49363         strncmp for PPC64.
49365         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49366         multiarch implementations.
49367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49368         (__libc_ifunc_impl_list): Likewise.
49369         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49370         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49371         strncasecmp for PPC64.
49372         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49373         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49374         multiarch strncasecmp_l for PPC64.
49376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49377         multiarch implementations.
49378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49379         (__libc_ifunc_impl_list): Likewise.
49380         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49382         multiarch strcasecmp for PPC64.
49383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49384         file.
49385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49386         multiarch strcasecmp_l for PPC64.
49388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49389         implementations.
49390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49391         (__libc_ifunc_impl_list): Likewise.
49392         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49393         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49394         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49395         strnlen for PPC64.
49397         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49398         implementations.
49399         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49400         (__libc_ifunc_impl_list): Likewise.
49401         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49402         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49403         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49404         strlen for PPC64.
49406         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49407         implementations.
49408         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49409         (__libc_ifunc_impl_list): Likewise.
49410         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49411         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49412         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49413         rawmemrchr for PPC64.
49415         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49416         implementation.
49417         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49418         (__libc_ifunc_impl_list): Likewise.
49419         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49420         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49421         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49422         memrchr for PPC64.
49424         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49425         implementation.
49426         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49427         (__libc_ifunc_impl_list): Likewise.
49428         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49429         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49430         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49431         memchr for PPC64.
49433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49434         implementation.
49435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49436         (__libc_ifunc_impl_list): Likewise.
49437         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49438         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49439         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49440         mempcpy for PPC64.
49442         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49443         avoid cretion of __bzero symbol.
49444         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49445         Likewise.
49446         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49447         Likewise.
49448         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49449         Likewise.
49450         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49451         multiarch implementations.
49452         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49453         (__libc_ifunc_impl_list): Likewise.
49454         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49455         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49456         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49457         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49458         bzero for PPC32.
49459         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49460         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49461         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49462         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49463         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49464         memset for PPC64.
49465         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49467         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49469         implementations.
49470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49471         (__libc_ifunc_impl_list): Likewise.
49472         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49473         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49474         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49475         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49476         memcmp for PPC64.
49478         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49479         multiarch for POWER/PPC64.
49480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49481         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49482         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49483         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49484         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49485         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49486         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49487         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49488         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49489         memcpy for PPC64.
49491         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49492         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49493         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49494         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49495         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49496         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49497         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49498         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49499         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49500         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49501         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49502         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49503         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49504         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49505         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49514 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49516         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49518 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
49520         * benchtests/Makefile (bench): Add exp2 and log2.
49521         (LDLIBS-bench-exp2): Add -lm.
49522         (LDLIBS-bench-log2): Likewise.
49523         * benchtests/exp2-inputs: New inputs file.
49524         * benchtests/log2-inputs: New inputs file.
49525         * benchtests/log-inputs: Add new inputs.
49526         * benchtests/tan-inputs: Likewise.
49528 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
49530         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49531         definition...
49532         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49533         (csloww2): ... from here.
49535         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49536         instead of structures.
49537         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49538         (POLYNOMIAL): Likewise.
49539         (TAYLOR_SLOW): Likewise.
49540         (__sin): Likewise.
49541         (__cos): Likewise.
49542         (slow1): Likewise.
49543         (slow2): Likewise.
49544         (sloww): Likewise.
49545         (sloww1); Likewise.
49546         (sloww2): Likewise.
49547         (bsloww1): Likewise.
49548         (bsloww2): Likewise.
49549         (cslow2): Likewise.
49550         (csloww): Likewise.
49551         (csloww1): Likewise.
49552         (csloww2): Likewise.
49554 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
49556         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49557         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49558         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49559         * malloc/hooks.c (realloc_check): Likewise.
49561         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49562         * malloc/arena.c: Remove PER_THREAD conditional.
49563         [!PER_THREAD]: Remove code.
49564         (ptmalloc_unlock_all2): Likewise.
49565         (ptmalloc_init): Likewise.
49566         (_int_new_arena): Likewise.
49567         (arena_get2): Likewise.
49568         * malloc/hooks.c (__malloc_get_state): Likewise.
49569         (__malloc_set_state): Likewise.
49570         * malloc/malloc.c: Likewise.
49571         (struct malloc_state): Likewise.
49572         (struct malloc_par): Likewise.
49573         (__libc_realloc): Likewise.
49574         (__libc_mallopt): Likewise.
49576 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49578         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49580 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
49582         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49583         macro to a function.  Check for zero perturb_byte.
49584         (_int_malloc, _int_free): Remove zero perturb_byte checks.
49586         * malloc/malloc.c: (force_reg): Remove.
49587         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49588         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49589         force_reg by atomic_forced_read.
49590         * malloc/arena.c (ptmalloc_init): Likewise.
49591         * malloc/hooks.c (top_check): Likewise.
49593 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49597 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
49599         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49601 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
49603         * math/auto-libm-test-in: Add tests of lgamma.
49604         * math/auto-libm-test-out: Regenerated.
49605         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49606         (M_LOG_2_SQRT_PIl): Likewise.
49607         (lgamma_test_data): Use AUTO_TESTS_f_f1.
49608         * math/gen-auto-libm-tests.c (func_calc_method): Add value
49609         mpfr_f_f1.
49610         (func_calc_desc): Add mpfr_f_f1 union field.
49611         (ARGS1): New macro.
49612         (ARGS2): Likewise.
49613         (ARGS3): Likewise.
49614         (ARGS4): Likewise.
49615         (RET1): Likewise.
49616         (RET2): Likewise.
49617         (CALC): Likewise.
49618         (FUNC): Likewise.
49619         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49620         (test_functions): Add lgamma.
49621         (calc_generic_results): Handle mpfr_f_f1.
49622         * sysdeps/i386/fpu/libm-test-ulps: Update.
49623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49627         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49628         __mpn_add_n for PowerPC64/POWER7.
49629         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49630         __mpn_sub_n for PowerPC64/POWER7.
49632         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49633         __mpn_addmul_1 for PowerPC64.
49634         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49635         __mpn_submul_1 for PowerPC64.
49636         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49637         for PowerPC64.
49638         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49639         for PowerPC64.
49641 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
49643         [BZ #15089]
49644         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49646 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49648         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49650         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49651         add multiarch folders.
49652         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49653         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49654         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49655         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49656         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49657         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49658         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49659         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49660         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49661         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49662         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49663         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49671         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49673         New file.
49674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49675         New file.
49676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49677         multiarch __ieee754_hypot for PowerPC32.
49678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49679         New file.
49680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49681         New file.
49682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49683         multiarch __ieee754_hypotf for PowerPC32.
49685         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49686         long_double_symbol only if __logbl is defined.
49687         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49688         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49689         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49690         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49691         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49692         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49693         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49694         path for implementation.
49695         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49696         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49698         logb, and logbl multiarch implementations for PowerPC32.
49699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49700         file.
49701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49702         file.
49703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49704         multiarch logb for PowerPC32.
49705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49706         file.
49707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49708         file.
49709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49710         multiarch logbf for PowerPC32.
49711         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49713         file.
49714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49715         multiarch logbl implementation for PowerPC32.
49717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49718         and modff multiarch implementations.
49719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49720         New file.
49721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49722         New file.
49723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49724         multiarch modf for PowerPC32.
49725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49726         New file.
49727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49728         New file.
49729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49730         multiarch modff for PowerPC32.
49732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49733         and lrintf multiarch implementations.
49734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49735         New file.
49736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49737         New file.
49738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49739         multiarch lrint for PowerPC32.
49740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49741         file: multiarch lrintf for PowerPC32.
49743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49744         and lroundf multiarch implementations.
49745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49746         New file.
49747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49748         New file.
49749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49750         New file.
49751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49752         multiarch lround for PowerPC32.
49753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49754         file: multiarch lroundf for PowerPC32.
49756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49757         copysign and copysignf multiarch implementations.
49758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49759         New file.
49760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49761         New file.
49762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49763         file: multiarch copysign for PowerPC32.
49764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49765         file: multiarch copysignf for PowerPC32.
49767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49768         and truncf multiarch implementations.
49769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49770         New file.
49771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49772         file.
49773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49774         multiarch trunc for PowerPC32.
49775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49776         New file.
49777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49778         New file.
49779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49780         multiarch truncf for PowerPC32.
49782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49783         and roundf multiarch implementations.
49784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49785         New file.
49786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49787         file.
49788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49789         multiarch round for PowerPC32.
49790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49791         New file.
49792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49793         New file.
49794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49795         multiarch roundf for PowerPC32.
49797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49798         and floorf multiarch implementations.
49799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49800         New file.
49801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49802         file.
49803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49804         multiarch floor for PowerPC32.
49805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49806         New file.
49807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49808         New file.
49809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49810         multiarch floorf for PowerPC32.
49812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49813         and ceilf multiarch implementations.
49814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49815         New file.
49816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49817         file.
49818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49819         multiarch ceil for PowerPC32.
49820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49821         New file.
49822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49823         file.
49824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49825         multiarch ceilf for PowerPC32.
49827         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49828         is defined.
49829         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49830         FINITEF is defined.
49831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49832         and finitef multiarch implementations.
49833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49834         New file.
49835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49836         file.
49837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49838         multiarch finite for PowerPC32.
49839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49840         New file.
49841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49842         file: multiarch finitef for PowerPC32.
49844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49845         and isinff multiarch implementations.
49846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49847         file.
49848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49849         file.
49850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49851         multiarch isinf for PowerPC32.
49852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49853         New file.
49854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49855         multiarch isinff for PowerPC32.
49857         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49858         alias when __isnan is defined.
49859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49860         and isnanf multiarch implementations.
49861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49862         file.
49863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49864         file.
49865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49866         file.
49867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49868         file.
49869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49870         multiarch isnan for PowerPC32.
49871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49872         New file.
49873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49874         New file.
49875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49876         multiarch isnanf for PowerPC32.
49878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49879         and sqrtf multiarch implementations.
49880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49881         file.
49882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49883         file.
49884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49885         multiarch sqrt for PowerPC32.
49886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49887         file.
49888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49889         file.
49890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49891         multiarch sqrtf for PowerPC32.
49893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49894         and llroundf multiarch implementations.
49895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49896         New file.
49897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49898         New file.
49899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49900         New file.
49901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49902         file: multiarch llround for PowerPC32.
49903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49904         file: multiarch llroundf for PowerPC32.
49906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49907         multiarch PowerPC32 fpu implementations.
49908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49909         New file.
49910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49911         New file.
49912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49913         multiarch llrint for PowerPC32.
49914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49915         New file.
49916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49917         New file.
49918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49919         file.
49921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49923         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49924         file.
49925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49926         file.
49927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49928         file.
49929         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49930         multiarch wordcopy for PPC32.
49931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49932         wordcopy objects.
49933         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49934         (__libc_ifunc_impl_list): Likewise.
49935         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49936         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49937         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49938         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49939         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49940         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49942         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49943         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49944         file.
49945         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49946         file.
49947         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49948         file.
49949         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49950         multiarch wcscpy for PPC32.
49951         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49952         multiarch objects.
49953         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49954         (__libc_ifunc_impl_list): Likewise.
49955         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49956         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49957         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49958         sysdeps/powerpc/power6/wcscpy.c.
49960         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49961         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49962         file.
49963         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49964         file.
49965         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49966         file.
49967         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49968         multiarch wcsrchr for PPC32.
49969         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49970         multiarch objects.
49971         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49972         (__libc_ifunc_impl_list): Likewise.
49973         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49974         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49975         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49976         sysdeps/powerpc/power6/wcsrchr.c.
49978         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49979         file.
49980         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49981         file.
49982         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49983         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49984         multiarch wcschr for PPc32.
49985         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49986         multiarch objects.
49987         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49988         (__libc_ifunc_impl_list): Likewise.
49989         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49990         * sysdeps/powerpc/power6/wcschr.c: ... to here.
49991         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49992         sysdeps/powerpc/power6/wcschr.c.
49994         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49995         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49996         file.
49997         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49998         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49999         file: multiarch strchr for PPC32.
50000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
50001         multiarch objects.
50002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50003         (__libc_ifunc_impl_list): Likewise.
50005         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
50006         name.
50007         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
50008         file.
50009         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
50010         file.
50011         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
50012         multiarch strchrnul for PPC32.
50013         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
50014         multiarch objects.
50015         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50016         (__libc_ifunc_impl_list): Likewise.
50018         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
50019         file.
50020         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
50021         multiarch strncasecmp for PPC32.
50022         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
50023         file.
50024         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
50025         multiarch strncasecmp_l for PPC32.
50026         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
50027         strncasecmp multiarch objects.
50028         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50029         (__libc_ifunc_impl_list): Likewise.
50031         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
50032         file.
50033         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
50034         multiarch strncasecmp for PPC32.
50035         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
50036         New file.
50037         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
50038         multiarch strcasecmp_l for PPC32.
50039         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
50040         multiarch objects.
50041         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50042         (__libc_ifunc_impl_list): Likewise.
50044         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
50045         file.
50046         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
50047         file.
50048         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
50049         multiarch strncmp for PPC32.
50050         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
50051         multiarch objects.
50052         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50053         (__libc_ifunc_impl_list): Likewise.
50055         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
50056         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
50057         file.
50058         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
50059         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
50060         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
50061         multiarch objects.
50062         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50063         (__libc_ifunc_impl_list): Likewise.
50065         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
50066         file.
50067         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
50068         file.
50069         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
50070         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
50071         multiarch objects.
50072         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50073         (__libc_ifunc_impl_list): Likewise.
50075         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
50076         file.
50077         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50078         file.
50079         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50080         multiarch rawmemchr for PPC32.
50081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50082         multiarch objects.
50083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50084         (__libc_ifunc_impl_list): Likewise.
50086         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50087         file.
50088         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50089         file.
50090         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50091         file: memrchr multiarch for PPC32.
50092         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50093         multiarch objects.
50094         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50095         (__libc_ifunc_impl_list): Likewise.
50097         * string/memchr.c (__memchr): Using macro to redefine symbol name.
50098         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50099         file.
50100         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50101         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50102         multiarch memchr for PPC32.
50103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50104         multiarch objects.
50105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50106         (__libc_ifunc_impl_list): Likewise.
50108         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50109         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50110         file.
50111         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50112         file.
50113         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50114         file: multiarch mempcpy for PPC32.
50115         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50116         multiarch objects.
50117         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50118         (__libc_ifunc_impl_list): Likewise.
50120         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50121         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50122         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50123         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50124         multiarch bzero for PPC32.
50125         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50126         file.
50127         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50128         file.
50129         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50130         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50131         file: multiarch memset for PPC32.
50132         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50134         memset multiarch objects.
50135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50136         (__libc_ifunc_impl_list): Likewise.
50138         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
50139         file.
50140         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
50141         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
50142         memcmp for PPC32.
50143         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
50144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
50145         multiarch objects.
50146         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50147         (__libc_ifunc_impl_list): Likewise.
50149         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
50150         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
50151         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
50152         file.
50153         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
50154         file.
50155         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
50156         file.
50157         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
50158         multiarch memcpy for PPC32.
50159         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
50160         multiarch objects.
50161         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50162         (__libc_ifunc_impl_list): Likewise.
50164         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
50165         support multiarch for POWER/PPC32.
50166         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
50167         Likewise.
50168         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
50169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
50170         Implies file to make multiarch folder appers before the fpu and
50171         default folder for power4 configuration.
50173 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
50175         * scripts/bench.pl: Append volatile keyword to type.
50177 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50179         * sysdeps/sh/sotruss-lib.c: New file.
50180         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
50182 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50184         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50186 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
50188         [BZ #6810]
50189         * math/w_tgamma.c: Include <errno.h>.
50190         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
50191         * math/w_tgammaf.c: Include <errno.h>.
50192         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
50193         * math/w_tgammal.c: Include <errno.h>.
50194         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
50195         * math/auto-libm-test-in: Do not allow missing errno on tgamma
50196         underflow.  Add more tgamma tests.
50197         * math/auto-libm-test-out: Regenerated.
50198         * sysdeps/i386/fpu/libm-test-ulps: Update.
50199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50201         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
50202         sin, sinh, tan, tanh, tgamma, y0 and y1.
50203         * math/auto-libm-test-out: Regenerated.
50204         * math/libm-test.inc (TEST_COND_x86_64): New macro.
50205         (TEST_COND_x86): Likewise.
50206         (M_E2l): Remove macro.
50207         (M_E3l): Likewise.
50208         (M_2_SQRT_PIl): Likewise.
50209         (M_SQRT_PIl): Likewise.
50210         (M_1_DIV_El): Likewise.
50211         (log_test_data): Use AUTO_TESTS_f_f.
50212         (log10_test_data): Likewise.
50213         (log1p_test_data): Likewise.
50214         (log2_test_data): Likewise.
50215         (sin_test_data): Likewise.
50216         (sin_tonearest_test_data): Likewise.
50217         (sin_towardzero_test_data): Likewise.
50218         (sin_downward_test_data): Likewise.
50219         (sin_upward_test_data): Likewise.
50220         (sinh_test_data): Likewise.
50221         (sinh_tonearest_test_data): Likewise.
50222         (sinh_towardzero_test_data): Likewise.
50223         (sinh_downward_test_data): Likewise.
50224         (sinh_upward_test_data): Likewise.
50225         (tan_test_data): Likewise.
50226         (tan_tonearest_test_data): Likewise.
50227         (tan_towardzero_test_data): Likewise.
50228         (tan_downward_test_data): Likewise.
50229         (tan_upward_test_data): Likewise.
50230         (tanh_test_data): Likewise.
50231         (tgamma_test_data): Likewise.
50232         (y0_test_data): Likewise.
50233         (y1_test_data): Likewise.
50234         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
50235         (special_real_inputs): Add pi/4.
50236         * sysdeps/i386/fpu/libm-test-ulps: Update.
50237         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50239 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50241         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
50242         "longjmp_target" static probes.
50243         (__longjmp): Rename to __longjmp_symbol.
50244         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50245         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
50246         on which longjmp to generate.
50247         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50248         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
50249         probe.
50250         (__sigsetjmp): Rename to __sigsetjmp_symbol.
50251         (__sigjmp_save): Rename to __sigjmp_save_symbol.
50252         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
50253         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
50254         and __sigjmp_save_symbol based on which sigsetjmp to generated.
50255         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
50257         __longjmp_symbol based on which __longjmp to generate.
50258         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
50259         probe.
50260         (setjmp): Rename to setjmp_symbol.
50261         (__sigsetjmp): Rename to __sigsetjmp_symbol.
50262         (_setjmp): Rename to _setjmp_symbol.
50263         (__sigsetjmp): Rename to __sigsetjmp_symbol.
50264         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
50265         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
50266         which setjmp to generate.
50267         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
50268         "longjmp_target" static probes.
50270 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50272         * benchtests/README: Add note about output arguments.
50273         * benchtests/bench-sincos.c: Remove file.
50274         * benchtests/sincos-inputs: New file.
50275         * scripts/bench.pl: Identify output arguments and define
50276         static variables for them.
50278         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
50280         [BZ #15941]
50281         * Makefile (INSTALL): Add install-plain.texi as the primary
50282         dependency.
50283         * manual/install-plain.texi: New file.
50284         * manual/install.texi: Include node directive only for
50285         non-plaintext output.
50287 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
50289         * stdlib/longlong.h: Update from GCC.
50291         [BZ #6807]
50292         [BZ #15901]
50293         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
50294         * math/w_j0f.c (y0f): Likewise.
50295         * math/w_j0l.c (__y0l): Likewise.
50296         * math/w_j1.c (y1): Likewise.
50297         * math/w_j1f.c (y1f): Likewise.
50298         * math/w_j1l.c (__y1l): Likewise.
50299         * math/w_jn.c (yn): Likewise.
50300         * math/w_jnf.c (ynf): Likewise.
50301         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
50302         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
50303         value for Bessel function domain errors outside _SVID_ mode.
50304         Adjust sign of return value for yn (negative integer, 0).
50305         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
50306         by zero in return for negative x and set sign appropriately for
50307         negative n.
50308         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50309         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50310         * math/libm-test.inc (y0_test_data): Add more tests and adjust
50311         expectations in error cases.
50312         (y1_test_data): Likewise.
50313         (yn_test_data): Likewise.
50314         * sysdeps/i386/fpu/libm-test-ulps: Update.
50315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50317 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50319         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50320         "64" to "64-v1".  Add "64-v2".
50321         (abi-64-options): Rename to ...
50322         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
50323         (abi-64-condition): Rename to ...
50324         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
50325         (abi-64-ld-soname): Rename to ...
50326         (abi-64-v1-ld-soname): ... this.
50327         (abi-64-v2-options): Define.
50328         (abi-64-v2-condition): Likewise.
50329         (abi-64-v2-ld-soname): Likewise.
50330         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50331         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50336 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50337             Alan Modra  <amodra@gmail.com>
50339         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50340         New versions for use with the ELFv2 ABI.
50341         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50342         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50343         declaration.
50344         (struct La_ppc64v2_retval): Likewise.
50345         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50346         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50347         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50348         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50349         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50350         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50351         Do not save or restore CR.
50352         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50353         (_dl_profile_resolve): Do no save or restore CR.  Support extended
50354         return values for ELFv2 ABI.  Fix location of FPR return registers.
50355         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50356         updated values for _CALL_ELF == 2.
50357         (La_regs, La_retval, int_retval): Likewise.
50359 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50361         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50362         (FRAME_MIN_SIZE_PARM): Likewise.
50363         (FRAME_BACKCHAIN): Likewise.
50364         (FRAME_CR_SAVE): Likewise.
50365         (FRAME_LR_SAVE): Likewise.
50366         (FRAME_TOC_SAVE): Likewise.
50367         (FRAME_PARM_SAVE): Likewise.
50368         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50369         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50370         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50371         (call_mcount_parm_offset): New macro.
50372         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50373         (PROF): Use symbolic stack frame offsets.
50374         (TAIL_CALL_SYSCALL_ERROR): Likewise.
50375         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50376         Redefine in terms of FRAME_MIN_SIZE.
50377         (_dl_runtime_resolve): Use symbolic stack frame offsets.
50378         (_dl_profile_resolve): Likewise.  Update comment.
50379         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50380         symbols stack frame offsets.
50381         (__sigsetjmp): Likewise.
50382         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50383         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50384         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50385         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50388         (FRAME_BACKCHAIN): Remove.
50389         (FRAME_CR_SAVE): Likewise.
50390         (FRAME_LR_SAVE): Likewise.
50391         (FRAME_COMPILER_DW): Likewise.
50392         (FRAME_LINKER_DW): Likewise.
50393         (FRAME_TOC_SAVE): Likewise.
50394         (FRAME_PARM_SAVE): Likewise.
50395         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50396         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50397         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50399         (CHECK_SP): Use symbolic stack frame offsets.
50400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50401         zone" instead of caller's parameter save area for temp storage.
50402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50403         Likewise.  Also, use symbolic stack frame offsets.
50404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50405         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50406         our own stack frame instead of the caller's.
50407         (__socket): Use symbolic stack frame offsets.
50409 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50410             Alan Modra  <amodra@gmail.com>
50412         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50413         Define.
50414         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50415         (PPC64_LOCAL_ENTRY_OFFSET): Define.
50416         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50417         New function.
50418         (elf_machine_fixup_plt): Call it.
50419         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
50420         reloc arguments.
50421         (elf_machine_rela): Update call to elf_machine_plt_conflict.
50422         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50423         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50424         r2 before calling target.
50426 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50427             Alan Modra  <amodra@gmail.com>
50429         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50430         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50431         versions of macros to support ELFv2 ABI.
50432         (LOCALENTRY): New macro.
50433         (ENTRY, EALIGN): Use it.
50434         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50435         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50436         fall through into ENTRY entry point.
50437         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50438         Only define if _CALL_ELF != 2.
50440         (elf_machine_matches_host): Verify ABI version matches.
50441         (RTLD_START): Use LOCALENTRY.
50442         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50443         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50444         (PLT_ENTRY_WORDS): New macro.
50445         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50446         (elf_machine_runtime_setup): Support ELFv2 ABI.
50447         (elf_machine_fixup_plt): Likewise.
50448         (elf_machine_plt_conflict): Likewise.
50449         (resolve_ifunc): Likewise.
50450         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50451         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50452         Likewise.
50453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50454         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50456         (makecontext): Support ELFv2 ABI.
50457         * elf/elf.h (EF_PPC64_ABI): Define.
50459 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50461         * sysdeps/powerpc/powerpc64/sysdep.h
50462         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50463         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50464         (ENTRY) [ASSEMBLER]: ... but instead here ...
50465         (EALIGN) [ASSEMBLER]: ... and here.
50466         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50467         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50468         (ENTRY_2) [!ASSEMBLER]: Use it.
50469         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50470         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
50471         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50472         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50473         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50475         Use PPC64_LOAD_FUNCPTR.
50477         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50479 2013-12-04  Alan Modra  <amodra@gmail.com>
50481         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50482         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50483         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50484         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50487         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50488         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50489         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50490         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50491         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50493 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
50495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50496         (__makecontext): Fix incorrect CFI when backtracing out of
50497         context created via makecontext.
50498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50499         (__setcontext): Fix incorrect CFI during switch to new context.
50500         (__novec_setcontext): Likewise.
50502 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50504         [BZ #4772]
50505         * time/strptime_l.c (__strptime_internal): Allow modifiers
50506         in strptime.
50507         * time/tst-strptime.c (day_tests): Add testcase.
50509 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
50511         * scripts/bench.pl: Skip over blank lines.
50513 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
50515         [BZ #926]
50516         * manual/time.texi (Calendar Time): Clarify what timezone functions
50517         use.
50519 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50523 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
50525         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50526         implementation.
50527         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50528         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50529         * debug/memset_chk.c (__memset_chk): Likewise.
50530         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50531         * debug/strncpy_chk.c: Likewise.
50533 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50535         [BZ #15268]
50536         [BZ #15425]
50537         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50538         (__ieee754_exp): For possibly underflowing results, check size of
50539         result and force underflow exception if required.
50540         * math/auto-libm-test-in: Add more tests of exp.
50541         * math/auto-libm-test-out: Regenerated.
50542         * sysdeps/i386/fpu/libm-test-ulps: Update.
50543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50545         [BZ #16283]
50546         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50547         * math/w_exp2f.c (__exp2f): Likewise.
50548         * math/w_exp2l.c (__exp2l): Likewise.
50549         * math/auto-libm-test-in: Do not allow missing errno on exp2
50550         underflow.
50551         * math/auto-libm-test-out: Regenerated.
50553 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
50555         [BZ #16274]
50556         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50557         handle filename validation.
50558         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50559         (do_open): Delete.
50561 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
50563         [BZ #6786]
50564         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50565         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50566         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50567         <float.h>.
50568         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50569         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50570         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50571         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50572         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50573         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50574         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50575         * math/auto-libm-test-in: Don't allow missing errno from erfc.
50576         Add more erfc tests.
50577         * math/auto-libm-test-out: Regenerated.
50578         * sysdeps/i386/fpu/libm-test-ulps: Update.
50579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50581         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50582         exp2, expm1, j0 and j1.
50583         * math/auto-libm-test-out: Regenerated.
50584         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50585         (erfc_test_data): Likewise.
50586         (exp_test_data): Likewise.
50587         (exp_tonearest_test_data): Likewise.
50588         (exp_towardzero_test_data): Likewise.
50589         (exp_downward_test_data): Likewise.
50590         (exp_upward_test_data): Likewise.
50591         (exp10_test_data): Likewise.
50592         (exp2_test_data): Likewise.
50593         (expm1_test_data): Likewise.
50594         (j0_test_data): Likewise.
50595         (j1_test_data): Likewise.
50596         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50597         (input_flag_type): Add flag_xfail_rounding.
50598         (input_flags): Add xfail-rounding.
50599         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50600         (output_for_one_input_case): Handle flag_xfail_rounding.
50601         * sysdeps/i386/fpu/libm-test-ulps: Update.
50602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50604 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
50606         [BZ #16289]
50607         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50608         division by 0.
50610 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
50612         [BZ #16195]
50613         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50614         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50615         (STAP_PROBE0): New macro.
50616         (STAP_PROBE1): Likewise.
50617         (STAP_PROBE2): Likewise.
50618         (STAP_PROBE3): Likewise.
50619         (STAP_PROBE4): Likewise.
50621 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
50623         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50625 2013-12-02  Steve Ellcey  <sellcey@mips.com>
50627         * benchtests/Makefile (bench): Add sqrt.
50628         (LDLIBS-bench-sqrt): New.
50629         * benchtests/sqrt-input: New.
50631 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
50633         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50634         (GAIH_EAI): Likewise.
50635         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50636         (gaih_inet): Likewise.
50637         (getaddrinfo): Don't use GAIH_EAI.
50639         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50640         (struct gaih): Remove definition.
50642 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50644         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50645         Use HERRNOP directly.
50647 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50649         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50651 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
50653         * math/gen-auto-libm-tests.c (test_functions): Add more
50654         single-argument functions.
50655         (special_fill_pi_2): New function.
50656         (special_fill_minus_pi_2): Likewise.
50657         (special_fill_pi_6): Likewise.
50658         (special_fill_minus_pi_6): Likewise.
50659         (special_fill_pi_3): Likewise.
50660         (special_fill_2pi_3): Likewise.
50661         (special_fill_e): Likewise.
50662         (special_fill_1_e): Likewise.
50663         (special_fill_e_minus_1): Likewise.
50664         (special_real_inputs): Add more special inputs.
50665         (output_for_one_input_case): Do not require ERANGE on underflow to
50666         zero if round-to-nearest result does not underflow to zero, unless
50667         exact results required.
50668         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50669         atan, atanh, cbrt, cos and cosh.
50670         * math/auto-libm-test-out: Regenerated.
50671         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50672         (acos_tonearest_test_data): Likewise.
50673         (acos_towardzero_test_data): Likewise.
50674         (acos_downward_test_data): Likewise.
50675         (acos_upward_test_data): Likewise.
50676         (acosh_test_data): Likewise.
50677         (asin_test_data): Likewise.
50678         (asin_tonearest_test_data): Likewise.
50679         (asin_towardzero_test_data): Likewise.
50680         (asin_upward_test_data): Likewise.
50681         (asinh_test_data): Likewise.
50682         (atan_test_data): Likewise.
50683         (atanh_test_data): Likewise.
50684         (cbrt_test_data): Likewise.
50685         (cos_test_data): Likewise.
50686         (cos_tonearest_test_data): Likewise.
50687         (cos_towardzero_test_data): Likewise.
50688         (cos_downward_test_data): Likewise.
50689         (cos_upward_test_data): Likewise.
50690         (cosh_test_data): Likewise.
50691         (cosh_tonearest_test_data): Likewise.
50692         (cosh_towardzero_test_data): Likewise.
50693         (cosh_downward_test_data): Likewise.
50694         (cosh_upward_test_data): Likewise.
50695         * sysdeps/i386/fpu/libm-test-ulps: Update.
50696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50698 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
50700         [BZ #6787]
50701         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50702         * math/w_exp10f.c (__exp10f): Likewise.
50703         * math/w_exp10l.c (__exp10l): Likewise.
50704         * math/libm-test.inc (exp10_test_data): Add more tests and expect
50705         errno settings in existing tests.
50707         [BZ #14032]
50708         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50709         precision control set to double precision.
50710         * sysdeps/i386/fpu/w_sqrt.c: New file.
50711         * math/auto-libm-test-in: Add more tests.
50712         * math/auto-libm-test-out: Update.
50714         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50715         (sqrt_test_tonearest): New function.
50716         (sqrt_towardzero_test_data): New variable.
50717         (sqrt_test_towardzero): New function.
50718         (sqrt_downward_test_data): New variable.
50719         (sqrt_test_downward): New function.
50720         (sqrt_upward_test_data): New variable.
50721         (sqrt_test_upward): New function.
50722         (main): Call the new functions.
50724         * math/gen-auto-libm-tests.c: New file.
50725         * math/auto-libm-test-in: Likewise.
50726         * math/auto-libm-test-out: New generated file.
50727         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50728         variables.
50729         (%beautify): Add generated representations of zero.
50730         (top level): Set $auto_input and call parse_auto_input.
50731         (beautify): Remove trailing "f" from hex float constants.
50732         (parse_args): Handle XFAIL_TEST.
50733         (convert_condition): New function.
50734         (or_value): Likewise.
50735         (or_cond_value): Likewise.
50736         (generate_testfile): Handle AUTO_TESTS_* lines.
50737         (parse_auto_input): New function.
50738         * math/libm-test.inc (XFAIL_TEST): New macro.
50739         (ERRNO_UNCHANGED): Update value.
50740         (ERRNO_EDOM): Likewise.
50741         (ERRNO_ERANGE): Likewise.
50742         (IGNORE_RESULT): Likewise.
50743         (TEST_COND_flt_32): New macro.
50744         (TEST_COND_dbl_64): Likewise.
50745         (TEST_COND_ldbl_96_intel): Likewise.
50746         (TEST_COND_ldbl_96_m68k): Likewise.
50747         (TEST_COND_ldbl_128): Likewise.
50748         (TEST_COND_ldbl_128ibm): Likewise.
50749         (TEST_COND_long32): Likewise.
50750         (TEST_COND_long64): Likewise.
50751         (TEST_COND_before_rounding): Likewise.
50752         (TEST_COND_after_rounding): Likewise.
50753         (enable_test): Handle XFAIL_TEST flag.
50754         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50755         with finite results.
50756         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50757         auto-libm-test-out.
50759 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50760             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50762         [BZ #16214]
50763         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50764         __tls_get_addr_internal instead of __tls_get_offset in order to
50765         avoid GOT pointer dependency.  Make rtld export
50766         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50767         __tls_get_addr since we are a __tls_get_offset platform.
50768         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50769         GOT pointer being set up before.
50770         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50772 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
50774         * manual/math.texi (Errors in Math Functions): Document accuracy
50775         goals.
50777         [BZ #15004]
50778         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50779         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50780         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50781         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50782         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50783         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50784         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50785         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50786         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50787         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50788         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50789         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50790         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50791         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50792         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50793         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50795         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50796         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50797         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50798         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50799         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50800         Likewise.
50801         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50802         Likewise.
50803         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50804         Likewise.
50805         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50806         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50807         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50808         atomic-feupdateenv and flt-rounds.
50809         * sysdeps/powerpc/nofpu/Versions (libc): Add
50810         __atomic_feholdexcept, __atomic_feclearexcept,
50811         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50812         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50813         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50814         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50815         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50816         here.
50817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50818         Update.
50820         * manual/arith.texi (FP Exceptions): Document that exceptions may
50821         not be raised when matherr is used.
50822         (Math Error Reporting): Document overflow in directed rounding
50823         modes.  Document that errno may not be set when finite values are
50824         returned on overflow.  Document intent to set errno on underflow
50825         only for underflow to zero.
50827         [BZ #16271]
50828         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50829         round-to-nearest then adjust result for other rounding modes.
50830         * include/fenv.h (fegetround): Use libm_hidden_proto.
50831         * math/fegetround.c (fegetround): Use libm_hidden_def.
50832         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50833         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50834         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50835         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50836         Likewise.
50837         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50838         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50839         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50840         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50842 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
50844         [BZ #16077]
50845         * nss/Versions (libnss_files): Add
50846         _nss_files_gethostbyname3_r.
50847         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50848         New function.
50849         (HOST_DB_LOOKUP): Remove macro.
50850         (_nss_files_gethostbyname_r): Implement function without the
50851         HOST_DB_LOOKUP macro.
50852         (_nss_files_gethostbyname2_r): Likewise.
50854 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
50856         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50858 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
50860         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50861         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50862         warning.
50864 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50866         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50867         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50868         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50869         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50870         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50871         __fe_nomask_env_priv and attribute_hidden.
50872         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50873         (libc_feupdateenv_test_ppc): Likewise.
50874         (libc_feresetround_ppc): Likewise.
50875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50876         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50877         compat_symbol macro.
50878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50879         (__fe_nomask_env): Likewise.
50880         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50882 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50884         * string/Makefile: Remove ifunc tests.
50885         * string/test-string.h: Define TEST_IFUNC.
50886         * string/test-bcopy-ifunc.c: Remove.
50887         * string/test-bzero-ifunc.c: Likewise.
50888         * string/test-memccpy-ifunc.c: Likewise.
50889         * string/test-memchr-ifunc.c: Likewise.
50890         * string/test-memcmp-ifunc.c: Likewise.
50891         * string/test-memcpy-ifunc.c: Likewise.
50892         * string/test-memmem-ifunc.c: Likewise.
50893         * string/test-memmove-ifunc.c: Likewise.
50894         * string/test-mempcpy-ifunc.c: Likewise.
50895         * string/test-memrchr-ifunc.c: Likewise.
50896         * string/test-memset-ifunc.c: Likewise.
50897         * string/test-rawmemchr-ifunc.c: Likewise.
50898         * string/test-stpcpy-ifunc.c: Likewise.
50899         * string/test-stpncpy-ifunc.c: Likewise.
50900         * string/test-strcasecmp-ifunc.c: Likewise.
50901         * string/test-strcasestr-ifunc.c: Likewise.
50902         * string/test-strcat-ifunc.c: Likewise.
50903         * string/test-strchr-ifunc.c: Likewise.
50904         * string/test-strchrnul-ifunc.c: Likewise.
50905         * string/test-strcmp-ifunc.c: Likewise.
50906         * string/test-strcpy-ifunc.c: Likewise.
50907         * string/test-strcspn-ifunc.c: Likewise.
50908         * string/test-strlen-ifunc.c: Likewise.
50909         * string/test-strncasecmp-ifunc.c: Likewise.
50910         * string/test-strncat-ifunc.c: Likewise.
50911         * string/test-strncmp-ifunc.c: Likewise.
50912         * string/test-strncpy-ifunc.c: Likewise.
50913         * string/test-strnlen-ifunc.c: Likewise.
50914         * string/test-strpbrk-ifunc.c: Likewise.
50915         * string/test-strrchr-ifunc.c: Likewise.
50916         * string/test-strspn-ifunc.c: Likewise.
50917         * string/test-strstr-ifunc.c: Likewise.
50919 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50921         * benchtests/Makefile: Remove ifunc tests.
50922         * benchtests/bench-string.h: Define TEST_IFUNC.
50923         * benchtests/bench-bcopy-ifunc.c: Remove.
50924         * benchtests/bench-bzero-ifunc.c: Likewise.
50925         * benchtests/bench-memccpy-ifunc.c: Likewise.
50926         * benchtests/bench-memchr-ifunc.c: Likewise.
50927         * benchtests/bench-memcmp-ifunc.c: Likewise.
50928         * benchtests/bench-memcpy-ifunc.c: Likewise.
50929         * benchtests/bench-memmem-ifunc.c: Likewise.
50930         * benchtests/bench-memmove-ifunc.c: Likewise.
50931         * benchtests/bench-mempcpy-ifunc.c: Likewise.
50932         * benchtests/bench-memrchr-ifunc.c: Likewise.
50933         * benchtests/bench-memset-ifunc.c: Likewise.
50934         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50935         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50936         * benchtests/bench-stpcpy-ifunc.c: Likewise.
50937         * benchtests/bench-stpncpy-ifunc.c: Likewise.
50938         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50939         * benchtests/bench-strcasestr-ifunc.c: Likewise.
50940         * benchtests/bench-strcat-ifunc.c: Likewise.
50941         * benchtests/bench-strchr-ifunc.c: Likewise.
50942         * benchtests/bench-strchrnul-ifunc.c: Likewise.
50943         * benchtests/bench-strcmp-ifunc.c: Likewise.
50944         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50945         * benchtests/bench-strcpy-ifunc.c: Likewise.
50946         * benchtests/bench-strcspn-ifunc.c: Likewise.
50947         * benchtests/bench-strlen-ifunc.c: Likewise.
50948         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50949         * benchtests/bench-strncat-ifunc.c: Likewise.
50950         * benchtests/bench-strncmp-ifunc.c: Likewise.
50951         * benchtests/bench-strncpy-ifunc.c: Likewise.
50952         * benchtests/bench-strnlen-ifunc.c: Likewise.
50953         * benchtests/bench-strpbrk-ifunc.c: Likewise.
50954         * benchtests/bench-strrchr-ifunc.c: Likewise.
50955         * benchtests/bench-strsep-ifunc.c: Likewise.
50956         * benchtests/bench-strspn-ifunc.c: Likewise.
50957         * benchtests/bench-strstr-ifunc.c: Likewise.
50959 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50961         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50963 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
50965         * resolv/netdb.h: Use __glibc_reserved instead __unused.
50966         * rt/aio.h: Likewise.
50967         * sysdeps/gnu/bits/utmp.h: Likewise.
50968         * sysdeps/gnu/bits/utmpx.h: Likewise.
50969         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50970         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50971         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50972         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50973         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50974         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50975         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50976         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50977         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50978         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50979         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50980         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50981         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50983         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50984         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50985         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50986         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50987         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50988         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50989         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50990         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50991         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50992         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50993         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50995         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50996         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50997         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50998         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50999         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
51000         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
51001         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
51002         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
51003         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
51004         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
51005         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
51006         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
51007         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
51008         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
51009         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
51010         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
51012 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
51014         [BZ #16245]
51015         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
51016         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
51018 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
51020         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
51021         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
51022         Likewise.
51024 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51026         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
51027         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
51028         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
51029         (__fesetround): Remove define.
51030         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
51031         rounding and exceptions handling.
51032         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
51033         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
51034         (__fe_nomask_env): Likewise.
51035         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
51036         __fegetround instead of fegetround.
51037         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
51038         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
51040 2013-11-21  Roland McGrath  <roland@hack.frob.com>
51042         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
51043         it's there.
51045         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
51047 2013-11-21  Meador Inge  <meadori@codesourcery.com>
51049         [BZ #11157]
51050         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
51051         (encrypt_r): Likewise.
51052         * malloc/obstack.h (obstack_free): Likewise.
51053         * posix/unistd.h (encrypt): Likewise.
51055 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
51057         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
51058         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
51059         DL_CALL_DT_FINI() that call the functions directly.
51060         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
51061         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
51062         * elf/dl-fini.c: Likewise.
51064 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
51066         * malloc/hooks.c (memalign_check): Add alignment rounding.
51067         * malloc/malloc.c (_mid_memalign): New function.
51068         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
51069         Implement by calling _mid_memalign.
51070         * manual/probes.texi (Memory Allocation Probes): Remove
51071         memory_valloc_retry and memory_pvalloc_retry.
51073 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
51075         * locale/programs/locarchive.c (open_archive): Add const
51076         qualifier to ARCHIVEFNAME and copy default fname to
51077         DEFAULT_FNAME.
51079         [BZ #15601]
51080         * libio/tst-widetext.input: Rename Oriya to Odia.
51081         * locale/iso-639.def: Likewise.
51083         * manual/probes.texi (Mathematical Function Probes): Add
51084         documentation for sin, cos, asin and acos probes.
51085         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51086         (__sin32): Add slowasin probe.
51087         (__cos32): Add slowacos probe.
51088         (__mpsin): Add slowsin probe.
51089         (__mpcos): Add slowcos probe.
51091 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
51093         [BZ #15483]
51094         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51095         thread-local __sim_exceptions_thread and global
51096         __sim_exceptions_global.
51097         (__sim_disabled_exceptions): Change to thread-local
51098         __sim_disabled_exceptions_thread and global
51099         __sim_disabled_exceptions_global.
51100         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51101         and global __sim_round_mode_global.
51102         (__simulate_exceptions): Use thread-local floating-point state and
51103         set global state from it as needed.
51104         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51105         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51106         __sim_round_mode_thread.
51107         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51108         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51109         and global __sim_exceptions_global.
51110         (__sim_disabled_exceptions): Change to thread-local
51111         __sim_disabled_exceptions_thread and global
51112         __sim_disabled_exceptions_global.
51113         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51114         and global __sim_round_mode_global.
51115         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51116         (SIM_SET_GLOBAL): Likewise.
51117         * sysdeps/powerpc/soft-fp/sfp-machine.h
51118         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51119         __sim_round_mode_thread.
51120         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51121         __sim_disabled_exceptions_thread.
51122         (__sim_exceptions): Change to __sim_exceptions_thread.
51123         (__sim_disabled_exceptions): Change to
51124         __sim_disabled_exceptions_thread.
51125         (__sim_round_mode): Change to __sim_round_mode_thread.
51126         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51127         thread-local floating-point state and set global state from it as
51128         needed.
51129         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51130         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51131         (__sim_disabled_exceptions): Remove extern declaration.
51132         (feenableexcept): Use thread-local floating-point state and set
51133         global state from it as needed.
51134         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51135         extern declaration.
51136         (__sim_disabled_exceptions): Likewise.
51137         (__sim_round_mode): Likewise.
51138         (__fegetenv): Use thread-local floating-point state.
51139         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
51140         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51141         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
51142         floating-point state and set global state from it as needed.
51143         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
51144         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
51145         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
51146         Likewise.
51147         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
51148         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
51149         Likewise.
51150         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
51151         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
51152         Use __sim_round_mode_thread.
51153         * math/test-fenv-tls.c: New file.
51154         * math/Makefile (tests): Add test-fenv-tls.
51155         ($(objpfx)test-fenv-tls): Depend on
51156         $(common-objpfx)nptl/libpthread.so.
51158 2013-11-19  Andreas Schwab  <schwab@suse.de>
51160         * locale/programs/locale.c (show_info): Decode wordarray elements.
51161         * locale/categories.def (LC_MONETARY): Add element for
51162         _NL_MONETARY_CRNCYSTR.
51163         * locale/C-monetary.c (conversion_rate): New variable.
51164         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
51165         element.
51167 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
51169         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
51170         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
51172 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
51174         * elf/Makefile (tst-auxv): New test.
51175         * elf/tst-auxv.c: New
51176         * elf/rtld.c (dl_main): Adjust AT_EXECFN
51178 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
51180         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
51181         (hidden_proto): Caller changed.
51182         (hidden_tls_proto): New macro.
51183         (libc_hidden_tls_proto): Likewise.
51184         (rtld_hidden_tls_proto): Likewise.
51185         (libm_hidden_tls_proto): Likewise.
51186         (libresolv_hidden_tls_proto): Likewise.
51187         (librt_hidden_tls_proto): Likewise.
51188         (libdl_hidden_tls_proto): Likewise.
51189         (libnss_files_hidden_tls_proto): Likewise.
51190         (libnsl_hidden_tls_proto): Likewise.
51191         (libnss_nisplus_hidden_tls_proto): Likewise.
51192         (libutil_hidden_tls_proto): Likewise.
51194 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
51196         [BZ #10253]
51197         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
51198         (decompose_rpath): Defer expansion to fillin_rpath.
51199         (_dl_init_paths): Pass linkmap to fillin_rpath.
51201 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
51203         * benchtests/Makefile: Add strsep.
51204         * benchtests/bench-strsep.c: New file: strsep benchtest.
51205         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
51207 2013-11-18  Andreas Schwab  <schwab@suse.de>
51209         * locale/programs/locale.c (show_info) [case byte]: Check for
51210         '\377' instead of '\177'.
51211         * locale/C-monetary.c (not_available): Always use "\377".
51212         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
51213         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
51214         detect unavailable sign_posn locale elements.
51215         * locale/localeconv.c (__localeconv): For grouping and
51216         mon_grouping handle "\177" and "\377" like no grouping.
51217         (INT_ELEM): New macro.  Use it to set all numeric members.
51218         * locale/programs/ld-monetary.c (monetary_read)
51219         <tok_mon_grouping>: Normalize single -1 to the empty string.
51220         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
51221         Likewise.
51223 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51225         [BZ #16055]
51226         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
51227         when we match (nil).
51228         * stdio-common/tst-sscanf.c (struct test): Add testcase.
51230 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
51232         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
51233         (NO_TEST_INLINE): Update value.
51234         (ERRNO_UNCHANGED): Likewise.
51235         (ERRNO_EDOM): Likewise.
51236         (ERRNO_ERANGE): Likewise.
51237         (IGNORE_RESULT): Likewise.
51238         (check_float_internal): Check signs of NaN results if
51239         TEST_NAN_SIGN used.
51240         (check_complex): Pass TEST_NAN_SIGN flag through to second
51241         check_float_internal call.
51242         (copysign_test_data): Add tests with quiet NaNs as second
51243         argument.  Use TEST_NAN_SIGN.
51244         (fabs_test_data): Add test of negative quiet NaN argument.  Use
51245         TEST_NAN_SIGN.
51246         (signbit_test_data): Add tests of quiet NaN argument.
51247         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
51249         * math/gen-libm-test.pl (show_exceptions): Take extra argument
51250         $ignore_result.
51251         (parse_args): Handle function results specified as IGNORE.
51252         * math/libm-test.inc (IGNORE_RESULT): New macro.
51253         (check_float_internal): Do not check numerical result if flag
51254         IGNORE_RESULT set.
51255         (check_complex): Pass through IGNORE_RESULT to second
51256         check_float_internal call.
51257         (check_int): Do not check numerical result if flag IGNORE_RESULT
51258         set.
51259         (check_long): Likewise.
51260         (check_bool): Likewise.
51261         (check_longlong): Likewise.
51262         (lrint_test_data): Add tests of infinite and NaN arguments.
51263         (lrint_tonearest_test_data): Likewise.
51264         (lrint_towardzero_test_data): Likewise.
51265         (lrint_downward_test_data): Likewise.
51266         (lrint_upward_test_data): Likewise.
51267         (llrint_test_data): Likewise.
51268         (llrint_tonearest_test_data): Likewise.
51269         (llrint_towardzero_test_data): Likewise.
51270         (llrint_downward_test_data): Likewise.
51271         (llrint_upward_test_data): Likewise.
51272         (lround_test_data): Likewise.
51273         (llround_test_data): Likewise.
51275         * math/libm-test.inc (NO_TEST_INLINE): New macro.
51276         (ERRNO_UNCHANGED): Update value.
51277         (ERRNO_EDOM): Likewise.
51278         (ERRNO_ERANGE): Likewise.
51279         (NO_TEST_INLINE_FLOAT): New macro.
51280         (NO_TEST_INLINE_DOUBLE): Likewise.
51281         (enable_test): New function.
51282         (RUN_TEST_f_f): Check enable_test before running test.
51283         (RUN_TEST_2_f): Likewise.
51284         (RUN_TEST_fff_f): Likewise.
51285         (RUN_TEST_c_f): Likewise.
51286         (RUN_TEST_f_f1): Likewise.
51287         (RUN_TEST_fF_f1): Likewise.
51288         (RUN_TEST_fI_f1): Likewise.
51289         (RUN_TEST_ffI_f1): Likewise.
51290         (RUN_TEST_c_c): Likewise.
51291         (RUN_TEST_cc_c): Likewise.
51292         (RUN_TEST_f_i): Likewise.
51293         (RUN_TEST_f_i_tg): Likewise.
51294         (RUN_TEST_ff_i_tg): Likewise.
51295         (RUN_TEST_f_b): Likewise.
51296         (RUN_TEST_f_b_tg): Likewise.
51297         (RUN_TEST_f_l): Likewise.
51298         (RUN_TEST_f_L): Likewise.
51299         (RUN_TEST_fFF_11): Likewise.
51300         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
51301         conditionals.
51302         (cosh_test_data): Likewise.
51303         (exp_test_data): Likewise.
51304         (expm1_test_data): Likewise.
51305         (hypot_test_data): Likewise.
51306         (pow_test_data): Likewise.
51307         (sinh_test_data): Likewise.
51308         (tanh_test_data): Likewise.
51309         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51310         flags argument.
51312         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51313         tests with quiet NaN input and output.
51314         (acosh_test_data): Likewise.
51315         (asin_test_data): Likewise.
51316         (asinh_test_data): Likewise.
51317         (atan_test_data): Likewise.
51318         (atanh_test_data): Likewise.
51319         (atan2_test_data): Likewise.
51320         (cbrt_test_data): Likewise.
51321         (cos_test_data): Likewise.
51322         (cosh_test_data): Likewise.
51323         (erf_test_data): Likewise.
51324         (erfc_test_data): Likewise.
51325         (exp_test_data): Likewise.
51326         (exp10_test_data): Likewise.
51327         (exp2_test_data): Likewise.
51328         (expm1_test_data): Likewise.
51329         (hypot_test_data): Likewise.
51330         (j0_test_data): Likewise.
51331         (j1_test_data): Likewise.
51332         (jn_test_data): Likewise.
51333         (lgamma_test_data): Likewise.
51334         (log_test_data): Likewise.
51335         (log10_test_data): Likewise.
51336         (log1p_test_data): Likewise.
51337         (log2_test_data): Likewise.
51338         (pow_test_data): Likewise.
51339         (scalb_test_data): Likewise.
51340         (sin_test_data): Likewise.
51341         (sincos_test_data): Likewise.
51342         (sinh_test_data): Likewise.
51343         (tan_test_data): Likewise.
51344         (tanh_test_data): Likewise.
51345         (tgamma_test_data): Likewise.
51346         (y0_test_data): Likewise.
51347         (y1_test_data): Likewise.
51348         (yn_test_data): Likewise.
51350         [BZ #16167]
51351         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51352         argument being NaN and avoid computations with second argument in
51353         that case.
51354         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51355         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51356         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51358 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
51360         * locale/iso-639.def: Add Chitwani Tharu (the).
51362 2013-11-14  Andreas Schwab  <schwab@suse.de>
51364         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51365         word instead of empty string.
51367 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51370         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51372         (__fe_nomask_env): Likewise.
51374 2013-11-13  Steve Ellcey  <sellcey@mips.com>
51376         * benchtests/bench-timing.h: Include time.h.
51378 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
51380         [BZ #15997]
51381         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51382         to 3.4.0 for x32.
51383         * sysdeps/unix/sysv/linux/configure: Regenerated.
51385 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
51387         [BZ #16151]
51388         * stdlib/strtod_l.c (round_and_return): Do not consider
51389         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51390         exponent one less than half the least subnormal exponent.
51391         * stdlib/test-strtod-round-data: Add more tests.
51392         * stdlib/tst-strtod-round.c (tests): Regenerated.
51394 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51396         [BZ #14143]
51397         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51398         (__fe_mask_env): Likewise.
51399         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51400         libm_hidden_proto and add function prototype.
51401         (__fe_mask_env): Add function prototype.
51402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51403         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51405         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51407         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51409 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51411         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51412         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51414 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
51416         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51417         of htab_find_slot().
51419 2013-11-11  David S. Miller  <davem@davemloft.net>
51421         [BZ #16150]
51422         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51423         symbol in the non-vis3 case in static builds.
51424         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51425         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51426         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51427         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51429 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
51431         [BZ #387]
51432         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51433         it is empty.
51435 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51437         * benchtests/Makefile: Add bench-strtod.
51438         * benchtests/bench-strtod.c: New file: strtod benchtest
51440 2013-11-11  Andreas Schwab  <schwab@suse.de>
51442         [BZ #16153]
51443         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51444         terminating NUL in key length.
51446 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51448         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51449         Add artificial ODP entry for vDSO symbol for PPC64.
51450         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51451         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51453 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
51455         [BZ #15374]
51456         * nss/getent.c (services_keys): Recognize services starting with digit.
51458 2013-11-06  David S. Miller  <davem@davemloft.net>
51460         [BZ #15985]
51461         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51462         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51464 2013-11-06  Will Newton  <will.newton@linaro.org>
51466         * manual/memory.texi (Malloc Examples): Remove register
51467         keyword from examples.
51469 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
51471         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51473 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
51475         [BZ #6981]
51476         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51477         depending on [__GCC_IEC_559 > 0].
51478         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51479         depending on [__GCC_IEC_559_COMPLEX > 0].
51481 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
51483         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51484         to iso-639.def.
51486 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
51488         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51490 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
51492         [BZ #16112]
51493         * malloc/malloc (malloc_info): Do not handle first bin as
51494         special case.
51496 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
51498         * locale/iso-639.def: Add Central Nahuatl (nhn).
51500 2013-11-01  Bruno Haible  <bruno@clisp.org>
51502         [BZ #7003]
51503         * manual/math.texi (BSD Random): Specify range upper bound as
51504         in POSIX.
51506 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
51508         * locale/iso-639.def: Add Meadow Mari (mhr).
51510 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
51512         [BZ #14752], [BZ #15763]
51513         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51514         Validate name.
51515         * rt/tst_shm.c: Add test for escaping directory.
51517 2013-10-31  Andreas Schwab  <schwab@suse.de>
51519         [BZ #15917]
51520         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51521         followed by 'x' as part of digit sequence.
51522         * stdio-common/tst-sscanf.c (double_tests2): New tests.
51524 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51526         [BZ #16037]
51527         * configure.ac: allow GNU Make 4.0 and greater.
51528         * configure: Regenerated.
51530 2013-10-30  Will Newton  <will.newton@linaro.org>
51532         [BZ #16038]
51533         * malloc/hooks.c (memalign_check): Limit alignment to the
51534         maximum representable power of two.
51535         * malloc/malloc.c (__libc_memalign): Likewise.
51536         * malloc/tst-memalign.c (do_test): Add test for very
51537         large alignment values.
51538         * malloc/tst-posix_memalign.c (do_test): Likewise.
51540 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51542         [BZ #11087]
51543         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51544         (munmap_chunk): Likewise.
51545         (mremap_chunk): Likewise.
51547 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
51549         [BZ #15799]
51550         * stdlib/div.c (div): Remove obsolete code.
51551         * stdlib/ldiv.c (ldiv): Likewise.
51552         * stdlib/lldiv.c (lldiv): Likewise.
51554 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51556         [BZ #16071]
51557         * nss/nss_files/files-XXX.c (get_contents_ret): New
51558         enumerator.
51559         (get_contents): New function.
51560         (internal_getent): Use it.  Expand size of LINEBUFLEN.
51562 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
51564         * configure.in: Moved to ...
51565         * configure.ac: ... here. Change reference to configure.in
51566         to configure.ac.
51567         * sysdeps/arm/preconfigure.ac: ... here.
51568         configure.in to configure.ac.
51569         * sysdeps/gnu/configure.in: Moved to ...
51570         * sysdeps/gnu/configure.ac: ... here.
51571         * sysdeps/i386/configure.in: Moved to ...
51572         * sysdeps/i386/configure.ac: ... here.
51573         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51574         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51575         * sysdeps/mach/configure.in: Moved to ...
51576         * sysdeps/mach/configure.ac: ... here.
51577         * sysdeps/mach/hurd/configure.in: Moved to ...
51578         * sysdeps/mach/hurd/configure.ac: ... here.
51579         * sysdeps/powerpc/configure.in: Moved to ...
51580         * sysdeps/powerpc/configure.ac: ... here.
51581         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51582         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51583         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51584         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51585         * sysdeps/s390/s390-32/configure.in: Moved to ...
51586         * sysdeps/s390/s390-32/configure.ac: ... here.
51587         * sysdeps/s390/s390-64/configure.in: Moved to ...
51588         * sysdeps/s390/s390-64/configure.ac: ... here.
51589         * sysdeps/sh/configure.in: Moved to ...
51590         * sysdeps/sh/configure.ac: ... here.
51591         * sysdeps/sparc/configure.in: Moved to ...
51592         * sysdeps/sparc/configure.ac: ... here.
51593         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51594         * sysdeps/unix/sysv/linux/configure.ac: ... here.
51595         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51596         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51597         * sysdeps/x86_64/configure.in: Moved to ...
51598         * sysdeps/x86_64/configure.ac: ... here.
51599         * sysdeps/x86_64/preconfigure.in: Moved to ...
51600         * sysdeps/x86_64/preconfigure.ac: ... here.
51601         * aclocal.m4: Change reference to configure.in to configure.ac.
51602         * config.h.in: Likewise.
51603         * manual/install.texi: Likewise.
51604         * manual/maint.texi: Likewise.
51605         * Makefile: Likewise.
51606         * malloc/Makefile: Likewise.
51607         * nscd/Makefile: Likewise.
51608         * Makeconfig: Change reference to configure.in and
51609         preconfigure.in to configure.ac and preconfigure.ac
51610         respectively.
51611         * INSTALL: Regenerated.
51612         * configure: Likewise.
51613         * sysdeps/gnu/configure: Likewise.
51614         * sysdeps/i386/configure: Likewise.
51615         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51616         * sysdeps/mach/configure: Likewise.
51617         * sysdeps/mach/hurd/configure: Likewise.
51618         * sysdeps/powerpc/configure: Likewise.
51619         * sysdeps/powerpc/powerpc32/configure: Likewise.
51620         * sysdeps/powerpc/powerpc64/configure: Likewise.
51621         * sysdeps/s390/s390-32/configure: Likewise.
51622         * sysdeps/s390/s390-64/configure: Likewise.
51623         * sysdeps/sh/configure: Likewise.
51624         * sysdeps/sparc/configure: Likewise.
51625         * sysdeps/unix/sysv/linux/configure: Likewise.
51626         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51627         * sysdeps/x86_64/configure: Likewise.
51628         * sysdeps/x86_64/preconfigure: Likewise.
51630 2013-10-29  Andreas Schwab  <schwab@suse.de>
51632         * stdio-common/Makefile (tst-swscanf-ENV): Define.
51634 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
51636         * benchtests/pow-inputs: Add new inputs.
51638         * benchtests/exp-inputs: Add new inputs.
51640         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51641         conditional check for return value.
51642         (__cos32): Likewise.
51644 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51646         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51647         to provide a boost for large inputs with word alignment.
51648         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51649         implementation based on optimized PPC64 strcpy.
51650         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51651         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51652         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51653         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51655 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51657         [BZ #2801]
51658         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51660 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51662         [BZ #14876]
51663         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51664         * time/tst-strptime.c (day_tests): Add testcase.
51666 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
51668         [BZ #14029]
51669         * manual/pattern.texi: Acknowledge that fnmatch can fail.
51671 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
51673         [BZ #16074]
51674         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51675         MAP_FAILED on error.
51677 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
51679         [BZ #16072]
51680         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51681         heap for large requests.
51683 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
51685         [BZ #9954]
51686         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51687         result if the result has no associated interface.
51688         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51689         interface for all 127.X.Y.Z addresses.
51691 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
51693         * locale/iso-639.def: Add Ligurian (lij)
51695 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
51697         [BZ #15825]
51698         * sunrpc/rpc_main.c: Document rpcgen -5.
51700 2013-10-19  Michael Stahl  <mstahl@redhat.com>
51702         * elf/rtld.c (do_preload): Print the reason why preloading failed.
51704 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51706         [BZ #10278]
51707         * posix/glob.c: Match only directories when trailing slash is present.
51708         * posix/tst-gnuglob.c (my_opendir): Do not open files.
51709         (main): Add testcase.
51711 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
51713         [BZ #15670]
51714         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51716 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
51718         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51719         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51720         AUTH_DES and cindex for FIPS 140-2.
51721         (DES Encryption): Add cindex FIPS 46-3.
51723         * locale/locarchive.h (struct locarhandle): Add fname.
51724         * locale/programs/localedef.c (main): Pass ARGV[remaining]
51725         if an optional argument was specified to --list-archive,
51726         otherwise NULL.
51727         * locale/programs/locarchive.c (show_archive_content): Take new
51728         argument fname and pass it via ah.fname to open_archive.
51729         * locale/programs/localedef.h: Update decl.
51730         (open_archive): If AH->fname is non-null, open that file
51731         rather than the default file name, and don't ignore ENOENT.
51732         (create_archive): Set AH.fname to NULL.
51733         (delete_locales_from_archive): Likewise.
51734         (add_locales_to_archive): Likewise.
51735         * locale/programs/locfile.c (write_all_categories): Likewise.
51737 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
51738             Aldy Hernandez  <aldyh@redhat.com>
51740         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51741         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51742         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51743         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51744         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51745         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51746         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51747         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51748         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51749         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51750         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51751         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51752         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51753         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51754         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51755         Likewise.
51756         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51757         Likewise.
51758         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51759         Likewise.
51760         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51761         Likewise.
51762         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51763         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51764         Likewise.
51765         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51766         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51767         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51768         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51769         Likewise.
51770         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51771         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51772         * sysdeps/powerpc/preconfigure: Likewise.
51773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51774         Likewise.
51775         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51776         Replace contents of file by #include of <fenv_libc.h>.
51777         * sysdeps/powerpc/soft-fp/sfp-machine.h
51778         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51779         and <sys/prctl.h>.
51780         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51781         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51782         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51783         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51784         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51785         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51786         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51787         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51788         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51789         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51790         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51791         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51793         Allow copysignl PLT reference to be missing.
51795 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
51796             Joseph Myers  <joseph@codesourcery.com
51798         [BZ #15948]
51799         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51800         single character.
51801         (add_to_tablewc): Assert sequence of wide characters is nonempty.
51803 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
51805         * elf/tst-tls-dlinfo.c: Don't include tls.h.
51806         * elf/tst-tls1.c: Likewise.
51807         * elf/tst-tls10.h: Likewise.
51808         * elf/tst-tls14.c: Likewise.
51809         * elf/tst-tls2.c: Likewise.
51810         * elf/tst-tls3.c: Likewise.
51811         * elf/tst-tls4.c: Likewise.
51812         * elf/tst-tls5.c: Likewise.
51813         * elf/tst-tls6.c: Likewise.
51814         * elf/tst-tls7.c: Likewise.
51815         * elf/tst-tls8.c: Likewise.
51816         * elf/tst-tls9.c: Likewise.
51817         * elf/tst-tlsmod1.c: Likewise.
51818         * elf/tst-tlsmod13.c: Likewise.
51819         * elf/tst-tlsmod13a.c: Likewise.
51820         * elf/tst-tlsmod14a.c: Likewise.
51821         * elf/tst-tlsmod16a.c: Likewise.
51822         * elf/tst-tlsmod16b.c: Likewise.
51823         * elf/tst-tlsmod2.c: Likewise.
51824         * elf/tst-tlsmod3.c: Likewise.
51825         * elf/tst-tlsmod4.c: Likewise.
51826         * elf/tst-tlsmod5.c: Likewise.
51827         * elf/tst-tlsmod6.c: Likewise.
51829 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
51831         [BZ #12486]
51832         * malloc/malloc.c: remove checks for statistics.
51834 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51836         [BZ #15277]
51837         * inet/inet_net.c (inet_network): Detect additional invalid strings.
51838         * inet/tst-network.c: Add testcase.
51840 2013-10-17  Andreas Schwab  <schwab@suse.de>
51842         [BZ #15218]
51843         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51844         to determine canonical name.
51846 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
51848         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51849         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51850         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51851         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51852         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51853         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51854         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51855         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51856         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51857         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51858         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51859         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51860         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51861         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51862         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51863         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51864         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51865         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51866         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51867         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51868         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51869         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51870         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51871         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51872         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51873         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51874         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51875         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51876         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51877         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51878         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51879         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51880         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51881         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51882         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51883         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51884         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51885         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51886         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51887         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51888         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51889         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51890         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51891         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51892         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51893         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51894         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51895         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51896         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51897         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51898         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51899         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51900         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51901         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51902         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51903         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51904         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51905         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51907 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
51909         [BZ #16041]
51910         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51911         make result into a quiet NaN.
51913 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
51915         * soft-fp/adddf3.c: Fix horizontal whitespace.
51916         * soft-fp/addsf3.c: Likewise.
51917         * soft-fp/addtf3.c: Likewise.
51918         * soft-fp/divdf3.c: Likewise.
51919         * soft-fp/divsf3.c: Likewise.
51920         * soft-fp/divtf3.c: Likewise.
51921         * soft-fp/double.h: Likewise.
51922         * soft-fp/eqdf2.c: Likewise.
51923         * soft-fp/eqsf2.c: Likewise.
51924         * soft-fp/eqtf2.c: Likewise.
51925         * soft-fp/extenddftf2.c: Likewise.
51926         * soft-fp/extended.h: Likewise.
51927         * soft-fp/extendsfdf2.c: Likewise.
51928         * soft-fp/extendsftf2.c: Likewise.
51929         * soft-fp/extendxftf2.c: Likewise.
51930         * soft-fp/fixdfdi.c: Likewise.
51931         * soft-fp/fixdfsi.c: Likewise.
51932         * soft-fp/fixdfti.c: Likewise.
51933         * soft-fp/fixsfdi.c: Likewise.
51934         * soft-fp/fixsfsi.c: Likewise.
51935         * soft-fp/fixsfti.c: Likewise.
51936         * soft-fp/fixtfdi.c: Likewise.
51937         * soft-fp/fixtfsi.c: Likewise.
51938         * soft-fp/fixtfti.c: Likewise.
51939         * soft-fp/fixunsdfdi.c: Likewise.
51940         * soft-fp/fixunsdfsi.c: Likewise.
51941         * soft-fp/fixunsdfti.c: Likewise.
51942         * soft-fp/fixunssfdi.c: Likewise.
51943         * soft-fp/fixunssfsi.c: Likewise.
51944         * soft-fp/fixunssfti.c: Likewise.
51945         * soft-fp/fixunstfdi.c: Likewise.
51946         * soft-fp/fixunstfsi.c: Likewise.
51947         * soft-fp/fixunstfti.c: Likewise.
51948         * soft-fp/floatdidf.c: Likewise.
51949         * soft-fp/floatdisf.c: Likewise.
51950         * soft-fp/floatditf.c: Likewise.
51951         * soft-fp/floatsidf.c: Likewise.
51952         * soft-fp/floatsisf.c: Likewise.
51953         * soft-fp/floatsitf.c: Likewise.
51954         * soft-fp/floattidf.c: Likewise.
51955         * soft-fp/floattisf.c: Likewise.
51956         * soft-fp/floattitf.c: Likewise.
51957         * soft-fp/floatundidf.c: Likewise.
51958         * soft-fp/floatundisf.c: Likewise.
51959         * soft-fp/floatunditf.c: Likewise.
51960         * soft-fp/floatunsidf.c: Likewise.
51961         * soft-fp/floatunsisf.c: Likewise.
51962         * soft-fp/floatunsitf.c: Likewise.
51963         * soft-fp/floatuntidf.c: Likewise.
51964         * soft-fp/floatuntisf.c: Likewise.
51965         * soft-fp/floatuntitf.c: Likewise.
51966         * soft-fp/fmadf4.c: Likewise.
51967         * soft-fp/fmasf4.c: Likewise.
51968         * soft-fp/fmatf4.c: Likewise.
51969         * soft-fp/gedf2.c: Likewise.
51970         * soft-fp/gesf2.c: Likewise.
51971         * soft-fp/getf2.c: Likewise.
51972         * soft-fp/ledf2.c: Likewise.
51973         * soft-fp/lesf2.c: Likewise.
51974         * soft-fp/letf2.c: Likewise.
51975         * soft-fp/muldf3.c: Likewise.
51976         * soft-fp/mulsf3.c: Likewise.
51977         * soft-fp/multf3.c: Likewise.
51978         * soft-fp/negdf2.c: Likewise.
51979         * soft-fp/negsf2.c: Likewise.
51980         * soft-fp/negtf2.c: Likewise.
51981         * soft-fp/op-1.h: Likewise.
51982         * soft-fp/op-2.h: Likewise.
51983         * soft-fp/op-4.h: Likewise.
51984         * soft-fp/op-8.h: Likewise.
51985         * soft-fp/op-common.h: Likewise.
51986         * soft-fp/quad.h: Likewise.
51987         * soft-fp/single.h: Likewise.
51988         * soft-fp/soft-fp.h: Likewise.
51989         * soft-fp/sqrtdf2.c: Likewise.
51990         * soft-fp/sqrtsf2.c: Likewise.
51991         * soft-fp/sqrttf2.c: Likewise.
51992         * soft-fp/subdf3.c: Likewise.
51993         * soft-fp/subsf3.c: Likewise.
51994         * soft-fp/subtf3.c: Likewise.
51995         * soft-fp/truncdfsf2.c: Likewise.
51996         * soft-fp/trunctfdf2.c: Likewise.
51997         * soft-fp/trunctfsf2.c: Likewise.
51998         * soft-fp/trunctfxf2.c: Likewise.
51999         * soft-fp/unorddf2.c: Likewise.
52000         * soft-fp/unordsf2.c: Likewise.
52001         * soft-fp/unordtf2.c: Likewise.
52003 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
52005         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
52006         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
52008 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
52010         * elf/dl-libc.c: Clear initfini list after freeing.
52012 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
52014         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
52015         * soft-fp/addsf3.c: Likewise.
52016         * soft-fp/addtf3.c: Likewise.
52017         * soft-fp/divdf3.c: Likewise.
52018         * soft-fp/divsf3.c: Likewise.
52019         * soft-fp/divtf3.c: Likewise.
52020         * soft-fp/double.h: Likewise.
52021         * soft-fp/eqdf2.c: Likewise.
52022         * soft-fp/eqsf2.c: Likewise.
52023         * soft-fp/eqtf2.c: Likewise.
52024         * soft-fp/extenddftf2.c: Likewise.
52025         * soft-fp/extended.h: Likewise.
52026         * soft-fp/extendsfdf2.c: Likewise.
52027         * soft-fp/extendsftf2.c: Likewise.
52028         * soft-fp/extendxftf2.c: Likewise.
52029         * soft-fp/fixdfdi.c: Likewise.
52030         * soft-fp/fixdfsi.c: Likewise.
52031         * soft-fp/fixdfti.c: Likewise.
52032         * soft-fp/fixsfdi.c: Likewise.
52033         * soft-fp/fixsfsi.c: Likewise.
52034         * soft-fp/fixsfti.c: Likewise.
52035         * soft-fp/fixtfdi.c: Likewise.
52036         * soft-fp/fixtfsi.c: Likewise.
52037         * soft-fp/fixtfti.c: Likewise.
52038         * soft-fp/fixunsdfdi.c: Likewise.
52039         * soft-fp/fixunsdfsi.c: Likewise.
52040         * soft-fp/fixunsdfti.c: Likewise.
52041         * soft-fp/fixunssfdi.c: Likewise.
52042         * soft-fp/fixunssfsi.c: Likewise.
52043         * soft-fp/fixunssfti.c: Likewise.
52044         * soft-fp/fixunstfdi.c: Likewise.
52045         * soft-fp/fixunstfsi.c: Likewise.
52046         * soft-fp/fixunstfti.c: Likewise.
52047         * soft-fp/floatdidf.c: Likewise.
52048         * soft-fp/floatdisf.c: Likewise.
52049         * soft-fp/floatditf.c: Likewise.
52050         * soft-fp/floatsidf.c: Likewise.
52051         * soft-fp/floatsisf.c: Likewise.
52052         * soft-fp/floatsitf.c: Likewise.
52053         * soft-fp/floattidf.c: Likewise.
52054         * soft-fp/floattisf.c: Likewise.
52055         * soft-fp/floattitf.c: Likewise.
52056         * soft-fp/floatundidf.c: Likewise.
52057         * soft-fp/floatundisf.c: Likewise.
52058         * soft-fp/floatunsidf.c: Likewise.
52059         * soft-fp/floatunsisf.c: Likewise.
52060         * soft-fp/floatuntidf.c: Likewise.
52061         * soft-fp/floatuntisf.c: Likewise.
52062         * soft-fp/floatuntitf.c: Likewise.
52063         * soft-fp/fmadf4.c: Likewise.
52064         * soft-fp/fmasf4.c: Likewise.
52065         * soft-fp/fmatf4.c: Likewise.
52066         * soft-fp/gedf2.c: Likewise.
52067         * soft-fp/gesf2.c: Likewise.
52068         * soft-fp/getf2.c: Likewise.
52069         * soft-fp/ledf2.c: Likewise.
52070         * soft-fp/lesf2.c: Likewise.
52071         * soft-fp/letf2.c: Likewise.
52072         * soft-fp/muldf3.c: Likewise.
52073         * soft-fp/mulsf3.c: Likewise.
52074         * soft-fp/multf3.c: Likewise.
52075         * soft-fp/negdf2.c: Likewise.
52076         * soft-fp/negsf2.c: Likewise.
52077         * soft-fp/negtf2.c: Likewise.
52078         * soft-fp/op-1.h: Likewise.
52079         * soft-fp/op-2.h: Likewise.
52080         * soft-fp/op-4.h: Likewise.
52081         * soft-fp/op-8.h: Likewise.
52082         * soft-fp/op-common.h: Likewise.
52083         * soft-fp/quad.h: Likewise.
52084         * soft-fp/single.h: Likewise.
52085         * soft-fp/soft-fp.h: Likewise.
52086         * soft-fp/sqrtdf2.c: Likewise.
52087         * soft-fp/sqrtsf2.c: Likewise.
52088         * soft-fp/sqrttf2.c: Likewise.
52089         * soft-fp/subdf3.c: Likewise.
52090         * soft-fp/subsf3.c: Likewise.
52091         * soft-fp/subtf3.c: Likewise.
52092         * soft-fp/truncdfsf2.c: Likewise.
52093         * soft-fp/trunctfdf2.c: Likewise.
52094         * soft-fp/trunctfsf2.c: Likewise.
52095         * soft-fp/trunctfxf2.c: Likewise.
52096         * soft-fp/unorddf2.c: Likewise.
52097         * soft-fp/unordsf2.c: Likewise.
52098         * soft-fp/unordtf2.c: Likewise.
52100 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
52102         [BZ #15672]
52103         * misc/error.c (error_tail): Fix possible buffer overflow.
52105 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
52107         [BZ #13028]
52108         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52109         address.
52111 2013-10-14  P. J. McDermott  <pj@pehjota.net>
52113         [BZ #832]
52114         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
52115         testing pipefail option.
52117 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
52119         * soft-fp/double.h: Indent preprocessor directives inside #if.
52120         * soft-fp/extended.h: Likewise.
52121         * soft-fp/op-2.h: Likewise.
52122         * soft-fp/op-4.h: Likewise.
52123         * soft-fp/op-common.h: Likewise.
52124         * soft-fp/quad.h: Likewise.
52125         * soft-fp/single.h: Likewise.
52126         * soft-fp/soft-fp.h: Likewise.
52128 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
52130         * iconv/iconv_prog.c: Fix typos.
52131         * stdio-common/psiginfo-data.h: Likewise.
52133 2013-10-12   Reuben Thomas <rrt@sc3d.org>
52135         [BZ #15764]
52136         * locale/setlocale.c: Fix typo.
52138 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
52140         [BZ #16036]
52141         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
52142         signaling NaN arguments.
52143         * soft-fp/unordsf2.c (__unordsf2): Likewise.
52144         * soft-fp/unordtf2.c (__unordtf2): Likewise.
52146         [BZ #14910]
52147         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
52148         unordered operands.
52149         * soft-fp/gesf2.c (__gesf2): Likewise.
52150         * soft-fp/getf2.c (__getf2): Likewise.
52151         * soft-fp/ledf2.c (__ledf2): Likewise.
52152         * soft-fp/lesf2.c (__lesf2): Likewise.
52153         * soft-fp/letf2.c (__letf2): Likewise.
52155         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
52156         * soft-fp/eqsf2.c (__eqsf2): Likewise.
52157         * soft-fp/eqtf2.c (__eqtf2): Likewise.
52158         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
52159         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
52160         * soft-fp/fixdfti.c (__fixdfti): Likewise.
52161         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
52162         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
52163         * soft-fp/fixsfti.c (__fixsfti): Likewise.
52164         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
52165         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
52166         * soft-fp/fixtfti.c (__fixtfti): Likewise.
52167         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52168         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
52169         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
52170         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
52171         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
52172         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
52173         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
52174         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
52175         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
52176         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
52177         * soft-fp/floatdisf.c (__floatdisf): Likewise.
52178         * soft-fp/floatsisf.c (__floatsisf): Likewise.
52179         * soft-fp/floattidf.c (__floattidf): Likewise.
52180         * soft-fp/floattisf.c (__floattisf): Likewise.
52181         * soft-fp/floattitf.c (__floattitf): Likewise.
52182         * soft-fp/floatundidf.c (__floatundidf): Likewise.
52183         * soft-fp/floatundisf.c (__floatundisf): Likewise.
52184         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
52185         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
52186         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
52187         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
52188         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
52189         * soft-fp/gesf2.c (__gesf2): Likewise.
52190         * soft-fp/getf2.c (__getf2): Likewise.
52191         * soft-fp/ledf2.c (__ledf2): Likewise.
52192         * soft-fp/lesf2.c (__lesf2): Likewise.
52193         * soft-fp/letf2.c (__letf2): Likewise.
52195         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
52196         Undefine and redefine.
52197         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
52198         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
52199         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
52200         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
52201         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52202         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
52203         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52204         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
52205         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52206         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
52207         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52208         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
52209         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52210         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
52211         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52213         [BZ #16032]
52214         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
52215         without decrementing exponent if mantissa >= that for the
52216         denominator, not >.
52217         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
52218         denominator, not >.  Decrement exponent in < case instead of
52219         incrementing in >= case.
52220         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
52221         without decrementing exponent if mantissa >= that for the
52222         denominator, not >.
52224         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
52225         computing saturated result for unsigned overflow.
52227 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
52228             Jeff Law  <law@redhat.com>
52230         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
52231         (atan2Mp): Add systemtap probe marker.
52232         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
52233         (__ieee754_log): Add systemtap probe marker.
52234         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
52235         (atanMp): Add systemtap probe marker.
52236         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
52237         (tanMp): Add systemtap probe marker.
52238         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
52239         (__slowexp): Add systemtap probe marker.
52240         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
52241         (__slowpow): Add systemtap probe marker.
52242         * manual/probes.texi: Document probes.
52244 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
52246         [BZ #15362]
52247         * libio/fileops.c (_IO_new_file_write): Return count of bytes
52248         written.
52249         (_IO_new_file_xsputn): Don't return EOF if nothing has been
52250         written.
52251         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
52252         written to buffer but not flushed.
52253         * libio/iofwrite_u.c:  Likewise.
52254         * libio/iopadn.c:  Return bytes returned even if EOF was
52255         encountered.
52256         * libio/iowpadn.c:  Likewise.
52257         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
52258         if _IO_padn does not write the whole buffer.
52259         [!COMPILE_WPRINTF] (PAD): Likewise.
52261 2013-10-10  David S. Miller  <davem@davemloft.net>
52263         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
52264         directory block.
52266 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
52268         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
52269         instead of FSF address.
52270         * soft-fp/fixdfti.c: Likewise.
52271         * soft-fp/fixsfti.c: Likewise.
52272         * soft-fp/fixtfti.c: Likewise.
52273         * soft-fp/fixunsdfti.c: Likewise.
52274         * soft-fp/fixunssfti.c: Likewise.
52275         * soft-fp/fixunstfti.c: Likewise.
52276         * soft-fp/floattidf.c: Likewise.
52277         * soft-fp/floattisf.c: Likewise.
52278         * soft-fp/floattitf.c: Likewise.
52279         * soft-fp/floatuntidf.c: Likewise.
52280         * soft-fp/floatuntisf.c: Likewise.
52281         * soft-fp/floatuntitf.c: Likewise.
52282         * soft-fp/trunctfxf2.c: Likewise.
52284         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
52285         * soft-fp/fixdfti.c: Likewise.
52286         * soft-fp/fixsfti.c: Likewise.
52287         * soft-fp/fixtfti.c: Likewise.
52288         * soft-fp/fixunsdfti.c: Likewise.
52289         * soft-fp/fixunssfti.c: Likewise.
52290         * soft-fp/fixunstfti.c: Likewise.
52291         * soft-fp/floattidf.c: Likewise.
52292         * soft-fp/floattisf.c: Likewise.
52293         * soft-fp/floattitf.c: Likewise.
52294         * soft-fp/floatuntidf.c: Likewise.
52295         * soft-fp/floatuntisf.c: Likewise.
52296         * soft-fp/floatuntitf.c: Likewise.
52297         * soft-fp/trunctfxf2.c: Likewise.
52299 2013-10-10  David S. Miller  <davem@davemloft.net>
52301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52303 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
52305         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52306         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
52307         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52308         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52309         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52310         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52311         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52313         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52314         for NaNs before doing comparisons on argument.
52315         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52316         Likewise.
52318 2013-10-10  Will Newton  <will.newton@linaro.org>
52320         * malloc/hooks.c (memalign_check): Ensure the value of bytes
52321         passed to _int_memalign does not overflow.
52323 2013-10-10  Torvald Riegel  <triegel@redhat.com>
52325         * scripts/bench.pl: Add include-sources directive.
52326         * benchtests/README: Update documentation.
52328 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
52330         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52331         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52332         instead of FP_INIT_ROUNDMODE.
52333         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52334         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52336         [BZ #16034]
52337         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
52338         copy class of input value.
52339         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
52340         not handle exceptions.
52341         * soft-fp/negsf2.c (__negsf2): Likewise.
52342         * soft-fp/negtf2.c (__negtf2): Likewise.
52343         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52345 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
52347         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52348         semicolon.  From Linux kernel.
52350 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
52352         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52354 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
52356         [BZ #156]
52357         * manual/socket.texi: Added statement about buffer
52358         for gethostbyname2_r.
52360 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
52362         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52363         Use .p2align directive instead, throughout.
52364         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52365         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52366         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52367         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52368         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52369         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52370         * sysdeps/x86_64/strchr.S: Likewise.
52371         * sysdeps/x86_64/strrchr.S: Likewise.
52373 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52375         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52377         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52379         * sysdeps/generic/math_private.h (__mpsin1): Remove
52380         declaration.
52381         (__mpcos1): Likewise.
52382         (__mpsin): New argument __range_reduce.
52383         (__mpcos): Likewise.
52384         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52385         (slow): Use __mpsin and __mpcos.
52386         (slow1): Likewise.
52387         (slow2): Likewise.
52388         (sloww): Likewise.
52389         (sloww1): Likewise.
52390         (sloww2): Likewise.
52391         (bsloww): Likewise.
52392         (bsloww1): Likewise.
52393         (bsloww2): Likewise.
52394         (cslow2): Likewise.
52395         (csloww): Likewise.
52396         (csloww1): Likewise.
52397         (csloww2): Likewise.
52398         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52399         range_reduce.  Merge in __mpsin1.
52400         (__mpcos): Likewise.
52401         (__mpsin1): Remove.
52402         (__mpcos1): Likewise.
52404 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
52406         * locale/loadlocale.c (_nl_intern_locale_data): Use
52407         LOCFILE_ALIGNED_P.
52408         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52409         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52410         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52411         obstack data is appropriately aligned.
52412         (obstack_int32_grow_fast): Likewise.
52413         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52414         * locale/programs/locfile.c (add_locale_uint32): Likewise.
52415         (add_locale_uint32_array): Likewise.
52417 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52419         * benchtests/Makefile: Remove ARGLIST and RET variables.
52420         ($(objpfx)bench-%.c): Pass only function name to the script.
52421         * benchtests/README: Update documentation.
52422         * benchtests/acos-inputs: Add new directives.
52423         * benchtests/acosh-inputs: Likewise.
52424         * benchtests/asin-inputs: Likewise.
52425         * benchtests/asinh-inputs: Likewise.
52426         * benchtests/atan-inputs: Likewise.
52427         * benchtests/atanh-inputs: Likewise.
52428         * benchtests/cos-inputs: Likewise.
52429         * benchtests/cosh-inputs: Likewise.
52430         * benchtests/exp-inputs: Likewise.
52431         * benchtests/log-inputs: Likewise.
52432         * benchtests/pow-inputs: Likewise.
52433         * benchtests/rint-inputs: Likewise.
52434         * benchtests/sin-inputs: Likewise.
52435         * benchtests/sinh-inputs: Likewise.
52436         * benchtests/tan-inputs: Likewise.
52437         * benchtests/tanh-inputs: Likewise.
52438         * scripts/bench.pl: Add support for new directives.
52440 2013-10-07  Alan Modra  <amodra@gmail.com>
52442         * README: Fix careless merge.
52444 2013-10-05  Alan Modra  <amodra@gmail.com>
52446         * NEWS: Mention powerpc64le support and bugs fixed.
52447         * README: Both big-endian and little-endian powerpc64 supported.
52449 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52451         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52452         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52453         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52454         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52456 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
52458         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52459         match prototype.
52461 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
52463         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52464         Move -mhard-float appending from
52465         ports/sysdeps/powerpc/powerpc32/Makefile.
52466         [$(with-fp) = yes] (ASFLAGS): Likewise.
52467         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52468         * sysdeps/powerpc/nofpu: Move directory from
52469         ports/sysdeps/powerpc/nofpu.
52470         * sysdeps/powerpc/soft-fp: Move directory from
52471         ports/sysdeps/powerpc/soft-fp.
52472         * sysdeps/powerpc/powerpc32/405: Move directory from
52473         ports/sysdeps/powerpc/powerpc32/405.
52474         * sysdeps/powerpc/powerpc32/440: Move directory from
52475         ports/sysdeps/powerpc/powerpc32/440.
52476         * sysdeps/powerpc/powerpc32/464: Move directory from
52477         ports/sysdeps/powerpc/powerpc32/464.
52478         * sysdeps/powerpc/powerpc32/476: Move directory from
52479         ports/sysdeps/powerpc/powerpc32/476.
52480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52481         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52483         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52485         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52487         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52489         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52490         * README: Update for powerpc-*-linux-gnu software floating point
52491         support in libc.
52493         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52494         case to powerpc/powerpc32*.
52495         * sysdeps/unix/sysv/linux/configure: Regenerated.
52497         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52498         (_FPU_MASK_OM): Define as 0x04.
52499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52500         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52501         0x00c10080.
52502         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52503         0x0000003c.
52504         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52507         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52508         getcontext_e500.
52509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52510         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52511         setcontext_e500.
52512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52513         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52514         and setcontext_e500.
52516 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
52518         * locale/iso-3166.def: Update iso-1366.def and related occurrences
52520 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
52522         * manual/threads.texi (Default Thread Attributes): Fix typo.
52524 2013-10-04  Will Newton  <will.newton@linaro.org>
52526         * malloc/Makefile: Add tst-memalign.
52527         * malloc/tst-memalign.c: New file.
52529         * malloc/tst-posix_memalign.c: Add comments.
52530         (do_test): Add comments and call free on all potentially
52531         allocated pointers. Add space after cast.
52533         * malloc/tst-pvalloc.c: Add comments.
52534         (do_test): Add comments and call free on all potentially
52535         allocated pointers. Remove duplicate check for NULL pointer.
52536         Add space after cast.
52538         * malloc/tst-valloc.c: Add comments.
52539         (do_test): Add comments and call free on all potentially
52540         allocated pointers. Remove duplicate check for NULL pointer.
52541         Add space after cast.
52543 2013-10-04  Alan Modra  <amodra@gmail.com>
52545         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52546         Use stdint types in rather than __attribute__((mode())).
52547         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52549 2013-10-04  Alan Modra  <amodra@gmail.com>
52551         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52552         Correct handling of unaligned relocs for little-endian.
52553         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52555 2013-10-04  Alan Modra  <amodra@gmail.com>
52557         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52558         * configure: Regenerate.
52559         * nptl/shlib-versions: Powerpc*le starts at 2.18.
52560         * shlib-versions: Likewise.
52562 2013-10-04  Alan Modra  <amodra@gmail.com>
52564         * string/tester.c (test_memrchr): Increment reported test cycle.
52566 2013-10-04  Alan Modra  <amodra@gmail.com>
52568         * string/test-memcpy.c (do_one_test): When reporting errors, print
52569         string address and don't overrun end of string.
52571 2013-10-04  Alan Modra  <amodra@gmail.com>
52573         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52574         insrdi.  Make better use of reg selection to speed exit slightly.
52575         Schedule entry path a little better.  Remove useless "are we done"
52576         checks on entry to main loop.  Handle wrapping around zero address.
52577         Correct main loop count.  Handle single left-over word from main
52578         loop inline rather than by using loop_small.  Remove extra word
52579         case in loop_small caused by wrong loop count.  Add little-endian
52580         support.
52581         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52582         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
52583         cache hint.
52584         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52585         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52586         support.  Avoid rlwimi.
52587         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52589 2013-10-04  Alan Modra  <amodra@gmail.com>
52591         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52592         insrdi.  Formatting.
52593         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52594         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52595         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52596         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52597         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52598         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52600 2013-10-04  Alan Modra  <amodra@gmail.com>
52602         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52604         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52605         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52606         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52607         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52608         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52609         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52610         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
52611         use of regs.  Use power7 mtocrf.  Tidy function tails.
52613 2013-10-04  Alan Modra  <amodra@gmail.com>
52615         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52616         Formatting.  Consistently use rXXX register defines or rN defines.
52617         Use early exit labels that avoid restoring unused non-volatile regs.
52618         Make cr field use more consistent with rWORDn compares.  Rename
52619         regs used as shift registers for unaligned loop, using rN defines
52620         for short lifetime/multiple use regs.
52621         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52622         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
52623         addi 1,1,64 to pop stack frame.  Simplify return value code.
52624         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52626 2013-10-04  Alan Modra  <amodra@gmail.com>
52628         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52629         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
52630         rather than rlwimi.
52631         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52632         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52633         little-endian support.  Correct typos.
52634         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
52635         rather than rlwimi.
52636         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
52637         in loop and entry code to keep "and." results.
52638         (strchr): Add little-endian support.  Comment.  Move cntlzd
52639         earlier in tail.
52640         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52642 2013-10-04  Alan Modra  <amodra@gmail.com>
52644         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52645         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52646         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52647         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52649 2013-10-04  Alan Modra  <amodra@gmail.com>
52651         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52652         (rTMP): Define as r11.
52653         (strcmp): Add little-endian support.  Optimise tail.
52654         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52655         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52656         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52657         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52658         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52659         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52660         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52662 2013-10-04  Alan Modra  <amodra@gmail.com>
52664         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52665         little-endian support.  Remove unnecessary "are we done" tests.
52666         Handle "s" wrapping around zero and extremely large "size".
52667         Correct main loop count.  Handle single left-over word from main
52668         loop inline rather than by using small_loop.  Correct comments.
52669         Delete "zero" tail, use "end_max" instead.
52670         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52672 2013-10-04  Alan Modra  <amodra@gmail.com>
52674         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52675         support.  Don't branch over align.
52676         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52677         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52678         support.  Rearrange tmp reg use to suit.  Comment.
52679         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52681 2013-10-04  Alan Modra  <amodra@gmail.com>
52683         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52685 2013-10-04  Alan Modra  <amodra@gmail.com>
52687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52688         conditional form of branch and link when obtaining pc.
52689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52691 2013-10-04  Alan Modra  <amodra@gmail.com>
52693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52694         HIWORD/LOWORD.
52695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52698 2013-10-04  Alan Modra  <amodra@gmail.com>
52700         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52701         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52702         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52703         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52704         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52705         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52706         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52707         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52708         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52709         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52711 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52712             Alistair Popple <alistair@ozlabs.au.ibm.com>
52713             Alan Modra <amodra@gmail.com>
52715         [BZ #15723]
52716         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52717         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52718         _dl_hwcap access for little-endian.
52719         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
52720         destroy vmx regs when saving unaligned.
52721         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52722         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
52723         destroy vmx regs when saving unaligned.
52725 2013-10-04  Alan Modra  <amodra@gmail.com>
52727         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52728         Don't use a union to pack hi/low value.
52730 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52732         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52733         for little-endian.
52734         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52735         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52736         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52737         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52738         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52740 2013-10-04  Alan Modra  <amodra@gmail.com>
52742         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52743         constants to usual value for .cst8 section, and remove redundant
52744         high address load.
52745         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52746         constant for 0x1p52.  Load little-endian words of double from
52747         correct stack offsets.
52749 2013-10-04  Alan Modra  <amodra@gmail.com>
52751         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52752         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52753         words of double from correct stack offsets.
52754         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52755         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52756         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52757         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52758         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52759         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52760         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52761         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52762         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52763         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52764         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52765         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52766         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52767         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52768         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52769         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52770         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52772 2013-10-04  Alan Modra  <amodra@gmail.com>
52774         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52775         64-bit int/double union.
52776         (_FPU_SETCW): Likewise.
52777         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52778         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52780 2013-10-04  Alan Modra  <amodra@gmail.com>
52782         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52783         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52785 2013-10-04  Alan Modra  <amodra@gmail.com>
52787         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52788         use vector int constants.
52789         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52791 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52793         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52794         array with long long.
52795         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52796         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52797         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52798         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52799         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52800         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52801         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52802         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52803         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52804         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52805         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52806         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52807         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52809 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
52811         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52812         (__signbit): Likewise.  Correct for little-endian.
52813         (__signbitl): Call __signbit.
52814         (lrint): Correct for little-endian.
52815         (lrintf): Call lrint.
52817 2013-10-04  Alan Modra  <amodra@gmail.com>
52819         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52820         union 32-bit int array member with 64-bit int array.
52821         (t515, tm256): Double rather than long double.
52822         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52824 2013-10-04  Alan Modra  <amodra@gmail.com>
52826         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52827         Delete.
52828         (IEEE854_LONG_DOUBLE_BIAS): Delete.
52829         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52830         version of math_ldbl.h.
52832 2013-10-04  Alan Modra  <amodra@gmail.com>
52834         [BZ #15734], [BZ #15735]
52835         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52836         all uses of ieee875 long double macros and unions.  Simplify test
52837         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
52838         ldbl_extract_mantissa value for ix,iy exponents.  Properly
52839         normalize after ldbl_extract_mantissa, and don't add hidden bit
52840         already handled.  Don't treat low word of ieee854 mantissa like
52841         low word of IBM long double and mask off bit when testing for
52842         zero.
52843         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52844         all uses of ieee875 long double macros and unions.  Simplify tests
52845         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
52846         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
52847         two1022, instead use their values.  Recognise that tests for large
52848         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
52849         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52850         Rewrite all uses of ieee875 long double macros and unions.  Simplify
52851         test for 0.0L and nan.  Correct negation.
52852         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52853         ieee875 long double macros and unions.  Correct output for large
52854         magnitude x.  Correct absolute value calculation.
52855         (__erfcl): Likewise.
52856         * math/libm-test.inc: Add tests for errors discovered in IBM long
52857         double versions of fmodl, remainderl, erfl and erfcl.
52859 2013-10-04  Alan Modra  <amodra@gmail.com>
52861         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52862         all uses of ieee854 long double macros and unions.  Simplify tests
52863         for long doubles that are fully specified by the high double.
52864         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52865         Likewise.
52866         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52867         Remove dead code too.
52868         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52869         (__ieee754_ynl): Likewise.
52870         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52871         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52872         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52873         Remove dead code too.
52874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52875         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52876         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52877         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52878         Simplify.
52879         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52880         Simplify.
52881         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52882         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52883         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52884         Comment on variable precision.
52885         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52886         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52887         Likewise.
52888         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52889         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52890         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52891         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52892         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52894 2013-10-04  Alan Modra  <amodra@gmail.com>
52896         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52897         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52898         all uses of ieee854 long double macros and unions.
52899         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52900         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52901         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52902         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52903         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52904         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52905         Likewise.
52906         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52907         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52908         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52909         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52910         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52911         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52912         Simplify sign and nan test too.
52913         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52914         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52915         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52916         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52917         Likewise.
52918         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52919         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52920         Likewise.
52921         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52922         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52923         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52924         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52925         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52926         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52928 2013-10-04  Alan Modra  <amodra@gmail.com>
52930         * stdio-common/printf_size.c (__printf_size): Don't use
52931         union ieee854_long_double in fpnum union.
52932         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
52933         signbit macro to retrieve sign from long double.
52934         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52935         retrieve sign from long double.
52936         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52937         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52938         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52939         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52940         * math/test-misc.c (main): Don't use union ieee854_long_double.
52942 2013-10-04  Alan Modra  <amodra@gmail.com>
52944         [BZ #15680]
52945         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52946         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52947         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52948         calculation.  Remove unnecessary test for denormal exponent.
52949         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52950         Correct handling of denormals.  Avoid undefined shift behaviour.
52951         Correct normalisation of low mantissa when low double is denormal.
52952         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52953         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
52954         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52955         Correct normalisation of low mantissa.  Test for overflow of high
52956         mantissa and normalise.
52957         (ldbl_nearbyint): Use more readable constant for two52.
52958         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52959         (__mpn_construct_long_double): Fix test for overflow of high
52960         mantissa and correct normalisation.  Avoid undefined shift.
52962 2013-10-04  Alan Modra  <amodra@gmail.com>
52964         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52965         (union ibm_extended_long_double): Define as an array of ieee754_double.
52966         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52967         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52968         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52969         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52970         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52971         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52972         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52973         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52974         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52975         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52976         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52978 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
52980         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52981         page size instead of calling getpagesize.
52983         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52984         (LOCFILE_ALIGN_MASK): Likewise.
52985         (LOCFILE_ALIGN_UP): Likewise.
52986         (LOCFILE_ALIGNED_P): Likewise.
52987         * locale/programs/ld-collate.c (collate_output): Use the new
52988         macros instead of __alignof__ (int32_t).
52989         * locale/weight.h (findidx): Likewise.
52991 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
52993         [BZ #431]
52994         * manual/string.texi: Fix strncat and wcsncat.
52996 2013-10-03  Brooks Moses  <bmoses@google.com>
52998         [BZ #15915]
52999         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
53000         * Makerules: ...here, and adjust associated comments.
53002 2013-10-02  Will Newton  <will.newton@linaro.org>
53004         * malloc/Makefile: Add tst-pvalloc.
53005         * malloc/tst-pvalloc.c: New file.
53007 2013-10-02  Will Newton  <will.newton@linaro.org>
53009         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
53010         improve test coverage.
53012 2013-10-02  Will Newton  <will.newton@linaro.org>
53014         * malloc/Makefile: Add tst-posix_memalign.
53015         * malloc/tst-posix_memalign.c: New file.
53017 2013-10-01  Eric Blake  <eblake@redhat.com>
53019         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
53020         Use __THROWNL rather than __THROW on static functions.
53022 2013-09-30  Petr Machata  <pmachata@redhat.com>
53024         * elf/elf.h (R_AARCH64_ABS16): New macro.
53025         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
53026         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
53027         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
53028         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
53029         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
53030         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
53031         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
53032         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
53033         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
53034         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
53035         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
53036         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
53037         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
53038         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
53039         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
53040         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
53041         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
53042         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
53043         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
53044         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
53045         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
53046         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
53047         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
53048         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
53049         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
53050         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
53051         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
53052         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
53053         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
53054         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
53055         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
53056         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
53057         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
53058         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
53059         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
53060         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
53061         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
53062         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
53063         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
53064         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
53065         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
53066         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
53067         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
53068         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
53069         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
53070         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
53071         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
53072         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
53073         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53074         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
53075         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
53076         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53077         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53078         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53079         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53080         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53081         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53082         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53083         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53084         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53085         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53086         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53087         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53088         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53089         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53090         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53091         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53092         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53093         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53094         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53095         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53096         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53097         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53098         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53099         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53100         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53101         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53102         (R_AARCH64_TLSDESC_LDR): Likewise.
53103         (R_AARCH64_TLSDESC_ADD): Likewise.
53104         (R_AARCH64_TLSDESC_CALL): Likewise.
53106 2013-09-30  Andreas Schwab  <schwab@suse.de>
53108         [BZ #15048]
53109         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53110         the nss database lookup.
53111         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53114 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
53116         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53118 2013-09-28  P. J. McDermott  <pj@pehjota.net>
53120         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53121         ${Bash-specific parameter/pattern/string} parameter expansion.
53122         * sysdeps/unix/make-syscalls.sh: Likewise.
53124 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
53126         * sysdeps/sh/stackguard-macros.h: New file.
53128 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
53130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53131         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53132         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53133         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53134         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53135         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
53137 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53139         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
53140         Fix thread ID register.
53142 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
53144         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
53145         [POSIX || UNIX98]: Require rather than permitting all symbols from
53146         <time.h>.
53147         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
53148         element of struct sched_param.
53149         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
53150         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
53151         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
53152         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
53153         constant.
53155 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
53157         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
53158         argument calculation.
53160 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
53162         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
53163         Expect macro.
53164         [POSIX] (pthread_attr_t): Do not require type.
53165         [POSIX] (pthread_cond_t): Likewise.
53166         [POSIX] (pthread_condattr_t): Likewise.
53167         [POSIX] (pthread_key_t): Likewise.
53168         [POSIX] (pthread_mutex_t): Likewise.
53169         [POSIX] (pthread_mutexattr_t): Likewise.
53170         [POSIX] (pthread_once_t): Likewise.
53171         [POSIX] (pthread_t): Likewise.
53172         [POSIX-based standards] (pthread_atfork): Expect function.
53174 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
53175             Richard Sandiford  <richard@codesourcery.com>
53177         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
53178         (swap_endianness_p): New extern variable.
53179         (set_big_endian): New inline function.
53180         (maybe_swap_uint32): Likewise.
53181         (maybe_swap_uint32_array): Likewise.
53182         (maybe_swap_uint32_obstack): Likewise.
53183         * locale/programs/locfile.c: Include <stdbool.h>.
53184         (swap_endianness_p): New variable.
53185         (add_locale_uint32): Call maybe_swap_uint32.
53186         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
53187         (write_locale_data): Call maybe_swap_uint32_array.
53188         * locale/programs/ld-collate.c (obstack_int32_grow): Call
53189         maybe_swap_uint32.
53190         (obstack_int32_grow_fast): Likewise.
53191         (output_weightwc): Call maybe_swap_uint32_obstack.
53192         (collate_output): Likewise.
53193         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
53194         (OPT_LITTLE_ENDIAN): Likewise.
53195         (options): Add --little-endian and --big-endian options.
53196         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
53197         * locale/programs/locarchive.c: Include "locfile.h".
53198         (GET): New macro.
53199         (SET): Likewise.
53200         (INC): Likewise.
53201         (create_archive): Use the new macros to access fields of
53202         structures directly mapped from or written to locale archives.
53203         (oldlocrecentcmp): Likewise.
53204         (enlarge_archive): Likewise.
53205         (insert_name): Likewise.
53206         (add_alias): Likewise.
53207         (add_locale): Likewise.
53208         (delete_locales_from_archive): Likewise.
53209         (show_archive_content): Likewise.
53210         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
53211         locale data.
53213 2013-09-24  Roland McGrath  <roland@hack.frob.com>
53215         * manual/freemanuals.texi: Updated from (newly) canonical copy at
53216         http://www.gnu.org/doc/freemanuals.texi.
53217         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
53219 2013-09-24  Will Newton  <will.newton@linaro.org>
53221         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
53222         macro.
53224 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
53226         * locale/hashval.h (compute_hashval): Interpret bytes of key as
53227         unsigned char.
53229 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
53231         * manual/threads.texi (POSIX Threads): Fix a typo.
53233 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53235         [BZ #14547]
53236         * string/tst-strcoll-overflow.c: New test case.
53237         * string/Makefile (xtests): Add tst-strcoll-overflow.
53238         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
53239         cache if string sizes may cause integer overflow.
53241         [BZ #14547]
53242         * string/strcoll_l.c (coll_seq): New members rule, idx,
53243         save_idx and back_us.
53244         (get_next_seq_nocache): New function.
53245         (do_compare_nocache): New function.
53246         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
53247         when malloc fails.
53249 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
53251         [BZ #15754]
53252         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
53253         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
53254         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
53256         [BZ #15754]
53257         * elf/Makefile (tests): Add tst-ptrguard1.
53258         (tests-static): Add tst-ptrguard1-static.
53259         (tst-ptrguard1-ARGS): Define.
53260         (tst-ptrguard1-static-ARGS): Define.
53261         * elf/tst-ptrguard1.c: New file.
53262         * elf/tst-ptrguard1-static.c: New file.
53263         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
53264         * sysdeps/i386/stackguard-macros.h: Likewise.
53265         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
53266         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
53267         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
53268         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
53269         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
53270         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
53272 2013-09-23  Hector Marco  <hecmargi@upv.es>
53273             Ismael Ripoll  <iripoll@disca.upv.es>
53274             Carlos O'Donell  <carlos@redhat.com>
53276         [BZ #15754]
53277         * sysdeps/generic/stackguard-macros.h: Define
53278         __pointer_chk_guard_local and POINTER_CHK_GUARD.
53279         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
53280         Define __pointer_chk_guard_local.
53281         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
53282         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
53284 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
53286         [BZ #15859]
53287         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
53289 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
53291         * include/string.h (__ffs): Declare as hidden.
53292         * string/ffs.c (__ffs): Define as hidden.
53293         * sysdeps/i386/ffs.c (__ffs): Likewise.
53294         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
53295         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
53296         * sysdeps/s390/ffs.c (__ffs): Likewise.
53297         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
53299 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
53301         * NEWS: Mention malloc probes.
53303         * malloc/arena.c (new_heap): New memory_heap_new probe.
53304         (grow_heap): New memory_heap_more probe.
53305         (shrink_heap): New memory_heap_less probe.
53306         (heap_trim): New memory_heap_free probe.
53307         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53308         (systrim): New memory_sbrk_less probe.
53309         * manual/probes.texi: Document them.
53311         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53312         * manual/probes.texi: Document it.
53314         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53315         (__libc_realloc): Add memory_realloc_retry probe.
53316         (__libc_memalign): Add memory_memalign_retry probe.
53317         (__libc_valloc): Add memory_valloc_retry probe.
53318         (__libc_pvalloc): Add memory_pvalloc_retry probe.
53319         (__libc_calloc): Add memory_calloc_retry probe.
53320         * manual/probes.texi: Document them.
53322         * malloc/arena.c (get_free_list): Add probe
53323         memory_arena_reuse_free_list.
53324         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53325         and memory_arena_reuse.
53326         (arena_get2) [!PER_THREAD]: Likewise.
53327         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53328         memory_arena_reuse_realloc.
53329         * manual/probes.texi: Document them.
53331         * malloc/malloc.c (__libc_free): Add
53332         memory_mallopt_free_dyn_thresholds probe.
53333         (__libc_mallopt): Add multiple memory_mallopt probes.
53334         * manual/probes.texi: Document them.
53336         * malloc/malloc.c: Include stap-probe.h.
53337         (__libc_mallopt): Add memory_mallopt probe.
53338         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53339         * manual/probes.texi: New.
53340         * manual/Makefile (chapters): Add probes.
53341         * manual/threads.texi: Set next node.
53343 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
53345         [BZ #15963, #13985]
53346         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53347         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53348         Add `Chinese' to `nan' entry name.
53350 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53352         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53353         (POLYNOMIAL): Likewise.
53354         (TAYLOR_SINCOS): Likewise.
53355         (TAYLOR_SLOW): Likewise.
53356         (__sin): Use TAYLOR_SINCOS.
53357         (__cos): Likewise.
53358         (slow): Use TAYLOR_SLOW.
53359         (sloww): Likewise.
53360         (bsloww): Likewise.
53361         (csloww): Likewise.
53363 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53365         * stdlib/strtod_l.c: Fix buffer overrun.
53367 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53369         * benchtests/Makefile (bench): Add sincos.
53370         * benchtests/bench-sincos.c: New file.
53372         * math/libm-test.inc (cos_test_data): New test inputs.
53373         (sin_test_data): Likewise.
53375         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53376         macro.
53377         (__sin): Use it.
53378         (__cos): Likewise.
53379         (slow1): Likewise.
53380         (slow2): Likewise.
53381         (sloww1): Likewise.
53382         (sloww2): Likewise.
53383         (bsloww1): Likewise.
53384         (bsloww2): Likewise.
53385         (cslow2): Likewise.
53386         (csloww1): Likewise.
53387         (csloww2): Likewise.
53389         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53390         function.
53391         (__sin): Use it.
53392         (__cos): Likewise.
53394         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53395         gotos.
53396         (__cos): Likewise.
53398 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
53400         * config.h.in (HAVE_MIPS_NAN2008): New macro.
53401         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53402         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53403         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53404         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53405         * elf/cache.c (print_entry): Handle the new cache flags.
53407 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53408             Aldy Hernandez  <aldyh@redhat.com>
53410         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53411         Change condition to [_SOFT_FLOAT].
53412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53413         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53414         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53415         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53416         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53417         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53418         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53419         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53420         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53421         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53422         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53423         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53424         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53425         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53426         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53427         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53428         declaration.
53430 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
53432         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53433         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53434         (__longjmp): Use LOAD_GP to load saved GPRs.
53435         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53436         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53437         (__sigsetjmp): Use SAVE_GP to save GPRs.
53439         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53440         Do not append -msoft-float.
53441         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53443 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53445         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53447 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
53449         [BZ #15966]
53450         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53451         (_FPU_GETCW): Use initial "__" on variable and field names but not
53452         on macro parameter name.
53453         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
53454         parentheses around reference to macro parameter.
53456 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
53458         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53459         prototype.
53460         (ctype_startup): Use uint32_t in cast and sizeof for
53461         ctype->charnames.
53463 2013-09-11  Jia Liu  <proljc@gmail.com>
53465         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53466         __daddr_t_defined.
53467         [__FreeBSD__]: Likewise.
53469 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
53471         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53472         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53473         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53474         (strchr): Remove __strchr_sse42 ifunc selection.
53475         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53476         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53478 2013-09-11  Will Newton  <will.newton@linaro.org>
53480         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53481         parameter to RES. Remove hardcoded 1000 value.
53482         * benchtests/bench-skeleton.c (main): Pass RES parameter
53483         to TIMING_INIT and multiply result by 1000.
53485 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53487         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53489 2013-09-11  Andreas Schwab  <schwab@suse.de>
53491         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53492         if not defined.
53493         (O_TMPFILE) [__USE_GNU]: Define.
53494         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53495         Define.
53497 2013-09-11  Will Newton  <will.newton@linaro.org>
53499         [BZ #15857]
53500         * malloc/malloc.c (__libc_memalign): Check the value of bytes
53501         does not overflow.
53503 2013-09-11  Will Newton  <will.newton@linaro.org>
53505         [BZ #15856]
53506         * malloc/malloc.c (__libc_valloc): Check the value of bytes
53507         does not overflow.
53509 2013-09-11  Will Newton  <will.newton@linaro.org>
53511         [BZ #15855]
53512         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53513         does not overflow.
53515 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
53517         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53518         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53519         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53520         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53521         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53523 2013-09-10  Allan McRae  <allan@archlinux.org>
53525         [BZ #15748]
53526         * manual/arith.texi (Parsing of Floats): Clarify
53527         cross-reference.
53529         [BZ #15849]
53530         * manual/install.texi (Running make install): Mention
53531         --enable-pt-chown.
53532         * INSTALL: Regenerated.
53534 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
53536         * csu/init-first.c (_init): Remove the !SHARED condition around
53537         FPU control word initialization.
53538         * elf/dl-support.c (_dl_fpu_control): New variable.
53539         (_dl_aux_init) <AT_FPUCW>: Initialize it.
53540         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53541         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53542         * math/test-fpucw-static.c: New file.
53543         * math/test-fpucw-ieee.c: New file.
53544         * math/test-fpucw-ieee-static.c: New file.
53545         * math/Makefile (tests): Add `test-fpucw-ieee' and
53546         `$(tests-static)'.
53547         (tests-static): New variable.
53548         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53549         dependency to...
53550         [($(build-shared),yes)]
53551         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53552         ... this.
53553         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53554         New dependency.
53556 2013-09-09  Allan McRae  <allan@archlinux.org>
53558         [BZ #15939]
53559         * manual/string.texi (Collation Functions): Fix typo in
53560         strcoll example.
53561         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53563         [BZ #15893]
53564         * stdlib/isomac.c (get_null_defines): Fix memory leak.
53566         [BZ #15892]
53567         * libio/memstream.c (open_memstream): Fix memory leak.
53568         * libio/wmemstream.c (open_wmemstream): Likewise.
53570         [BZ #15895]
53571         * nscd/netgroupcache.c: Fix nesting of ifdefs.
53573 2013-09-09  Will Newton  <will.newton@linaro.org>
53575         * malloc/Makefile: Add tst-realloc to tests.
53576         * malloc/tst-realloc.c: New file.
53578 2013-09-09  Allan McRae  <allan@archlinux.org>
53580         [BZ #15844]
53581         * COPYING: Update from GNU website to fix FSF address.
53582         * COPYING.LIB: Likewise.
53584 2013-09-06  David S. Miller  <davem@davemloft.net>
53586         * po/zh_TW.po: Update Chinese (traditional) translation from
53587         translation project.
53589 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
53590             Joseph Myers  <joseph@codesourcery.com>
53592         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53593         "localeinfo.h".
53594         (obstack_chunk_alloc): New macro.
53595         (obstack_chunk_free): Likewise.
53596         (record_offset): New function.
53597         (init_locale_data): Likewise.
53598         (align_locale_data): Likewise.
53599         (add_locale_empty): Likewise.
53600         (add_locale_raw_data): Likewise.
53601         (add_locale_raw_obstack): Likewise.
53602         (add_locale_string): Likewise.
53603         (add_locale_wstring): Likewise.
53604         (add_locale_uint32): Likewise.
53605         (add_locale_uint32_array): Likewise.
53606         (add_locale_char): Likewise.
53607         (start_locale_structure): Likewise.
53608         (end_locale_structure): Likewise.
53609         (start_locale_prelude): Likewise.
53610         (end_locale_prelude): Likewise.
53611         (write_locale_data): Take locale_file structure rather than an
53612         iovec.
53613         * locale/programs/locfile.h: Include "obstack.h".
53614         (struct locale_file): Change to store locale file contents instead
53615         of header.
53616         (init_locale_data): New prototype.
53617         (align_locale_data): Likewise.
53618         (add_locale_empty): Likewise.
53619         (add_locale_raw_data): Likewise.
53620         (add_locale_raw_obstack): Likewise.
53621         (add_locale_string): Likewise.
53622         (add_locale_wstring): Likewise.
53623         (add_locale_uint32): Likewise.
53624         (add_locale_uint32_array): Likewise.
53625         (add_locale_char): Likewise.
53626         (start_locale_structure): Likewise.
53627         (end_locale_structure): Likewise.
53628         (start_locale_prelude): Likewise.
53629         (end_locale_prelude): Likewise.
53630         (write_locale_data): Update prototype.
53631         * locale/programs/3level.h (struct TABLE): Remove result field.
53632         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53633         Use new locale_file interface.
53634         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53635         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53636         * locale/programs/ld-address.c (address_output): Use new
53637         locale_file interface.
53638         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53639         NO_ADD_LOCALE.
53640         (collate_finish): Don't call collseq_table_finalize.
53641         (collate_output): Use new locale_file interface.
53642         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53643         in file.
53644         (NO_FINALIZE): Change to NO_ADD_LOCALE.
53645         (TABLE): Move defines earlier in file.
53646         (ELEMENT): Likewise.
53647         (DEFAULT): Likewise.
53648         (wctrans_table_add): Move macro and inline function earlier in
53649         file.
53650         (struct wctype_table): Move type earlier in file.
53651         (add_locale_wctype_table): New static prototype.
53652         (struct locale_ctype_t): Use logical types instead of struct iovec
53653         pointers for members.
53654         (ctype_output): Use new locale_file interface.
53655         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
53656         new locale_file interface.
53657         (allocate_arrays): Update for use of new locale_file interface.
53658         * locale/programs/ld-identification.c (identification_output): Use
53659         new locale_file interface.
53660         * locale/programs/ld-measurement.c (measurement_output): Likewise.
53661         * locale/programs/ld-messages.c (messages_output): Likewise.
53662         * locale/programs/ld-monetary.c (monetary_output): Likewise.
53663         * locale/programs/ld-name.c (name_output): Likewise.
53664         * locale/programs/ld-numeric.c (numeric_output): Likewise.
53665         * locale/programs/ld-paper.c (paper_output): Likewise.
53666         * locale/programs/ld-telephone.c (telephone_output): Likewise.
53667         * locale/programs/ld-time.c (time_output): Likewise.
53669 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53671         * benchtests/Makefile: Add memrchr benchmark.
53672         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53673         benchmark as memrchr.
53674         * benchtests/bench-memrchr-ifunc.c: New file.
53675         * benchtests/bench-memrchr.c: New file.
53677 2013-09-06   Will Newton  <will.newton@linaro.org>
53679         * benchtests/Makefile (string-bench): Add memcpy.
53681 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
53682             Cong Wang  <amwang@redhat.com>
53684         [BZ #15850]
53685         * sysdeps/unix/sysv/linux/bits/in.h
53686         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53687         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53688         before __USE_KERNEL_IPV6_DEFS uses.
53689         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53690         IPPROTO_BEETPH.
53691         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53692         sockaddr_in6, or ipv6_mreq.
53694 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53696         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53697         memory access for final bytes in some large inputs.
53698         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53700 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53702         * string/test-memrchr.c: New file.
53703         * string/test-memrchr-ifunc.c: New file.
53704         * string/Makefile: Add new memrchr testcase.
53706 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
53708         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53709         fanotify_init returns EPERM.
53711 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53713         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53714         errors.
53715         (top level): Treat second token from macro or constant entries for
53716         allowed headers as allowed.
53717         * include/complex.h: Condition internal declarations on
53718         [!_ISOMAC].
53719         * include/fenv.h: Condition include of <stdbool.h> and internal
53720         declarations on [!_ISOMAC].
53722 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
53724         [BZ #15923]
53725         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53727 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
53729         * configure.in (--enable-versioning): Remove configure option.
53730         (libc_cv_asm_symver_directive): Remove configure test.
53731         (libc_cv_ld_version_script_option): Likewise.
53732         (VERSIONING): Remove variable and AC_SUBST.
53733         (DO_VERSIONING): Remove AC_DEFINE.
53734         * configure: Regenerated.
53735         * config.h.in (DO_VERSIONING): Remove macro.
53736         * Makerules [$(versioning) = yes]: Change conditionals to
53737         [$(build-shared) = yes].
53738         * config.make.in (versioning): Remove variable.
53739         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53740         [$(build-shared) = yes].
53741         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53742         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53743         * elf/Makefile [$(versioning) = yes]: Change conditionals to
53744         [$(build-shared) = yes].
53745         * extra-lib.mk [$(versioning) = yes]: Likewise.
53746         * hurd/Makefile [$(versioning) = yes]: Likewise.
53747         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53748         [SHARED].
53749         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53750         [SHARED].
53751         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53752         [SHARED && !NO_HIDDEN].
53753         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53754         [SHARED].
53755         [SHARED && DO_VERSIONING]: Likewise..
53756         * libio/Makefile [$(versioning) = yes]: Change conditionals to
53757         [$(build-shared) = yes].
53758         * manual/install.texi (--disable-versioning): Remove
53759         documentation.
53760         * INSTALL: Regenerated.
53761         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53762         to [SHARED].
53763         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53764         [$(build-shared) = yes].
53765         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53766         * sysdeps/i386/i686/multiarch/strstr-c.c
53767         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53768         [SHARED && !NO_HIDDEN].
53769         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53770         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53771         * sysdeps/powerpc/powerpc32/dl-machine.c
53772         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53773         * sysdeps/powerpc/powerpc32/sysdep.h
53774         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53775         to [SHARED && PIC && !NO_HIDDEN].
53776         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53777         conditional to [SHARED].
53779 2013-09-04   Will Newton  <will.newton@linaro.org>
53781         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53782         * benchtests/bench-string.h: Include bench-timing.h instead
53783         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53784         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53785         call to HP_TIMING_DIFF_INIT.
53786         * benchtests/bench-memccpy.c: Use bench-timing.h macros
53787         instead of hp-timing.h macros.
53788         * benchtests/bench-memchr.c: Likewise.
53789         * benchtests/bench-memcmp.c: Likewise.
53790         * benchtests/bench-memcpy.c: Likewise.
53791         * benchtests/bench-memmem.c: Likewise.
53792         * benchtests/bench-memmove.c: Likewise.
53793         * benchtests/bench-memset.c: Likewise.
53794         * benchtests/bench-rawmemchr.c: Likewise.
53795         * benchtests/bench-strcasecmp.c: Likewise.
53796         * benchtests/bench-strcasestr.c: Likewise.
53797         * benchtests/bench-strcat.c: Likewise.
53798         * benchtests/bench-strchr.c: Likewise.
53799         * benchtests/bench-strcmp.c: Likewise.
53800         * benchtests/bench-strcpy.c: Likewise.
53801         * benchtests/bench-strcpy_chk.c: Likewise.
53802         * benchtests/bench-strlen.c: Likewise.
53803         * benchtests/bench-strncasecmp.c: Likewise.
53804         * benchtests/bench-strncat.c: Likewise.
53805         * benchtests/bench-strncmp.c: Likewise.
53806         * benchtests/bench-strncpy.c: Likewise.
53807         * benchtests/bench-strnlen.c: Likewise.
53808         * benchtests/bench-strpbrk.c: Likewise.
53809         * benchtests/bench-strrchr.c: Likewise.
53810         * benchtests/bench-strspn.c: Likewise.
53811         * benchtests/bench-strstr.c: Likewise.
53813 2013-09-04  Will Newton  <will.newton@linaro.org>
53815         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53817 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
53819         [BZ #15427]
53820         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53821         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53822         * math/libm-test.inc (lgamma_test_data): Add more tests.
53823         * sysdeps/i386/fpu/libm-test-ulps: Update.
53824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53826 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
53828         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53829         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53830         Add ifunc.
53831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53832         Add strcmp-sse2-unaligned
53833         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53835 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53837         * Versions.def (libc): Add GLIBC_2.19.
53839 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
53841         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53842         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53844 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
53846         [BZ #14155]
53847         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53848         intermediate calculations in recurrence.
53849         (__ieee754_ynf): Likewise.
53850         * math/libm-test.inc (jn_test_data): Do not allow spurious
53851         underflow exception.  Add more tests.
53852         (yn_test_data): Add more tests.
53853         * sysdeps/i386/fpu/libm-test-ulps: Update.
53854         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53856 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
53858         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53860 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53862         * csu/init-first.c: Fix then/than typos.
53863         * locale/programs/ld-collate.c: Likewise.
53864         * locale/programs/linereader.h: Likewise.
53865         * manual/charset.texi: Likewise.
53866         * manual/filesys.texi: Likewise.
53867         * manual/stdio.texi: Likewise.
53868         * manual/string.texi: Likewise.
53869         * stdlib/fmtmsg.c: Likewise.
53870         * sysdeps/i386/stpncpy.S: Likewise.
53871         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53872         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53873         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53874         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53876 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
53878         * elf/dl-open.c: Fix typos.
53879         * iconvdata/gbbig5.c: Likewise.
53880         * iconvdata/iso-2022-jp.c: Likewise.
53881         * iconv/gconv_int.h: Likewise.
53882         * iconv/loop.c: Likewise.
53883         * nis/rpcsvc/nis.h: Likewise.
53884         * resolv/ns_name.c: Likewise.
53885         * stdio-common/vfscanf.c: Likewise.
53886         * streams/stropts.h: Likewise.
53887         * sunrpc/rpc_thread.c: Likewise.
53888         * sysdeps/i386/strpbrk.S: Likewise.
53889         * sysdeps/ieee754/k_standard.c: Likewise.
53890         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53891         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53892         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53893         * sysdeps/mach/hurd/profil.c: Likewise.
53894         * sysdeps/s390/dl-procinfo.h: Likewise.
53895         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53896         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53897         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53898         * sysdeps/x86_64/dl-trampoline.S: Likewise.
53899         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53901 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
53903         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53904         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53906 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
53908         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53909         aix specific files.
53910         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53911         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53912         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53913         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53914         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53915         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53916         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53917         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53919 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53920             Roland McGrath  <roland@hack.frob.com>
53922         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53923         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53925 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53927         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53928         __executable_start symbol instead of _start.
53930 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
53932         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53933         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53934         Move macros to...
53935         * sysdeps/gnu/ldsodefs.h: ... this new file.
53937         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53938         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53939         instead of ELFOSABI_LINUX.
53941         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53942         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53943         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53944         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53945         Likewise.
53946         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53947         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53948         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53949         Likewise.
53950         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53951         (ibm_extended_long_double): Add ieee_nan member.
53952         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53953         (do_test): New function.
53955         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53956         TEST_TRUNC.
53957         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53958         functions, renamed from truncdfsf_test, trunctfsf_test,
53959         trunctfdf_test.
53960         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53961         functions.
53962         (do_test): Run all these.
53964 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
53966         * argp/argp-help.c: Fix typos.
53967         * argp/argp-parse.c: Likewise.
53968         * debug/backtracesyms.c: Likewise.
53969         * elf/elf.h: Likewise.
53970         * malloc/malloc.c: Likewise.
53971         * nis/nis_print.c: Likewise.
53972         * resolv/res_comp.c: Likewise.
53973         * stdlib/stdlib.h: Likewise.
53974         * sunrpc/clnt_tcp.c: Likewise.
53975         * sunrpc/clnt_udp.c: Likewise.
53976         * sunrpc/clnt_unix.c: Likewise.
53977         * sysdeps/unix/bsd/ptsname.c: Likewise.
53978         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53979         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53981         Likewise.
53982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53983         Likewise.
53984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53985         Likewise.
53986         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53988 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53990         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53991         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53993 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
53995         [BZ #15897]
53996         * dlfcn/Makefile (tests): Add bug-dl-leaf.
53997         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53998         ($(objpfx)bug-dl-leaf): New rule.
53999         ($(objpfx)bug-dl-leaf.so): Likewise.
54000         ($(objpfx)bug-dl-leaf.out): Likewise.
54001         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
54002         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
54003         * dlfcn/bug-dl-leaf.c: New test.
54004         * dlfcn/bug-dl-leaf-lib.c: Likewise.
54005         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
54006         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
54007         (dlclose): Likewise.
54008         (dlmopen): Likewise.
54010 2013-08-27  Roland McGrath  <roland@hack.frob.com>
54012         * include/netdb.h [!_ISOMAC]:
54013         Don't include <tls.h>.
54014         (h_errno, __libc_h_errno): Move declaration and macros out of
54015         [_LIBC_REENTRANT].
54017         * include/resolv.h [_RESOLV_H_]:
54018         Don't include <tls.h>.
54019         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
54020         * resolv/res_libc.c: Don't include <tls.h>.
54021         (_res): Use __attribute__ ((nocommon)) in place of
54022         __attribute__ ((section (".bss"))).
54024         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
54025         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
54027         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
54029         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
54030         only under [SIOCGIFCONF && SIOCGIFNETMASK].
54032         * resolv/res_mkquery.c: Include <sys/time.h>.
54034         * inet/ifreq.c: Moved to ...
54035         * sysdeps/unix/ifreq.c: ... here.
54036         * inet/ifreq.c: New file, true stub version.
54038         * socket/sa_len.c: New file.
54039         * socket/Makefile (aux): Add it.
54040         * sysdeps/unix/sysv/linux/Makefile
54041         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
54042         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
54043         and #include <socket/sa_len.c>.
54044         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
54045         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
54047         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
54048         * bits/socket.h: ... here.
54050         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
54051         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
54052         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
54054 2013-08-27  Andreas Schwab  <schwab@suse.de>
54056         [BZ #15736]
54057         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
54058         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
54059         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
54060         * string/test-strcasecmp.c (test_main): Run tests in several
54061         locales.
54062         * string/test-strncasecmp.c (test_main): Likewise.
54064         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
54065         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
54066         to __strcasecmp_nonascii and __strncasecmp_nonascii.
54067         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
54068         (__strncasecmp_ssse3) [PIC]: Likewise.
54070 2013-08-26  Roland McGrath  <roland@hack.frob.com>
54072         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
54074         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
54075         instead of explicitly declaring xdecrypt.
54076         * nis/nss_nis/nis-publickey.c: Likewise.
54078 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54080         [BZ #15890]
54081         * nscd/aicache.c: Include res_hconf.h.
54082         (addhstaiX): Initialize res_hconf.
54084 2013-08-26  Andreas Schwab  <schwab@suse.de>
54086         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54087         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54089 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54091         * nscd/aicache.c (addhstaiX): Fix indentation.
54093 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
54095         * configure.ac: Quote $build_pt_chown test.
54096         * configure: Regenerated.
54098 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
54100         [BZ #15532]
54101         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54102         * math/s_cexpf.c (__cexpf): Likewise.
54103         * math/s_cexpl.c (__cexpl): Likewise.
54104         * math/libm-test.inc (cexp_test_data): Correct expected return
54105         value for NaN + i0.  Add another test.
54107 2013-08-22  David S. Miller  <davem@davemloft.net>
54109         * po/ca.po: Update Catalan translation from translation project.
54110         * po/uk.po: Add Ukrainian translations from translation project.
54112 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
54114         [BZ #15797]
54115         * math/s_fdim.c (__fdim): Check for infinite arguments if result
54116         is infinite, not alongside NaN test.
54117         * math/s_fdimf.c (__fdimf): Likewise.
54118         * math/s_fdiml.c (__fdiml): Likewise.
54119         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
54120         errno is unchanged.
54122 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
54124         * argp/argp-help.c: Fix typos.
54125         * crypt/speeds.c: Likewise.
54126         * csu/check_fds.c: Likewise.
54127         * elf/dl-load.c: Likewise.
54128         * elf/dl-open.c: Likewise.
54129         * elf/reldep3.c: Likewise.
54130         * elf/reldep.c: Likewise.
54131         * elf/sprof.c: Likewise.
54132         * iconv/iconv_charmap.c: Likewise.
54133         * iconv/skeleton.c: Likewise.
54134         * iconv/strtab.c: Likewise.
54135         * io/lockf64.c: Likewise.
54136         * libio/libioP.h: Likewise.
54137         * resolv/gai_notify.c: Likewise.
54138         * resolv/ns_name.c: Likewise.
54139         * resolv/ns_samedomain.c: Likewise.
54140         * resolv/res_send.c: Likewise.
54141         * stdlib/random.c: Likewise.
54142         * sunrpc/rpc/xdr.h: Likewise.
54143         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
54144         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54145         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54146         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54147         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54148         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54149         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54150         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54151         * sysdeps/mach/hurd/check_fds.c: Likewise.
54152         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54153         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54154         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54155         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54156         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54157         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54158         * sysdeps/pthread/aio_notify.c: Likewise.
54159         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54160         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
54161         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
54162         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54163         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54165 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54167         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
54168         version if bit_Slow_SSE4_2 is set.
54169         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54170         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54172 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54174         [BZ #15867]
54175         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
54176         trampoline stack frame information.
54177         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
54178         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
54179         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
54180         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
54181         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
54182         * sysdeps/unix/sysv/linux/powerpc/init-first.c
54183         (_libc_vdso_platform_setup): Initialize the signal trampolines.
54184         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
54185         sa_flags value.
54186         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
54187         interrupting a syscall and set with option SA_SIGINFO.
54189 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
54191         [BZ #15531]
54192         * math/s_cproj.c (__cproj): Only return an infinity if one part of
54193         argument is infinite.
54194         * math/s_cprojf.c (__cprojf): Likewise.
54195         * math/s_cprojl.c (__cprojl): Likewise.
54196         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
54197         * math/libm-test.inc (cproj_test_data): Add more tests.
54199         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
54201         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
54202         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
54203         size.  Use __ffs to determine corresponding shift.
54205 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
54206             Roland McGrath  <roland@hack.frob.com>
54208         * Makefile (INSTALL): Remove trailing blank lines from output of
54209         makeinfo.
54211 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54213         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
54214         Align 32 bit compat elf_greg to 8 bytes.
54216 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
54218         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
54220 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
54222         * string/strcoll_l.c (coll_seq): New structure.
54223         (get_next_seq_cached): New function.
54224         (get_next_seq): New function.
54225         (do_compare): New function.
54226         (STRCOLL): Use GNU style definition.  Simplify implementation
54227         by using get_next_seq, get_next_seq_cached and do_compare.
54229 2013-08-16  Florian Weimer  <fweimer@redhat.com>
54231         [BZ #14699]
54232         CVE-2013-4237
54233         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
54234         member.
54235         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
54236         member.
54237         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
54238         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
54239         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
54240         conditional.
54241         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
54242         GETDENTS_64BIT_ALIGNED.
54243         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54244         * manual/filesys.texi (Reading/Closing Directory): Document
54245         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
54246         strongly.
54247         * manual/conf.texi (Limits for Files): Add portability note to
54248         NAME_MAX, PATH_MAX.
54249         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
54251 2013-08-13  Andreas Schwab  <schwab@suse.de>
54253         [BZ #15749]
54254         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
54255         of fabs.
54256         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
54257         LDBL_MAX_EXP >= 16384]: Add tests for it.
54259 2013-08-12  David S. Miller  <davem@davemloft.net>
54261         * version.h (RELEASE): Set to "development".
54262         (VERSION): Set to "2.18.90".
54263         * NEWS: Add 2.19 section.
54265 2013-08-03  David S. Miller  <davem@davemloft.net>
54267         * po/ko.po: Update Korean translation from translation project.
54269 2013-08-01  David S. Miller  <davem@davemloft.net>
54271         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
54272         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
54273         Bilka.
54275 2013-07-30  David S. Miller  <davem@davemloft.net>
54277         * po/fr.po: Update French translation from translation project.
54279 2013-07-28  David S. Miller  <davem@davemloft.net>
54281         * po/cs.po: Update Czech translation from translation project.
54283         * po/sv.po: Update Swedish translation from translation project.
54285 2013-07-27  David S. Miller  <davem@davemloft.net>
54287         * po/eo.po: Update Esperanto translation from translation project.
54289         * po/vi.po: Update Vietnamese translation from translation project.
54291         * po/de.po: Update German translation from translation project.
54293 2013-07-26  David S. Miller  <davem@davemloft.net>
54295         * po/bg.po: Update Bulgarian translation from translation project.
54297         * po/nl.po: Update Dutch translation from translation project.
54298         * po/pl.po: Update Polish translation from translation project.
54299         * po/ru.po: Update Russian translation from translation project.
54301 2013-07-24  David S. Miller  <davem@davemloft.net>
54303         * po/libc.pot: Update.
54305 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54307         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54308         variable page size.
54309         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54310         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54311         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54313 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54315         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54317 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54318             Andreas Schwab  <schwab@suse.de>
54319             Roland McGrath  <roland@hack.frob.com>
54320             Joseph Myers  <joseph@codesourcery.com>
54321             Carlos O'Donell  <carlos@redhat.com>
54323         [BZ #15755]
54324         * config.h.in: Define HAVE_PT_CHOWN.
54325         * config.make.in (build-pt-chown): New variable.
54326         * configure.in (--enable-pt_chown): New configure option.
54327         * configure: Regenerate.
54328         * login/Makefile: Include Makeconfig.  Build pt_chown only if
54329         build-pt-chown is enabled.
54330         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54331         pt_chown to fix pty ownership.
54332         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54333         CLOSE_ALL_FDS.
54334         * manual/install.texi (Configuring and compiling): Mention
54335         --enable-pt_chown. Add @findex for grantpt.
54336         * INSTALL: Regenerate.
54338 2013-07-20  David S. Miller  <davem@davemloft.net>
54340         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54341         difference between 32-bit and 64-bit.
54343 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
54345         [BZ #15711]
54346         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54347         Avoid system header dependency with -ffreestanding.
54348         ($(objpfx)bits/syscall%d): Likewise.
54350 2013-07-13  David S. Miller  <davem@davemloft.net>
54352         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54353         underflows from atanl/atan2l due to bug 15319.
54354         (casinh_test_data): Likewise.
54356 2013-07-07  David S. Miller  <davem@davemloft.net>
54358         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54360 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
54362         * sysdeps/i386/fpu/libm-test-ulps: Update.
54363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54365 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
54367         * configure.in (--enable-lock-elision): Fix message text.
54368         * INSTALL: Regenerate.
54369         * configure: Regenerate.
54371 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54373         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54375 2013-07-03  Andreas Jaeger  <aj@suse.de>
54377         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54378         define.
54379         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54380         (ptrace_peeksiginfo_args): Add.
54381         (__ptrace_peeksiginfo_flags): Add.
54382         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54383         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54384         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54386 2013-07-03  Allan McRae  <allan@archlinux.org>
54388         * sysdeps/i386/fpu/libm-test-ulps: Update.
54390 2013-07-02  David S. Miller  <davem@davemloft.net>
54392         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54394 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
54396         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54398 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54400         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54403 2013-07-02  Andi Kleen <ak@linux.intel.com>
54405         * config.h.in (ENABLE_LOCK_ELISION): Add.
54406         * configure.in (--enable-lock-elision): Add option.
54407         * manual/install.texi: Document --enable lock elision.
54408         * configure: Regenerate
54409         * INSTALL: Regenerate.
54411 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
54413         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54414         SSE4.2 strcasecmp for libc.a.
54415         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54417 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
54419         [BZ #13304]
54420         * soft-fp/op-common.h (_FP_FMA): New macro.
54421         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54422         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
54423         (_FP_MUL_MEAT_1_imm): ... here.
54424         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
54425         (_FP_MUL_MEAT_1_wide): ... here.
54426         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
54427         (_FP_MUL_MEAT_1_hard): ... here.
54428         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54429         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
54430         (_FP_MUL_MEAT_2_wide): ... here.
54431         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
54432         (_FP_MUL_MEAT_2_wide_3mul): ... here.
54433         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
54434         (_FP_MUL_MEAT_2_gmp): ... here.
54435         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54436         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
54437         (_FP_MUL_MEAT_4_wide): ... here.
54438         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
54439         (_FP_MUL_MEAT_4_gmp): ... here.
54440         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54441         (_FP_WFRACBITS_DW_S): Likewise.
54442         (_FP_WFRACXBITS_DW_S): Likewise.
54443         (_FP_HIGHBIT_DW_S): Likewise.
54444         (FP_FMA_S): Likewise.
54445         (_FP_FRAC_HIGH_DW_S): Likewise.
54446         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54447         (_FP_WFRACBITS_DW_D): Likewise.
54448         (_FP_WFRACXBITS_DW_D): Likewise.
54449         (_FP_HIGHBIT_DW_D): Likewise.
54450         (FP_FMA_D): Likewise.
54451         (_FP_FRAC_HIGH_DW_D): Likewise.
54452         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54453         (_FP_WFRACBITS_DW_E): Likewise.
54454         (_FP_WFRACXBITS_DW_E): Likewise.
54455         (_FP_HIGHBIT_DW_E): Likewise.
54456         (FP_FMA_E): Likewise.
54457         (_FP_FRAC_HIGH_DW_E): Likewise.
54458         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54459         (_FP_WFRACBITS_DW_Q): Likewise.
54460         (_FP_WFRACXBITS_DW_Q): Likewise.
54461         (_FP_HIGHBIT_DW_Q): Likewise.
54462         (FP_FMA_Q): Likewise.
54463         (_FP_FRAC_HIGH_DW_Q): Likewise.
54464         * soft-fp/fmasf4.c: New file.
54465         * soft-fp/fmadf4.c: Likewise.
54466         * soft-fp/fmatf4.c: Likewise.
54468 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54470         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54471         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54472         Silvermont.
54473         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54474         macro.
54475         (index_Slow_SSE4_2): Likewise.
54476         (index_Prefer_PMINUB_for_stringop): Likewise.
54477         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54478         bit_Slow_SSE4_2 is set.
54479         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54480         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54482 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54484         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54485         rtld_global._dl_hwcap2.
54486         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54487         POWER8.
54488         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54489         POWER8 feature descriptions defined in _dl_hwcap2.
54490         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54491         string handling for POWER8 feature bits.
54492         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54493         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54494         _dl_powerpc_cap_flags.
54495         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54496         * sysdeps/powerpc/rtld-global-offsets.sym
54497         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54498         _dl_hwcap2 in the rtld_global_ro structure.
54500 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54502         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54503         hardware capabilities in support of AT_HWCAP2.
54504         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54505         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54506         GLRO(dl_hwcap2).
54507         (_dl_show_auxv): Add support for calling _dl_procinfo to display
54508         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
54509         explicitly the unknown a_type display mechanism is used.
54510         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54511         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54512         struct member.
54513         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54514         to macro prototype for AT_HWCAP2 support.
54515         * sysdeps/i386/dl-procinfo.h: Likewise.
54516         * sysdeps/s390/dl-procinfo.h: Likewise.
54517         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54518         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
54519         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
54520         return -1 for unknown a_type display fallback.
54521         * sysdeps/sparc/dl-procinfo.h: Likewise.
54522         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54523         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54525 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
54527         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54528         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54530 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
54532         [BZ #12492]
54533         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54534         mprotect making __stack_prot writable.
54536 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
54537             Joseph Myers  <joseph@codesourcery.com>
54539         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54540         as being properly aligned.
54542 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
54544         * dlfcn/modstatic5.c: New file.
54545         * dlfcn/tststatic5.c: New file.
54546         * dlfcn/Makefile (tests): Add tststatic5.
54547         (tests-static): Likewise.
54548         (modules-names): Add modstatic5.
54549         (tststatic5-ENV): New variable.
54550         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54552         [BZ #15022]
54553         * elf/dl-support.c (_dl_main_map): New variable.
54554         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54555         (_dl_nns, _dl_load_adds): Set to 1.
54556         (_dl_initial_searchlist): Refer to _dl_main_map.
54557         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54558         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54559         call to _dl_get_origin.
54560         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54561         around call_map.
54562         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54563         * dlfcn/modstatic3.c: New file.
54564         * dlfcn/tststatic3.c: New file.
54565         * dlfcn/tststatic4.c: New file.
54566         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54567         (tests-static): Likewise.
54568         (modules-names): Add modstatic3.
54569         (tststatic3-ENV, tststatic4-ENV): New variables.
54570         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54571         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54573 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
54575         * configure.in (CC): Require GCC version 4.4 or later.
54576         * configure: Regenerated.
54577         * manual/install.texi (Tools for Compilation): Update GCC version
54578         requirement.
54579         * INSTALL: Regenerated.
54581 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54583         [BZ #15674]
54584         * string/test-memcmp.c (check2): New.
54585         (main): Call check2.
54587         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54589 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
54591         [BZ #15022]
54592         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54593         over to...
54594         (dl_open_worker) [!SHARED]: ... here.
54596 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54598         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54600 2013-06-25  Richard Henderson  <rth@redhat.com>
54602         * locale/programs/locarchive.c: Include <libc-internal.h>
54604 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
54606         * manual/texinfo.tex: Update to version 2013-06-21.17, with
54607         trailing whitespace removed.
54609 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54611         [BZ #10283]
54612         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54613         * locale/programs/locarchive.c: Include libc-mmap.h.
54614         (prepare_address_space): Take two new outputs (the mmap base and len).
54615         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
54616         values.
54617         (create_archive): Declare new mmap base and len values for
54618         prepare_address_space, and store the result in ah.
54619         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54620         (enlarge_archive): If ah->mmap_base is not NULL, use that and
54621         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54622         Declare new mmap base and len values for
54623         prepare_address_space, and store the result in new_ah.
54624         (open_archive): Declare new mmap base and len values for
54625         prepare_address_space, and store the result in ah.
54626         (close_archive): If ah->mmap_base is not NULL, use that and
54627         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54628         * sysdeps/generic/libc-mmap.h: New file.
54630 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
54632         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54633         (ALIGN_UP): Likewise.
54634         (PTR_ALIGN_DOWN): Likewise.
54635         (PTR_ALIGN_UP): Likewise.
54637 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54639         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54640         entry mapped to PPC_PLATFORM_POWER8.
54641         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54642         POWER8.
54643         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54644         (_dl_string_platform): Add case for exporting platform position for
54645         POWER8.
54646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54647         search path to sysdeps/powerpc/powerpc32/power8 directory.
54648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54649         search path to sysdeps/powerpc/powerpc64/power8 directory.
54650         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54651         power7 directories.
54652         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54653         power7 directories.
54655 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
54657         * INSTALL: Regenerate.
54659         * nscd/connections.c (nscd_init): Fix comment.
54661 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
54663         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54665         [BZ #15667]
54666         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54667         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54669 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54671         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54672         DL_DST_REQ_STATIC.
54673         (DL_DST_REQ_STATIC): Remove macro.
54675 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
54677         [BZ #7006]
54678         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54679         with a shift of 0 bits.
54681 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
54683         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54684         $(tststatic-ENV).
54686 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
54688         [BZ #15655]
54689         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54691 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54693         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54694         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54695         accepts -fno-tree-loop-distribute-patterns.
54696         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54697         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54698         recursive call.
54699         * string/memset.c (memset): Likewise.
54700         * string/test-memmove.c (simple_memmove): Disable loop transformation
54701         to library calls.
54702         * string/test-memset.c (simple_memset): Likewise.
54703         * benchtests/bench-memmove.c (simple_memmove): Likewise.
54704         * benchtests/bench-memset.c (simple_memset): Likewise.
54705         * configure: Regenerated.
54707 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
54709         * math/test-misc.c (main): Ignore fesetround failure when failures
54710         of subsequent rounding tests would be ignored.
54712         [BZ #15654]
54713         * math/fedisblxcpt.c (fedisableexcept): Return 0.
54714         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54715         * math/fegetenv.c (__fegetenv): Return 0.
54716         * math/fegetexcept.c (fegetexcept): Return 0.
54717         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54718         FE_TONEAREST.
54719         * math/feholdexcpt.c (feholdexcept): Return 0.
54720         * math/fesetenv.c (__fesetenv): Return 0.
54721         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54722         argument FE_TONEAREST.
54723         * math/feupdateenv.c (__feupdateenv): Return 0.
54724         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54726 2013-06-18  Roland McGrath  <roland@hack.frob.com>
54728         * elf/rtld-Rules (rtld-compile-command.S): New variable.
54729         (rtld-compile-command.s, rtld-compile-command.c): New variables.
54730         ($(objpfx)rtld-%.os rules): Use them.
54732 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54734         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54735         fields.
54737 2013-06-17  Roland McGrath  <roland@hack.frob.com>
54739         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54740         length of target pattern, then descending length of dependency pattern.
54741         * configure.in (AWK): Require gawk 3.1.2 or newer.
54742         * manual/install.texi (Tools for Compilation): Say that we do.
54743         * configure: Regenerated.
54745         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54746         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54747         * scripts/sysd-rules.awk: ... this new script.
54748         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54749         than a glob-style pattern.
54751 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
54753         * math/test-misc.c (main): Do not treat incorrectly rounded
54754         conversions as failure unless ROUNDING_TESTS passes.
54756 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
54758         [BZ #15631]
54759         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54760         restore exception state around main square root computation, then
54761         check for inexactness explicitly.
54763         * math/libm-test.inc (fma_test_data): Add another test.
54765 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54767         * manual/threads.texi (Non-POSIX Extensions): New document
54768         node.  Document pthread_getattr_default_np and
54769         pthread_setattr_default_np.
54771         * Versions.def (libpthread): Add GLIBC_2.18.
54772         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54774         Likewise.
54775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54776         Likewise.
54777         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54778         Likewise.
54779         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54780         Likewise.
54781         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54782         Likewise.
54783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54784         Likewise.
54785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54786         Likewise.
54787         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54788         Likewise.
54789         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54790         Likewise.
54792 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
54794         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54795         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54797 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54798             H.J. Lu  <hjl.tools@gmail.com>
54800         [BZ #15627]
54801         * sysdeps/x86_64/rtld-memset.c: Remove file.
54802         * sysdeps/x86_64/rtld-memset.S: New file.
54804 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
54806         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54807         (test_in_one_mode): Take arguments for whether the rounding mode
54808         is supported for each floating-point type.
54809         (do_test): Pass new arguments to test_in_one_mode using
54810         ROUNDING_TESTS.
54812 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54814         * posix/tst-waitid.c (do_test): Distinguish different instances of
54815         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
54816         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54817         before entering the kernel for waitpid.
54819 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54821         * NEWS: Fix note on clock function precision.  Text by Roland
54822         McGrath.
54824 2013-06-13  Roland McGrath  <roland@hack.frob.com>
54826         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54827         it into place only when and if the sanity check passes.
54829 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
54831         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54832         output for whether conversion result is exact.  Take argument
54833         indicating whether type is IBM long double.
54834         (round_for_all): Change need_exact field to ibm_ld.
54835         * stdlib/tst-strtod-round.c (struct exactness): New type.
54836         (struct test): Change bool ld_ok field to struct exactness exact.
54837         (TEST): Update all definitions for change to field.
54838         (tests): Regenerate array contents.
54839         (test_in_one_mode): Take pointer to new field instead of old ld_ok
54840         field value.  Check for IBM long double here.
54841         (do_test): Update calls to test_in_one_mode.
54843 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54845         [BZ #12515]
54846         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54847         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54849 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54851         [BZ #15605]
54852         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54853         generated by the compiler on loop optimizations.
54854         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54855         general definitions.
54857 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
54859         * math/bug-nextafter.c: Include <math-tests.h>.
54860         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54861         the relevant type.
54862         * math/bug-nexttoward.c: Include <math-tests.h>.
54863         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54864         the relevant type.
54865         * math/test-misc.c: Include <math-tests.h>.
54866         (main): Only test for exceptions if EXCEPTION_TESTS is true for
54867         the relevant type.
54869 2013-06-12  Andreas Jaeger  <aj@suse.de>
54871         * po/ia.po: Update Interlingua translation from translation
54872         project.
54874 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54876         * include/fenv.h: Include stdbool.h.
54877         (struct rm_ctx): New structure.
54878         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54879         Define macro.
54880         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54881         (SET_RESTORE_ROUNDF): Likewise.
54882         (SET_RESTORE_ROUNDL): Likewise.
54883         (SET_RESTORE_ROUND_NOEX): Likewise.
54884         (SET_RESTORE_ROUND_NOEXF): Likewise.
54885         (SET_RESTORE_ROUND_NOEXL): Likewise.
54886         (SET_RESTORE_ROUND_53BIT): Likewise.
54887         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54888         (libc_feresetround_noexf_ctx): Likewise.
54889         (libc_feresetround_noexl_ctx): Likewise.
54890         (libc_feholdsetround_53bit_ctx): Likewise.
54891         (libc_feresetround_53bit_ctx): Likewise.
54892         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54893         (libc_feholdexcept_setround_sse_ctx): New function.
54894         (libc_fesetenv_sse_ctx): Likewise.
54895         (libc_feupdateenv_sse_ctx): Likewise.
54896         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54897         (libc_feholdexcept_setround_387_ctx): Likewise.
54898         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54899         (libc_feholdsetround_387_prec_ctx): Likewise.
54900         (libc_feholdsetround_387_ctx): Likewise.
54901         (libc_feholdsetround_387_53bit_ctx): Likewise.
54902         (libc_feholdsetround_sse_ctx): Likewise.
54903         (libc_feresetround_sse_ctx): Likewise.
54904         (libc_feresetround_387_ctx): Likewise.
54905         (libc_feupdateenv_387_ctx): Likewise.
54906         (libc_feholdexcept_setroundf_ctx): Define macro.
54907         (libc_fesetenvf_ctx): Likewise.
54908         (libc_feupdateenvf_ctx): Likewise.
54909         (libc_feholdsetroundf_ctx): Likewise.
54910         (libc_feresetroundf_ctx): Likewise.
54911         (libc_feholdexcept_setround_ctx): Likewise.
54912         (libc_fesetenv_ctx): Likewise.
54913         (libc_feupdateenv_ctx): Likewise.
54914         (libc_feholdsetround_ctx): Likewise.
54915         (libc_feresetround_ctx): Likewise.
54916         (libc_feholdexcept_setroundl_ctx): Likewise.
54917         (libc_feupdateenvl_ctx): Likewise.
54918         (libc_feholdsetroundl_ctx): Likewise.
54919         (libc_feresetroundl_ctx): Likewise.
54920         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54921         (libc_feresetround_53bit_ctx): Likewise.
54923 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54925         * locale/iso-639.def: Convert to UTF-8.
54927 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
54929         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54930         (EXCEPTION_TESTS_double): Likewise.
54931         (EXCEPTION_TESTS_long_double): Likewise.
54932         (EXCEPTION_TESTS): Likewise.
54933         * math/libm-test.inc (test_exceptions): Only test exceptions if
54934         EXCEPTION_TESTS (FLOAT).
54936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54938         * benchtests/Makefile (string-bench): Add strcpy_chk and
54939         stpcpy_chk.
54940         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54941         * benchtests/bench-stpcpy_chk.c: New file.
54942         * benchtests/bench-strcpy_chk-ifunc.c: New file.
54943         * benchtests/bench-strcpy_chk.c: New file.
54944         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54945         code.
54946         (do_test): Likewise.
54948 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
54950         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54951         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54952         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54953         with tabs where appropriate.
54954         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54955         dl-procinfo.h.
54956         [PPC_PLATFORM_PPC440]: Likewise.
54957         [PPC_PLATFORM_PPC464]: Likewise.
54958         [PPC_PLATFORM_PPC476]: Likewise.
54959         (_dl_string_platform): Add support for detecting ppc405, ppc440,
54960         ppc464, and ppc476 platform strings merging from ports/
54961         dl-procinfo.h.
54963 2013-06-11  Andreas Schwab  <schwab@suse.de>
54965         [BZ #14991]
54966         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54967         (from_ucs4_idx): Regenerate.
54968         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54969         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54970         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54971         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54972         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54973         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54974         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54975         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54976         from FROM_LOOP and TO_LOOP specific macros.
54977         (BODY): Handle combining characters.
54978         * iconvdata/BIG5HKSCS.irreversible: Update.
54979         * iconvdata/BIG5HKSCS.precomposed: New file.
54980         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54981         characters.
54982         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54984 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
54986         * include/sys/time.h: Fix indentation and add copyright header.
54988         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54989         (do_test): Likewise.
54990         * string/test-memchr.c (do_one_test): Likewise.
54991         (do_test): Likewise.
54992         * string/test-memcmp.c (do_one_test): Likewise.
54993         (do_test): Likewise.
54994         * string/test-memcpy.c (do_one_test): Likewise.
54995         (do_test): Likewise.
54996         * string/test-memmem.c (do_one_test): Likewise.
54997         (do_test): Likewise.
54998         (do_random_tests): Likewise.
54999         * string/test-memmove.c (do_one_test): Likewise.
55000         (do_test): Likewise.
55001         * string/test-memset.c (do_one_test): Likewise.
55002         (do_test): Likewise.
55003         * string/test-rawmemchr.c (do_one_test): Likewise.
55004         (do_test): Likewise.
55005         * string/test-strcasecmp.c (do_one_test): Likewise.
55006         (do_test): Likewise.
55007         * string/test-strcasestr.c (do_one_test): Likewise.
55008         (do_test): Likewise.
55009         * string/test-strcat.c (do_one_test): Likewise.
55010         (do_test): Likewise.
55011         * string/test-strchr.c (do_one_test): Likewise.
55012         (do_test): Likewise.
55013         * string/test-strcmp.c (do_one_test): Likewise.
55014         (do_test): Likewise.
55015         * string/test-strcpy.c (do_one_test): Likewise.
55016         (do_test): Likewise.
55017         * string/test-string.h: Likewise.
55018         (test_init): Likewise.
55019         * string/test-strlen.c (do_one_test): Likewise.
55020         (do_test): Likewise.
55021         * string/test-strncasecmp.c (do_one_test): Likewise.
55022         (do_test): Likewise.
55023         * string/test-strncat.c (do_one_test): Likewise.
55024         (do_test): Likewise.
55025         * string/test-strncmp.c (do_one_test): Likewise.
55026         (do_test_limit): Likewise.
55027         (do_test): Likewise.
55028         * string/test-strncpy.c (do_one_test): Likewise.
55029         (do_test): Likewise.
55030         * string/test-strnlen.c (do_one_test): Likewise.
55031         (do_test): Likewise.
55032         * string/test-strpbrk.c (do_one_test): Likewise.
55033         (do_test): Likewise.
55034         * string/test-strrchr.c (do_one_test): Likewise.
55035         (do_test): Likewise.
55036         * string/test-strspn.c (do_one_test): Likewise.
55037         (do_test): Likewise.
55038         * string/test-strstr.c (do_one_test): Likewise.
55039         (do_test): Likewise.
55041         * benchtests/Makefile (string-bench): Add string benchmarks.
55042         * benchtests/bench-bcopy-ifunc.c: New file.
55043         * benchtests/bench-bcopy.c: New file.
55044         * benchtests/bench-bzero-ifunc.c: New file.
55045         * benchtests/bench-bzero.c: New file.
55046         * benchtests/bench-memccpy-ifunc.c: New file.
55047         * benchtests/bench-memccpy.c: New file.
55048         * benchtests/bench-memchr-ifunc.c: New file.
55049         * benchtests/bench-memchr.c: New file.
55050         * benchtests/bench-memcmp-ifunc.c: New file.
55051         * benchtests/bench-memcmp.c: New file.
55052         * benchtests/bench-memmem-ifunc.c: New file.
55053         * benchtests/bench-memmem.c: New file.
55054         * benchtests/bench-memmove-ifunc.c: New file.
55055         * benchtests/bench-memmove.c: New file.
55056         * benchtests/bench-mempcpy-ifunc.c: New file.
55057         * benchtests/bench-mempcpy.c: New file.
55058         * benchtests/bench-memset-ifunc.c: New file.
55059         * benchtests/bench-memset.c: New file.
55060         * benchtests/bench-rawmemchr-ifunc.c: New file.
55061         * benchtests/bench-rawmemchr.c: New file.
55062         * benchtests/bench-stpcpy-ifunc.c: New file.
55063         * benchtests/bench-stpcpy.c: New file.
55064         * benchtests/bench-stpncpy-ifunc.c: New file.
55065         * benchtests/bench-stpncpy.c: New file.
55066         * benchtests/bench-strcasecmp-ifunc.c: New file.
55067         * benchtests/bench-strcasecmp.c: New file.
55068         * benchtests/bench-strcasestr-ifunc.c: New file.
55069         * benchtests/bench-strcasestr.c: New file.
55070         * benchtests/bench-strcat-ifunc.c: New file.
55071         * benchtests/bench-strcat.c: New file.
55072         * benchtests/bench-strchr-ifunc.c: New file.
55073         * benchtests/bench-strchr.c: New file.
55074         * benchtests/bench-strchrnul-ifunc.c: New file.
55075         * benchtests/bench-strchrnul.c: New file.
55076         * benchtests/bench-strcmp-ifunc.c: New file.
55077         * benchtests/bench-strcmp.c: New file.
55078         * benchtests/bench-strcpy-ifunc.c: New file.
55079         * benchtests/bench-strcpy.c: New file.
55080         * benchtests/bench-strcspn-ifunc.c: New file.
55081         * benchtests/bench-strcspn.c: New file.
55082         * benchtests/bench-strlen-ifunc.c: New file.
55083         * benchtests/bench-strlen.c: New file.
55084         * benchtests/bench-strncasecmp-ifunc.c: New file.
55085         * benchtests/bench-strncasecmp.c: New file.
55086         * benchtests/bench-strncat-ifunc.c: New file.
55087         * benchtests/bench-strncat.c: New file.
55088         * benchtests/bench-strncmp-ifunc.c: New file.
55089         * benchtests/bench-strncmp.c: New file.
55090         * benchtests/bench-strncpy-ifunc.c: New file.
55091         * benchtests/bench-strncpy.c: New file.
55092         * benchtests/bench-strnlen-ifunc.c: New file.
55093         * benchtests/bench-strnlen.c: New file.
55094         * benchtests/bench-strpbrk-ifunc.c: New file.
55095         * benchtests/bench-strpbrk.c: New file.
55096         * benchtests/bench-strrchr-ifunc.c: New file.
55097         * benchtests/bench-strrchr.c: New file.
55098         * benchtests/bench-strspn-ifunc.c: New file.
55099         * benchtests/bench-strspn.c: New file.
55100         * benchtests/bench-strstr-ifunc.c: New file.
55101         * benchtests/bench-strstr.c: New file.
55103         * benchtests/Makefile: Disable parallel execution of targets.
55104         (string-bench): Add memcpy.
55105         (benchset): New variable to store a list of benchmark sets.
55106         (bench-func): Renamed from bench.
55107         (bench-set): New target.
55108         (bench): Depend on bench-func and bench-set.
55109         * benchtests/README: Add section on benchmark sets.
55110         * benchtests/bench-memcpy-ifunc.c: New file.
55111         * benchtests/bench-memcpy.c: New file.
55112         * benchtests/bench-string.h: New file.
55114 2013-06-11  Andreas Schwab  <schwab@suse.de>
55116         [BZ #15577]
55117         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55118         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55119         values in the triple.
55120         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55121         terminator in the group key.
55123 2013-06-11  Andreas Jaeger  <aj@suse.de>
55125         * po/zh_TW.po: Update Chinese (traditional) translation from
55126         translation project.
55128 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
55130         * include/time.h (__clock_gettime): Add libc_hidden_proto.
55131         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55132         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
55133         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55134         (clock_getcpuclockid): Likewise.
55135         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55136         Add weak_alias and libc_hidden_def.
55137         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
55138         * rt/clock_gettime.c (clock_gettime): Rename to
55139         __clock_gettime.  Add weak_alias and libc_hidden_def.
55140         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
55141         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
55142         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
55143         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
55144         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
55145         Likewise.
55146         * rt/clock_settime.c (clock_settime): Rename to
55147         __clock_settime.  Add weak_alias and libc_hidden_def.
55148         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
55150 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
55152         * mach/err_boot.sub: Remove trailing whitespace.
55153         * mach/err_ipc.sub: Likewise.
55154         * mach/err_mach.sub: Likewise.
55156         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
55157         (ROUNDING_TESTS_double): Likewise.
55158         (ROUNDING_TESTS_long_double): Likewise.
55159         (ROUNDING_TESTS): Likewise.
55160         * math/libm-test.inc: Include <math-tests.h>.
55161         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
55162         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55163         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55164         (IF_ROUND_INIT_FE_UPWARD): Likewise.
55166 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55168         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
55169         of assigning.
55171 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
55173         * sysdeps/gnu/errlist.awk: Do not generate space at end of
55174         otherwise empty TRANS lines.
55175         * sysdeps/gnu/errlist.c: Regenerated.
55177         * catgets/gencat.c (error_print): Use (void) in function
55178         definition.
55179         * crypt/crypt_util.c (__init_des): Likewise.
55180         * crypt/speeds.c (Stop): Likewise.
55181         (main): Likewise.
55182         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
55183         * inet/ruserpass.c (token): Likewise.
55184         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
55185         * intl/localealias.c (extend_alias_table): Likewise.
55186         * intl/plural-exp.c (init_germanic_plural): Likewise.
55187         * libio/fcloseall.c (__fcloseall): Likewise.
55188         * libio/genops.c (_IO_flush_all): Likewise.
55189         (_IO_flush_all_linebuffered): Likewise.
55190         (_IO_cleanup): Likewise.
55191         (_IO_iter_begin): Likewise.
55192         (_IO_iter_end): Likewise.
55193         (_IO_list_lock): Likewise.
55194         (_IO_list_unlock): Likewise.
55195         (_IO_list_resetlock): Likewise.
55196         * libio/getchar.c (getchar): Likewise.
55197         * libio/getchar_u.c (getchar_unlocked): Likewise.
55198         * libio/getwchar.c (getwchar): Likewise.
55199         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
55200         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
55201         * login/getpt.c (__getpt): Likewise.
55202         * login/tst-utmp.c (main): Likewise.
55203         * malloc/hooks.c (__malloc_check_init): Likewise.
55204         * malloc/malloc.c (__malloc_stats): Likewise.
55205         * malloc/mtrace.c (tr_break): Likewise.
55206         (mtrace): Likewise.
55207         (muntrace): Likewise.
55208         * misc/fstab.c (endfsent): Likewise.
55209         * misc/getclktck.c (__getclktck): Likewise.
55210         * misc/getdtsz.c (__getdtablesize): Likewise.
55211         * misc/gethostid.c (gethostid): Likewise.
55212         * misc/getpagesize.c (__getpagesize): Likewise.
55213         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
55214         (__get_nprocs): Likewise.
55215         (__get_phys_pages): Likewise.
55216         (__get_avphys_pages): Likewise.
55217         * misc/getttyent.c (getttyent): Likewise.
55218         (setttyent): Likewise.
55219         (endttyent): Likewise.
55220         * misc/getusershell.c (getusershell): Likewise.
55221         (endusershell): Likewise.
55222         (setusershell): Likewise.
55223         (initshells): Likewise.
55224         * misc/hsearch.c (__hdestroy): Likewise.
55225         * misc/sync.c (sync): Likewise.
55226         * misc/syslog.c (closelog_internal): Likewise.
55227         (closelog): Likewise.
55228         * misc/ttyslot.c (ttyslot): Likewise.
55229         * misc/vhangup.c (vhangup): Likewise.
55230         * posix/fork.c (__fork): Likewise.
55231         * posix/getegid.c (__getegid): Likewise.
55232         * posix/geteuid.c (__geteuid): Likewise.
55233         * posix/getgid.c (__getgid): Likewise.
55234         * posix/getpid.c (__getpid): Likewise.
55235         * posix/getppid.c (__getppid): Likewise.
55236         * posix/getuid.c (__getuid): Likewise.
55237         * posix/pause.c (pause): Likewise.
55238         * posix/setpgrp.c (setpgrp): Likewise.
55239         * posix/setsid.c (__setsid): Likewise.
55240         * posix/test-vfork.c (noop): Likewise.
55241         * resolv/gethnamaddr.c (_endhtent): Likewise.
55242         (_gethtent): Likewise.
55243         (ht_endhostent): Likewise.
55244         (gethostent): Likewise.
55245         (dns_service): Likewise.
55246         * stdlib/drand48.c (drand48): Likewise.
55247         * stdlib/lrand48.c (lrand48): Likewise.
55248         * stdlib/mrand48.c (mrand48): Likewise.
55249         * stdlib/rand.c (rand): Likewise.
55250         * stdlib/random.c (__random): Likewise.
55251         * stdlib/setenv.c (clearenv): Likewise.
55252         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
55253         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
55254         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
55255         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
55256         (__get_nprocs): Likewise.
55257         (__get_phys_pages): Likewise.
55258         (__get_avphys_pages): Likewise.
55259         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
55260         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
55261         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
55262         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
55263         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
55264         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
55265         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
55266         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
55267         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
55268         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
55269         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
55270         * sysdeps/mach/hurd/sync.c (sync): Likewise.
55271         * sysdeps/posix/clock.c (clock): Likewise.
55272         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
55273         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
55274         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
55275         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
55276         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
55277         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
55278         (__get_nprocs_conf): Likewise.
55279         (__get_phys_pages): Likewise.
55280         (__get_avphys_pages): Likewise.
55281         * time/clock.c (clock): Likewise.
55282         * time/tzset.c (__tzname_max): Likewise.
55284 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
55286         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
55287         (__bswap_32): Do not use "register".
55288         * crypt/crypt.c (_ufc_doit_r): Likewise.
55289         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55290         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55291         * gmon/gmon.c (__monstartup): Likewise.
55292         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
55293         * hurd/hurdmalloc.c (more_memory): Likewise.
55294         (malloc): Likewise.
55295         (free): Likewise.
55296         (realloc): Likewise.
55297         (malloc_fork_prepare): Likewise.
55298         (malloc_fork_parent): Likewise.
55299         (malloc_fork_child): Likewise.
55300         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
55301         (_svcauth_des): Likewise.
55302         * inet/inet_lnaof.c (inet_lnaof): Likewise.
55303         * inet/inet_net.c (inet_network): Likewise.
55304         * inet/inet_netof.c (inet_netof): Likewise.
55305         * inet/rcmd.c (__validuser2_sa): Likewise.
55306         * io/fts.c (fts_open): Likewise.
55307         (fts_load): Likewise.
55308         (fts_close): Likewise.
55309         (fts_read): Likewise.
55310         (fts_children): Likewise.
55311         (fts_build): Likewise.
55312         (fts_stat): Likewise.
55313         (fts_sort): Likewise.
55314         (fts_alloc): Likewise.
55315         (fts_lfree): Likewise.
55316         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55317         (_IO_file_xsgetn): Likewise.
55318         (_IO_file_xsgetn_mmap): Likewise.
55319         * libio/iofopncook.c (_IO_cookie_read): Likewise.
55320         (_IO_cookie_write): Likewise.
55321         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55322         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55323         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55324         * malloc/obstack.c (_obstack_begin): Likewise.
55325         (_obstack_begin_1): Likewise.
55326         (_obstack_newchunk): Likewise.
55327         (_obstack_allocated_p): Likewise.
55328         (obstack_free): Likewise.
55329         (_obstack_memory_used): Likewise.
55330         * misc/getttyent.c (getttynam): Likewise.
55331         (getttyent): Likewise.
55332         (skip): Likewise.
55333         (value): Likewise.
55334         * misc/getusershell.c (initshells): Likewise.
55335         * misc/syslog.c (__vsyslog_chk): Likewise.
55336         * misc/ttyslot.c (ttyslot): Likewise.
55337         * nis/nis_hash.c (__nis_hash): Likewise.
55338         * posix/fnmatch_loop.c (FCT): Likewise.
55339         * posix/getconf.c (print_all): Likewise.
55340         (main): Likewise.
55341         * posix/getopt.c (exchange): Likewise.
55342         * posix/glob.c (globfree): Likewise.
55343         (prefix_array): Likewise.
55344         (__glob_pattern_type): Likewise.
55345         * resolv/arpa/nameser.h (NS_GET16): Likewise.
55346         (NS_GET32): Likewise.
55347         (NS_PUT16): Likewise.
55348         (NS_PUT32): Likewise.
55349         * resolv/gethnamaddr.c (getanswer): Likewise.
55350         (gethostbyname2): Likewise.
55351         (gethostbyaddr): Likewise.
55352         (_gethtent): Likewise.
55353         (_gethtbyname2): Likewise.
55354         (_gethtbyaddr): Likewise.
55355         * resolv/ns_print.c (dst_s_get_int16): Likewise.
55356         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55357         * resolv/res_init.c (__res_vinit): Likewise.
55358         (net_mask): Likewise.
55359         * resolv/res_mkquery.c (outchar): Likewise.
55360         (PRINT): Likewise.
55361         * stdio-common/printf_fp.c (outchar): Likewise.
55362         (PRINT): Likewise.
55363         * stdio-common/printf_fphex.c (outchar): Likewise.
55364         (PRINT): Likewise.
55365         * stdio-common/printf_size.c (outchar): Likewise.
55366         (PRINT): Likewise.
55367         * stdio-common/test_rdwr.c (main): Likewise.
55368         * stdio-common/tfformat.c (matches): Likewise.
55369         * stdio-common/vfprintf.c (outchar): Likewise.
55370         (printf_unknown): Likewise.
55371         (buffered_vfprintf): Likewise.
55372         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55373         * stdio-common/xbug.c (AppendToBuffer): Likewise.
55374         (ReadFile): Likewise.
55375         * stdlib/qsort.c (SWAP): Likewise.
55376         (_quicksort): Likewise.
55377         * stdlib/setenv.c (__add_to_environ): Likewise.
55378         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55379         * stdlib/strtol_l.c (__strtol_l): Likewise.
55380         * stdlib/tst-strtod.c (main): Likewise.
55381         * stdlib/tst-strtol.c (main): Likewise.
55382         * stdlib/tst-strtoll.c (main): Likewise.
55383         * string/bits/string2.h (__strcmp_cc): Likewise.
55384         (__strcmp_cg): Likewise.
55385         (__strcspn_c1): Likewise.
55386         (__strcspn_c2): Likewise.
55387         (__strcspn_c3): Likewise.
55388         (__strspn_c1): Likewise.
55389         (__strspn_c2): Likewise.
55390         (__strspn_c3): Likewise.
55391         (__strsep_1c): Likewise.
55392         (__strsep_2c): Likewise.
55393         (__strsep_3c): Likewise.
55394         * string/memccpy.c (__memccpy): Likewise.
55395         * string/stpcpy.c (__stpcpy): Likewise.
55396         * string/strcmp.c (strcmp): Likewise.
55397         * string/strrchr.c (strrchr): Likewise.
55398         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55399         Likewise.
55400         * sysdeps/mach/hurd/getcwd.c
55401         (_hurd_canonicalize_directory_name_internal): Likewise.
55402         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55403         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55404         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55405         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55406         Likewise, in both definitions.
55407         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55408         definitions.
55409         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55410         64] (__bswap_64): Likewise.
55411         * time/test_time.c (main): Likewise.
55412         * time/tzfile.c (__tzfile_read): Likewise.
55413         (__tzfile_compute): Likewise.
55414         * time/tzset.c (__tzset_parse_tz): Likewise.
55415         (tzset_internal): Likewise.
55416         (compute_change): Likewise.
55417         * wcsmbs/wcscat.c (__wcscat): Likewise.
55418         * wcsmbs/wcschr.c (wcschr): Likewise.
55419         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55420         * wcsmbs/wcscspn.c (wcscspn): Likewise.
55421         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55422         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55423         * wcsmbs/wcsspn.c (wcsspn): Likewise.
55424         * wcsmbs/wcsstr.c (wcsstr): Likewise.
55425         * wcsmbs/wmemchr.c (wmemchr): Likewise.
55426         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55427         * wcsmbs/wmemset.c (wmemset): Likewise.
55429 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
55431         * scripts/config.guess: Update to version 2013-05-16.
55432         * scripts/config.sub: Update to version 2013-04-24.
55433         * scripts/install-sh: Update to version 2011-11-20.07.
55434         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55435         * scripts/move-if-change: Update to version 2012-01-06 07:23.
55437 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
55439         * debug/fgetws_u_chk.c: Fix leading whitespaces.
55440         * elf/sln.c: Likewise.
55441         * hurd/hurd/ioctl.h: Likewise.
55442         * hurd/hurdmalloc.c: Likewise.
55443         * hurd/xattr.c: Likewise.
55444         * include/shlib-compat.h: Likewise.
55445         * inet/ruserpass.c: Likewise.
55446         * libio/iofgets_u.c: Likewise.
55447         * libio/iofgetws_u.c: Likewise.
55448         * locale/programs/ld-identification.c: Likewise.
55449         * locale/programs/ld-time.c: Likewise.
55450         * mach/msg-destroy.c: Likewise.
55451         * nss/nss_files/files-netgrp.c: Likewise.
55452         * resolv/res_data.c: Likewise.
55453         * soft-fp/op-1.h: Likewise.
55454         * soft-fp/op-2.h: Likewise.
55455         * soft-fp/op-4.h: Likewise.
55456         * soft-fp/op-common.h: Likewise.
55457         * stdio-common/printf_fphex.c: Likewise.
55458         * stdlib/strtod_l.c: Likewise.
55459         * sunrpc/rpc/clnt.h: Likewise.
55460         * sysdeps/generic/framestate.c: Likewise.
55461         * sysdeps/i386/bsd-_setjmp.S: Likewise.
55462         * sysdeps/i386/bsd-setjmp.S: Likewise.
55463         * sysdeps/i386/__longjmp.S: Likewise.
55464         * sysdeps/i386/setjmp.S: Likewise.
55465         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55466         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55467         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55468         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55469         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55470         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55471         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55472         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55473         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55474         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55475         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55476         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55477         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55478         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55479         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55480         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55481         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55482         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55483         * sysdeps/ieee754/support.c: Likewise.
55484         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55485         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55486         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55487         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55488         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55489         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55490         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55491         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55492         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55493         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55494         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55495         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55496         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55497         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55498         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55499         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55500         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55503 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
55505         * posix/transbug.c: Remove executable mode.
55507 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
55509         * crypt/speeds.c: Remove trailing whitespace.
55510         * dlfcn/default.c: Likewise.
55511         * elf/ifuncdep2.c: Likewise.
55512         * elf/ifuncmain1.c: Likewise.
55513         * elf/ifuncmain1vis.c: Likewise.
55514         * elf/testobj.h: Likewise.
55515         * elf/tst-stackguard1.c: Likewise.
55516         * gmon/sys/gmon.h: Likewise.
55517         * hurd/hurdmsg.c: Likewise.
55518         * hurd/new-fd.c: Likewise.
55519         * hurd/ports-get.c: Likewise.
55520         * iconvdata/ibm1008_420.c: Likewise.
55521         * inet/tst-getni1.c: Likewise.
55522         * inet/tst-getni2.c: Likewise.
55523         * libio/ioungetc.c: Likewise.
55524         * libio/wfiledoalloc.c: Likewise.
55525         * manual/libm-err-tab.pl: Likewise.
55526         * math/w_dremf.c: Likewise.
55527         * misc/ftruncate.c: Likewise.
55528         * posix/bug-glob2.c: Likewise.
55529         * posix/tst-pcre.c: Likewise.
55530         * posix/wait4.c: Likewise.
55531         * resolv/README: Likewise.
55532         * resolv/res_debug.h: Likewise.
55533         * resolv/tst-inet_ntop.c: Likewise.
55534         * setjmp/bug269-setjmp.c: Likewise.
55535         * soft-fp/extended.h: Likewise.
55536         * soft-fp/op-1.h: Likewise.
55537         * soft-fp/op-2.h: Likewise.
55538         * soft-fp/op-4.h: Likewise.
55539         * soft-fp/op-8.h: Likewise.
55540         * soft-fp/testit.c: Likewise.
55541         * stdio-common/bug16.c: Likewise.
55542         * stdlib/random.c: Likewise.
55543         * sunrpc/rpcsvc/rquota.x: Likewise.
55544         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55545         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55546         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55547         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55548         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55549         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55550         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55551         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55552         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55553         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55554         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55555         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55556         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55557         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55558         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55559         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55560         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55561         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55562         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55563         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55564         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55565         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55566         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55567         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55568         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55569         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55570         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55571         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55572         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55573         * sysdeps/ieee754/s_lib_version.c: Likewise.
55574         * sysdeps/mach/hurd/check_fds.c: Likewise.
55575         * sysdeps/mach/hurd/getsockname.c: Likewise.
55576         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55577         * sysdeps/mach/hurd/recvfrom.c: Likewise.
55578         * sysdeps/powerpc/bits/link.h: Likewise.
55579         * sysdeps/powerpc/dl-procinfo.c: Likewise.
55580         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55581         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55582         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55583         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55584         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55585         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55586         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55587         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55588         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55589         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55590         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55591         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55592         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55593         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55594         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55595         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55596         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55597         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55598         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55599         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55600         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55601         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55602         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55603         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55604         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55605         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55606         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55607         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55608         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55609         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55610         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55611         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55612         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55613         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55614         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55615         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55616         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55617         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55618         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55619         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55620         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55621         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55622         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55623         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55624         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55625         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55626         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55627         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55628         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55629         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55630         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55631         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55632         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55633         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55634         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55635         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55636         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55637         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55638         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55639         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55640         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55641         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55642         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55643         * sysdeps/powerpc/sysdep.h: Likewise.
55644         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55645         * sysdeps/s390/s390-64/sub_n.S: Likewise.
55646         * sysdeps/sh/dl-trampoline.S: Likewise.
55647         * sysdeps/sh/memset.S: Likewise.
55648         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55649         * sysdeps/sh/strlen.S: Likewise.
55650         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55651         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55652         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55653         * sysdeps/sparc/sparc32/rem.S: Likewise.
55654         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55655         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55656         * sysdeps/sparc/sparc32/strchr.S: Likewise.
55657         * sysdeps/sparc/sparc32/udiv.S: Likewise.
55658         * sysdeps/sparc/sparc32/urem.S: Likewise.
55659         * sysdeps/sparc/sparc64/add_n.S: Likewise.
55660         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55661         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55662         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55663         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55664         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55665         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55666         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55667         * sysdeps/unix/bsd/times.c: Likewise.
55668         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55669         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55673         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55674         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55675         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55676         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55677         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55678         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55679         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55680         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55681         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55682         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55683         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55684         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55685         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55686         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55687         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55688         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55689         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55690         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55691         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55692         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55693         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55694         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55695         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55696         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55697         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55698         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55699         * sysdeps/x86_64/strcspn.S: Likewise.
55701 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55703         * locale/C-translit.h: Revert #include <stdint.h> because this is a
55704         generated file.  Regenerate properly from gen-translit.pl.
55705         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
55706         locale/C-translit.h.
55708 2013-06-05  Andreas Schwab  <schwab@suse.de>
55710         [BZ #15100]
55711         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55712         week as 6 instead of -1.
55713         * time/tst-strptime.c (day_tests): Add test case.
55715 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
55717         * sysdeps/generic/math_private.h
55718         (libc_feholdexcept_setround_53bit): Replace with
55719         libc_feholdsetround_53bit.
55720         (libc_feupdateenv_53bit): Replace with
55721         libc_feresetround_53bit.
55722         (SET_RESTORE_ROUND_53BIT): Adjust.
55724 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55726         * string/test-strchrnul.c: Add copyright header.
55728         * posix/tst-getaddrinfo4.c: Increase test timeout.
55730 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
55732         [BZ #15536]
55733         * math/libm-test.inc (MAX_EXP): Remove
55734         (MIN_EXP): Define.
55735         (ulp): Use MIN_EXP - MANT_DIG.
55736         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55738 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
55740         * po/be.po: Revert last change.
55741         * po/zh_CN.po: Likewise.
55742         * po/header.pot: Likewise.
55744 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
55746         * Makefile ($(common-objpfx)linkobj/libc.so): Define
55747         link-libc-deps to empty as target-specific variable.
55748         * Makerules (link-libc-args): New variable.
55749         (libc-for-link): Likewise.
55750         (link-libc-deps): Likewise.
55751         (lib%.so): Depend on $(link-libc-deps).  Link with
55752         $(link-libc-args).
55753         (build-module): Link with $(link-libc-args).
55754         (build-module-asneeded): Likewise.
55755         (build-module-helper-objlist): Filter out $(link-libc-deps) from
55756         list of objects.
55757         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55758         target-specific variable.
55759         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55760         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55761         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55762         libc.
55763         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55764         libc and ld.so.
55765         ($(objpfx)libpcprofile.so): Likewise.
55766         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55767         libc_nonshared.a.
55768         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55769         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55770         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55771         $(link-libc-deps).
55772         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55773         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55774         * login/Makefile ($(objpfx)libutil.so): Likewise.
55775         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55776         * math/Makefile ($(objpfx)libm.so): Likewise.
55777         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55778         $(objpfx)libnsl.so): Define libc-for-link as target-specific
55779         variable instead of depending directly on libc.
55780         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55781         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55782         $(link-libc-deps).
55783         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55784         libc.
55785         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55786         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55787         ($(objpfx)libanl.so): Likewise.
55788         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55789         ld.so.
55790         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55791         $(link-libc-deps).
55792         * sysdeps/i386/fpu/Makefile: Remove file.
55793         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55794         ($(objpfx)libm.so): Remove dependency on ld.so.
55796 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
55798         [BZ # 15553]
55799         * nis/yp_xdr.c (XDRMAXNAME): Define.
55800         (XDRMAXRECORD): Define.
55801         (xdr_domainname): Use XDRMAXNAME.
55802         (xdr_mapname): Likewise.
55803         (xdr_peername): Likewise.
55804         (xdr_keydat): Use XDRMAXRECORD.
55805         (xdr_valdat): Likewise.
55807 2013-05-30  Jeff Law  <law@redhat.com>
55809         [BZ #14256]
55810         * manual/errno.texi (ESTALE): Update to account for more than
55811         just NFS file systems.
55812         * sysdeps/gnu/errlist.c: Regenerated.
55814 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
55816         [BZ #15465]
55817         * elf/Makefile (tests): Add tst-null-argv.
55818         (modules-names):  Add tst-null-argv-lib.
55819         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55820         (tst-null-argv-ENV): Set environment for tst-null-argv.
55821         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55822         (RTLD_PROGNAME): New macro.
55823         * elf/tst-null-argv.c: New test case.
55824         * elf/tst-null-argv-lib.c: Library for test case.
55825         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55826         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55827         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55828         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55829         * elf/dl-init.c (call_init): Likewise.
55830         (_dl_init): Likewise.
55831         * elf/dl-load.c (print_search_path): Likewise.
55832         (_dl_map_object): Likewise.
55833         * elf/dl-lookup.c (do_lookup_x): Likewise.
55834         (add_dependency): Likewise.
55835         (_dl_lookup_symbol_x): Likewise.
55836         (_dl_debug_bindings): Likewise.
55837         * elf/dl-open.c (_dl_show_scope): Likewise.
55838         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55839         * elf/dl-version.c (match_symbol): Likewise.
55840         (_dl_check_map_versions): Likewise.
55841         * elf/rtld.c (dl_main): Likewise.
55842         (print_unresolved): Use RTLD_PROGNAME.
55843         (print_missing_version): Likewise.
55844         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55845         (elf_machine_rela): Likewise.
55846         * sysdeps/powerpc/powerpc32/dl-machine.c
55847         (__process_machine_rela): Likewise.
55848         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55849         Likewise.
55850         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55851         Likewise.
55852         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55853         Likewise.
55854         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55855         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55856         Likewise.
55857         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55858         Likewise.
55859         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55861 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
55863         * po/be.po: Add descriptive title.
55864         * po/zh_CN.po: Likewise.
55865         * po/header.pot: Likewise.
55867 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
55869         * locale/programs/locarchive.c (create_archive): Inlucde fname in
55870         error message.
55871         (enlarge_archive): Likewise.
55873 2013-05-28  Ben North  <ben@redfrontdoor.org>
55875         * manual/arith.texi (frexp): It is the magnitude of the return
55876         value which lies in [0.5, 1), not the return value itself.
55878 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55880         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55882 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
55884         * stdio-common/bug26.c (main): Correct fscanf template.
55886         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55887         declare _dl_skip_args.
55889         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55890         Don't declare.
55892         * manual/platform.texi: Add missing @end deftypefun.
55894 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55896         [BZ #15529]
55897         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55898         bit of mantissa of 2^16382.
55899         * math/libm-test.inc (hypot_test_data): Add more tests.
55901         * math/libm-test.inc: Add drem and pow10 to list of tested
55902         functions.
55903         (pow10_test): New function.
55904         (drem_test): Likewise.
55905         (drem_test_tonearest): Likewise.
55906         (drem_test_towardzero): Likewise.
55907         (drem_test_downward): Likewise.
55908         (drem_test_upward): Likewise.
55909         (main): Call the new functions.
55911         * math/libm-test.inc (finite_test_data): Remove.
55912         (finite_test): Run tests from isfinite_test_data.
55913         (gamma_test_data): Remove.
55914         (gamma_test): Run tests from lgamma_test_data.
55915         * sysdeps/i386/fpu/libm-test-ulps: Update.
55916         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55918 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55920         * manual/platform.texi: Add PowerPC PPR function set documentation.
55921         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55922         implementation.
55924 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
55926         * math/libm-test.inc (MAX_EXP): Define.
55927         (ULPDIFF): Define.
55928         (ulp): New function.
55929         (check_float_internal): Use ULPDIFF.
55930         (cpow_test): Disable failing test.
55931         (check_ulp): Test ulp() implementation.
55932         (main): Call check_ulp before starting tests.
55934 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
55936         * math/gen-libm-test.pl (generate_testfile): Do not handle
55937         START_DATA and END_DATA.
55938         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55939         END_DATA.
55940         (acos_tonearest_test_data): Likewise.
55941         (acos_towardzero_test_data): Likewise.
55942         (acos_downward_test_data): Likewise.
55943         (acos_upward_test_data): Likewise.
55944         (acosh_test_data): Likewise.
55945         (asin_test_data): Likewise.
55946         (asin_tonearest_test_data): Likewise.
55947         (asin_towardzero_test_data): Likewise.
55948         (asin_downward_test_data): Likewise.
55949         (asin_upward_test_data): Likewise.
55950         (asinh_test_data): Likewise.
55951         (atan_test_data): Likewise.
55952         (atanh_test_data): Likewise.
55953         (atan2_test_data): Likewise.
55954         (cabs_test_data): Likewise.
55955         (cacos_test_data): Likewise.
55956         (cacosh_test_data): Likewise.
55957         (carg_test_data): Likewise.
55958         (casin_test_data): Likewise.
55959         (casinh_test_data): Likewise.
55960         (catan_test_data): Likewise.
55961         (catanh_test_data): Likewise.
55962         (cbrt_test_data): Likewise.
55963         (ccos_test_data): Likewise.
55964         (ccosh_test_data): Likewise.
55965         (ceil_test_data): Likewise.
55966         (cexp_test_data): Likewise.
55967         (cimag_test_data): Likewise.
55968         (clog_test_data): Likewise.
55969         (clog10_test_data): Likewise.
55970         (conj_test_data): Likewise.
55971         (copysign_test_data): Likewise.
55972         (cos_test_data): Likewise.
55973         (cos_tonearest_test_data): Likewise.
55974         (cos_towardzero_test_data): Likewise.
55975         (cos_downward_test_data): Likewise.
55976         (cos_upward_test_data): Likewise.
55977         (cosh_test_data): Likewise.
55978         (cosh_tonearest_test_data): Likewise.
55979         (cosh_towardzero_test_data): Likewise.
55980         (cosh_downward_test_data): Likewise.
55981         (cosh_upward_test_data): Likewise.
55982         (cpow_test_data): Likewise.
55983         (cproj_test_data): Likewise.
55984         (creal_test_data): Likewise.
55985         (csin_test_data): Likewise.
55986         (csinh_test_data): Likewise.
55987         (csqrt_test_data): Likewise.
55988         (ctan_test_data): Likewise.
55989         (ctan_tonearest_test_data): Likewise.
55990         (ctan_towardzero_test_data): Likewise.
55991         (ctan_downward_test_data): Likewise.
55992         (ctan_upward_test_data): Likewise.
55993         (ctanh_test_data): Likewise.
55994         (ctanh_tonearest_test_data): Likewise.
55995         (ctanh_towardzero_test_data): Likewise.
55996         (ctanh_downward_test_data): Likewise.
55997         (ctanh_upward_test_data): Likewise.
55998         (erf_test_data): Likewise.
55999         (erfc_test_data): Likewise.
56000         (exp_test_data): Likewise.
56001         (exp_tonearest_test_data): Likewise.
56002         (exp_towardzero_test_data): Likewise.
56003         (exp_downward_test_data): Likewise.
56004         (exp_upward_test_data): Likewise.
56005         (exp10_test_data): Likewise.
56006         (exp2_test_data): Likewise.
56007         (expm1_test_data): Likewise.
56008         (fabs_test_data): Likewise.
56009         (fdim_test_data): Likewise.
56010         (finite_test_data): Likewise.
56011         (floor_test_data): Likewise.
56012         (fma_test_data): Likewise.
56013         (fma_towardzero_test_data): Likewise.
56014         (fma_downward_test_data): Likewise.
56015         (fma_upward_test_data): Likewise.
56016         (fmax_test_data): Likewise.
56017         (fmin_test_data): Likewise.
56018         (fmod_test_data): Likewise.
56019         (fpclassify_test_data): Likewise.
56020         (frexp_test_data): Likewise.
56021         (gamma_test_data): Likewise.
56022         (hypot_test_data): Likewise.
56023         (ilogb_test_data): Likewise.
56024         (isfinite_test_data): Likewise.
56025         (isgreater_test_data): Likewise.
56026         (isgreaterequal_test_data): Likewise.
56027         (isinf_test_data): Likewise.
56028         (isless_test_data): Likewise.
56029         (islessequal_test_data): Likewise.
56030         (islessgreater_test_data): Likewise.
56031         (isnan_test_data): Likewise.
56032         (isnormal_test_data): Likewise.
56033         (issignaling_test_data): Likewise.
56034         (isunordered_test_data): Likewise.
56035         (j0_test_data): Likewise.
56036         (j1_test_data): Likewise.
56037         (jn_test_data): Likewise.
56038         (ldexp_test_data): Likewise.
56039         (lgamma_test_data): Likewise.
56040         (lrint_test_data): Likewise.
56041         (lrint_tonearest_test_data): Likewise.
56042         (lrint_towardzero_test_data): Likewise.
56043         (lrint_downward_test_data): Likewise.
56044         (lrint_upward_test_data): Likewise.
56045         (llrint_test_data): Likewise.
56046         (llrint_tonearest_test_data): Likewise.
56047         (llrint_towardzero_test_data): Likewise.
56048         (llrint_downward_test_data): Likewise.
56049         (llrint_upward_test_data): Likewise.
56050         (log_test_data): Likewise.
56051         (log10_test_data): Likewise.
56052         (log1p_test_data): Likewise.
56053         (log2_test_data): Likewise.
56054         (logb_test_data): Likewise.
56055         (logb_downward_test_data): Likewise.
56056         (lround_test_data): Likewise.
56057         (llround_test_data): Likewise.
56058         (modf_test_data): Likewise.
56059         (nearbyint_test_data): Likewise.
56060         (nextafter_test_data): Likewise.
56061         (nexttoward_test_data): Likewise.
56062         (pow_test_data): Likewise.
56063         (pow_tonearest_test_data): Likewise.
56064         (pow_towardzero_test_data): Likewise.
56065         (pow_downward_test_data): Likewise.
56066         (pow_upward_test_data): Likewise.
56067         (remainder_test_data): Likewise.
56068         (remainder_tonearest_test_data): Likewise.
56069         (remainder_towardzero_test_data): Likewise.
56070         (remainder_downward_test_data): Likewise.
56071         (remainder_upward_test_data): Likewise.
56072         (remquo_test_data): Likewise.
56073         (rint_test_data): Likewise.
56074         (rint_tonearest_test_data): Likewise.
56075         (rint_towardzero_test_data): Likewise.
56076         (rint_downward_test_data): Likewise.
56077         (rint_upward_test_data): Likewise.
56078         (round_test_data): Likewise.
56079         (scalb_test_data): Likewise.
56080         (scalbn_test_data): Likewise.
56081         (scalbln_test_data): Likewise.
56082         (signbit_test_data): Likewise.
56083         (sin_test_data): Likewise.
56084         (sin_tonearest_test_data): Likewise.
56085         (sin_towardzero_test_data): Likewise.
56086         (sin_downward_test_data): Likewise.
56087         (sin_upward_test_data): Likewise.
56088         (sincos_test_data): Likewise.
56089         (sinh_test_data): Likewise.
56090         (sinh_tonearest_test_data): Likewise.
56091         (sinh_towardzero_test_data): Likewise.
56092         (sinh_downward_test_data): Likewise.
56093         (sinh_upward_test_data): Likewise.
56094         (sqrt_test_data): Likewise.
56095         (tan_test_data): Likewise.
56096         (tan_tonearest_test_data): Likewise.
56097         (tan_towardzero_test_data): Likewise.
56098         (tan_downward_test_data): Likewise.
56099         (tan_upward_test_data): Likewise.
56100         (tanh_test_data): Likewise.
56101         (tgamma_test_data): Likewise.
56102         (trunc_test_data): Likewise.
56103         (y0_test_data): Likewise.
56104         (y1_test_data): Likewise.
56105         (yn_test_data): Likewise.
56106         (significand_test_data): Likewise.
56108         * math/gen-libm-test.pl (@functions): Remove variable.
56109         (generate_testfile): Don't handle START and END lines.
56110         * math/libm-test.inc (START): New macro.
56111         (END): Likewise.
56112         (END_COMPLEX): Likewise.
56113         (acos_test): Use END macro without arguments.
56114         (acos_test_tonearest): Likewise.
56115         (acos_test_towardzero): Likewise.
56116         (acos_test_downward): Likewise.
56117         (acos_test_upward): Likewise.
56118         (acosh_test): Likewise.
56119         (asin_test): Likewise.
56120         (asin_test_tonearest): Likewise.
56121         (asin_test_towardzero): Likewise.
56122         (asin_test_downward): Likewise.
56123         (asin_test_upward): Likewise.
56124         (asinh_test): Likewise.
56125         (atan_test): Likewise.
56126         (atanh_test): Likewise.
56127         (atan2_test): Likewise.
56128         (cabs_test): Likewise.
56129         (cacos_test): Use END_COMPLEX macro without arguments.
56130         (cacosh_test): Likewise.
56131         (carg_test): Use END macro without arguments.
56132         (casin_test): Use END_COMPLEX macro without arguments.
56133         (casinh_test): Likewise.
56134         (catan_test): Likewise.
56135         (catanh_test): Likewise.
56136         (cbrt_test): Use END macro without arguments.
56137         (ccos_test): Use END_COMPLEX macro without arguments.
56138         (ccosh_test): Likewise.
56139         (ceil_test): Use END macro without arguments.
56140         (cexp_test): Use END_COMPLEX macro without arguments.
56141         (cimag_test): Use END macro without arguments.
56142         (clog_test): Use END_COMPLEX macro without arguments.
56143         (clog10_test): Likewise.
56144         (conj_test): Likewise.
56145         (copysign_test): Use END macro without arguments.
56146         (cos_test): Likewise.
56147         (cos_test_tonearest): Likewise.
56148         (cos_test_towardzero): Likewise.
56149         (cos_test_downward): Likewise.
56150         (cos_test_upward): Likewise.
56151         (cosh_test): Likewise.
56152         (cosh_test_tonearest): Likewise.
56153         (cosh_test_towardzero): Likewise.
56154         (cosh_test_downward): Likewise.
56155         (cosh_test_upward): Likewise.
56156         (cpow_test): Use END_COMPLEX macro without arguments.
56157         (cproj_test): Likewise.
56158         (creal_test): Use END macro without arguments.
56159         (csin_test): Use END_COMPLEX macro without arguments.
56160         (csinh_test): Likewise.
56161         (csqrt_test): Likewise.
56162         (ctan_test): Likewise.
56163         (ctan_test_tonearest): Likewise.
56164         (ctan_test_towardzero): Likewise.
56165         (ctan_test_downward): Likewise.
56166         (ctan_test_upward): Likewise.
56167         (ctanh_test): Likewise.
56168         (ctanh_test_tonearest): Likewise.
56169         (ctanh_test_towardzero): Likewise.
56170         (ctanh_test_downward): Likewise.
56171         (ctanh_test_upward): Likewise.
56172         (erf_test): Use END macro without arguments.
56173         (erfc_test): Likewise.
56174         (exp_test): Likewise.
56175         (exp_test_tonearest): Likewise.
56176         (exp_test_towardzero): Likewise.
56177         (exp_test_downward): Likewise.
56178         (exp_test_upward): Likewise.
56179         (exp10_test): Likewise.
56180         (exp2_test): Likewise.
56181         (expm1_test): Likewise.
56182         (fabs_test): Likewise.
56183         (fdim_test): Likewise.
56184         (finite_test): Likewise.
56185         (floor_test): Likewise.
56186         (fma_test): Likewise.
56187         (fma_test_towardzero): Likewise.
56188         (fma_test_downward): Likewise.
56189         (fma_test_upward): Likewise.
56190         (fmax_test): Likewise.
56191         (fmin_test): Likewise.
56192         (fmod_test): Likewise.
56193         (fpclassify_test): Likewise.
56194         (frexp_test): Likewise.
56195         (gamma_test): Likewise.
56196         (hypot_test): Likewise.
56197         (ilogb_test): Likewise.
56198         (isfinite_test): Likewise.
56199         (isgreater_test): Likewise.
56200         (isgreaterequal_test): Likewise.
56201         (isinf_test): Likewise.
56202         (isless_test): Likewise.
56203         (islessequal_test): Likewise.
56204         (islessgreater_test): Likewise.
56205         (isnan_test): Likewise.
56206         (isnormal_test): Likewise.
56207         (issignaling_test): Likewise.
56208         (isunordered_test): Likewise.
56209         (j0_test): Likewise.
56210         (j1_test): Likewise.
56211         (jn_test): Likewise.
56212         (ldexp_test): Likewise.
56213         (lgamma_test): Likewise.
56214         (lrint_test): Likewise.
56215         (lrint_test_tonearest): Likewise.
56216         (lrint_test_towardzero): Likewise.
56217         (lrint_test_downward): Likewise.
56218         (lrint_test_upward): Likewise.
56219         (llrint_test): Likewise.
56220         (llrint_test_tonearest): Likewise.
56221         (llrint_test_towardzero): Likewise.
56222         (llrint_test_downward): Likewise.
56223         (llrint_test_upward): Likewise.
56224         (log_test): Likewise.
56225         (log10_test): Likewise.
56226         (log1p_test): Likewise.
56227         (log2_test): Likewise.
56228         (logb_test): Likewise.
56229         (logb_test_downward): Likewise.
56230         (lround_test): Likewise.
56231         (llround_test): Likewise.
56232         (modf_test): Likewise.
56233         (nearbyint_test): Likewise.
56234         (nextafter_test): Likewise.
56235         (nexttoward_test): Likewise.
56236         (pow_test): Likewise.
56237         (pow_test_tonearest): Likewise.
56238         (pow_test_towardzero): Likewise.
56239         (pow_test_downward): Likewise.
56240         (pow_test_upward): Likewise.
56241         (remainder_test): Likewise.
56242         (remainder_test_tonearest): Likewise.
56243         (remainder_test_towardzero): Likewise.
56244         (remainder_test_downward): Likewise.
56245         (remainder_test_upward): Likewise.
56246         (remquo_test): Likewise.
56247         (rint_test): Likewise.
56248         (rint_test_tonearest): Likewise.
56249         (rint_test_towardzero): Likewise.
56250         (rint_test_downward): Likewise.
56251         (rint_test_upward): Likewise.
56252         (round_test): Likewise.
56253         (scalb_test): Likewise.
56254         (scalbn_test): Likewise.
56255         (scalbln_test): Likewise.
56256         (signbit_test): Likewise.
56257         (sin_test): Likewise.
56258         (sin_test_tonearest): Likewise.
56259         (sin_test_towardzero): Likewise.
56260         (sin_test_downward): Likewise.
56261         (sin_test_upward): Likewise.
56262         (sincos_test): Likewise.
56263         (sinh_test): Likewise.
56264         (sinh_test_tonearest): Likewise.
56265         (sinh_test_towardzero): Likewise.
56266         (sinh_test_downward): Likewise.
56267         (sinh_test_upward): Likewise.
56268         (sqrt_test): Likewise.
56269         (tan_test): Likewise.
56270         (tan_test_tonearest): Likewise.
56271         (tan_test_towardzero): Likewise.
56272         (tan_test_downward): Likewise.
56273         (tan_test_upward): Likewise.
56274         (tanh_test): Likewise.
56275         (tgamma_test): Likewise.
56276         (trunc_test): Likewise.
56277         (y0_test): Likewise.
56278         (y1_test): Likewise.
56279         (yn_test): Likewise.
56280         (significand_test): Likewise.
56282 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
56284         [BZ #15381]
56285         * libio/genops.c (_IO_no_init): Initialize wide struct info.
56287 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
56289         [BZ #14894]
56290         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
56291         __ppc_mdoio and __ppc_mdoom.
56292         * manual/platform.texi: Document new functions __ppc_yield,
56293         __ppc_mdoio and __ppc_mdoom.
56295 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
56297         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
56298         (main): Mention "tls" pseudo-hwcap is legacy.
56299         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
56301 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56303         * math/gen-libm-test.pl (parse_args): Output only string of
56304         arguments as text for test name, not full call or descriptions of
56305         tests for extra outputs.
56306         (generate_testfile): Do not pass function name to parse_args.
56307         Generate this_func variable from START.
56308         * math/libm-test.inc (struct test_f_f_data): Rename test_name
56309         field to arg_str.
56310         (struct test_ff_f_data): Likewise.
56311         (test_ff_f_data_nexttoward): Likewise.
56312         (struct test_fi_f_data): Likewise.
56313         (struct test_fl_f_data): Likewise.
56314         (struct test_if_f_data): Likewise.
56315         (struct test_fff_f_data): Likewise.
56316         (struct test_c_f_data): Likewise.
56317         (struct test_f_f1_data): Likewise.  Remove field extra_name.
56318         (struct test_fF_f1_data): Likewise.
56319         (struct test_ffI_f1_data): Likewise.
56320         (struct test_c_c_data): Rename test_name field to arg_str.
56321         (struct test_cc_c_data): Likewise.
56322         (struct test_f_i_data): Likewise.
56323         (struct test_ff_i_data): Likewise.
56324         (struct test_f_l_data): Likewise.
56325         (struct test_f_L_data): Likewise.
56326         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
56327         and extra2_name.
56328         (COMMON_TEST_SETUP): New macro.
56329         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56330         (COMMON_TEST_CLEANUP): Likewise.
56331         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56332         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
56333         macros.
56334         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56335         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
56336         macros.
56337         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56338         (RUN_TEST_fff_f): Take argument string.  Call new setup and
56339         cleanup macros.
56340         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56341         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
56342         macros.
56343         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56344         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
56345         macros.
56346         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56347         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
56348         cleanup macros.
56349         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56350         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
56351         cleanup macros.
56352         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56353         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
56354         cleanup macros.
56355         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56356         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
56357         macros.
56358         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56359         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
56360         macros.
56361         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56362         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
56363         macros.
56364         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56365         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
56366         cleanup macros.
56367         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56368         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
56369         cleanup macros.
56370         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56371         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
56372         macros.
56373         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56374         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
56375         cleanup macros.
56376         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56377         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
56378         macros.
56379         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56380         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
56381         macros.
56382         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56383         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
56384         cleanup macros.
56385         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56387 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
56389         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56390         to _sifields.sigfault.
56391         (si_addr_lsb): Define new macro.
56392         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56393         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56394         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56396 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
56398         [BZ #15441]
56399         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56400         returns -1.
56401         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56402         null return -1.
56403         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56404         loading the domain.
56406 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
56408         * math/gen-libm-test.pl (parse_args): Do not include expected
56409         result in test name.
56410         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56411         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56412         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56413         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56414         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56415         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56417 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
56419         * benchtests/Makefile: Sort function entries.
56421         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56422         tanh, asinh, acosh, atanh.
56423         * benchtests/acos-inputs: New file.
56424         * benchtests/acosh-inputs: New file.
56425         * benchtests/asin-inputs: New file.
56426         * benchtests/asinh-inputs: New file.
56427         * benchtests/atanh-inputs: New file.
56428         * benchtests/cosh-inputs: New file.
56429         * benchtests/log-inputs: New file.
56430         * benchtests/sinh-inputs: New file.
56431         * benchtests/tanh-inputs: New file.
56433 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
56435         [BZ #15339]
56436         * posix/tst-getaddrinfo4.c: New test.
56437         * posix/Makefile (tests): Add it.
56439 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56441         [BZ #15339]
56442         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56443         when no services were used.
56444         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56445         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56447 2013-05-21  Andreas Schwab  <schwab@suse.de>
56449         [BZ #15014]
56450         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56451         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56452         successful.
56453         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56454         redundant variable declarations and reallocation of buffer when
56455         parsing as IPv6 address.  Always set NSS status when called from
56456         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
56457         buffer too small.  Correct computation of needed size.
56458         * nss/Makefile (tests): Add test-digits-dots.
56459         * nss/test-digits-dots.c: New test.
56461 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56463         * benchtests/Makefile: Remove instructions for adding
56464         benchmark tests.
56465         * benchtests/README: New file to explain how to execute and
56466         enhance the benchmark tests.
56468 2013-05-21  Andreas Schwab  <schwab@suse.de>
56470         [BZ #15493]
56471         * setjmp/Makefile (tests): Add tst-sigsetjmp.
56472         * setjmp/tst-sigsetjmp.c: New test.
56474 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56476         * sysdeps/x86_64/memset.S (memset): New implementation.
56477         (__bzero): Likewise.
56478         (__memset_tail): New function.
56480 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
56482         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56483         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56484         __memcpy_sse2_unaligned ifunc selection.
56485         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56486         Add memcpy-sse2-unaligned.S.
56487         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56488         Add: __memcpy_sse2_unaligned.
56490 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
56492         [BZ #15490]
56493         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56494         math_force_eval before restoring floating-point envrionment.
56495         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56496         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56497         Likewise.
56498         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56499         <math_private.h>.
56500         (__nearbyintl): Use math_force_eval before restoring
56501         floating-point environment.
56502         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56504         * math/gen-libm-test.pl (special_functions): Remove.
56505         (parse_args): Don't handle TEST_extra.  Handle functions with no
56506         return value.
56507         * math/libm-test.inc (struct test_sincos_data): Replace with
56508         struct test_fFF_11_data.
56509         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56510         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56511         (sincos_test_data): Change element type to struct
56512         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
56513         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56514         RUN_TEST_LOOP_sincos.
56515         * math/README.libm-test: Don't mention special handling of
56516         individual functions.
56517         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56518         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56519         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56520         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56521         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56524         * math/gen-libm-test.pl (get_variable): Remove function.
56525         (parse_args): Don't show pointer parameters to call in test
56526         names.  Use "extra output N" in test names for extra outputs
56527         rather than naming variables.
56529 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
56531         [BZ #15488]
56532         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56533         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56534         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56535         double tests.
56536         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56537         disable.
56538         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56539         check_long_double.
56541         * math/gen-libm-test.pl (@tests): Remove variable.
56542         ($count): Likewise.
56543         (new_test): Remove function.
56544         (show_exceptions): New function.
56545         (special_functions): Use show_exceptions instead of new_test.
56546         (parse_args): Likewise.
56547         (generate_testfile): Pass only function name in generated call to
56548         print_max_error or print_complex_max_error.
56549         (get_ulps): Do not handle complex tests specially.
56550         (output_test): Rename to ...
56551         (get_all_ulps_for_test): ... this.  Return a string rather than
56552         printing to a file.  Require ulps to be present.
56553         (output_ulps): Generate arrays rather than #defines.
56554         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56555         (struct ulp_data): New type.
56556         (BUILD_COMPLEX_ULP): Remove macro.
56557         (compare_ulp_data): New function.
56558         (find_ulps): Likewise.
56559         (find_test_ulps): Likewise.
56560         (find_function_ulps): Likewise.
56561         (find_complex_function_ulps): Likewise.
56562         (print_max_error): Determine allowed ulps using
56563         find_function_ulps.
56564         (print_complex_max_error): Determine allowed ulps using
56565         find_complex_function_ulps.
56566         (check_float_internal): Determine max ulps using find_test_ulps.
56567         (check_float): Do not take max_ulp parameter.  Update call to
56568         check_float_internal.
56569         (check_complex): Likewise.
56570         (check_int): Do not take max_ulp parameter.
56571         (check_long): Likewise.
56572         (check_bool): Likewise.
56573         (check_longlong): Likewise.
56574         (struct test_f_f_data): Remove max_ulp field.
56575         (struct test_ff_f_data): Likewise.
56576         (struct test_ff_f_data_nexttoward): Likewise.
56577         (struct test_fi_f_data): Likewise.
56578         (struct test_fl_f_data): Likewise.
56579         (struct test_if_f_data): Likewise.
56580         (struct test_fff_f_data): Likewise.
56581         (struct test_c_f_data): Likewise.
56582         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56583         (struct test_fF_f1_data): Likewise.
56584         (struct test_ffI_f1_data): Likewise.
56585         (struct test_c_c_data): Remove max_ulp field.
56586         (struct test_cc_c_data): Likewise.
56587         (struct test_f_i_data): Likewise.
56588         (struct test_ff_i_data): Likewise.
56589         (struct test_f_l_data): Likewise.
56590         (struct test_f_L_data): Likewise.
56591         (struct test_sincos_data): Likewise.
56592         (RUN_TEST_f_f): Do not handle ulps.
56593         (RUN_TEST_LOOP_f_f): Likewise.
56594         (RUN_TEST_2_f): Likewise.
56595         (RUN_TEST_LOOP_2_f): Likewise.
56596         (RUN_TEST_fff_f): Likewise.
56597         (RUN_TEST_LOOP_fff_f): Likewise.
56598         (RUN_TEST_c_f): Likewise.
56599         (RUN_TEST_LOOP_c_f): Likewise.
56600         (RUN_TEST_f_f1): Likewise.
56601         (RUN_TEST_LOOP_f_f1): Likewise.
56602         (RUN_TEST_fF_f1): Likewise.
56603         (RUN_TEST_LOOP_fF_f1): Likewise.
56604         (RUN_TEST_fI_f1): Likewise.
56605         (RUN_TEST_LOOP_fI_f1): Likewise.
56606         (RUN_TEST_ffI_f1): Likewise.
56607         (RUN_TEST_LOOP_ffI_f1): Likewise.
56608         (RUN_TEST_c_c): Likewise.
56609         (RUN_TEST_LOOP_c_c): Likewise.
56610         (RUN_TEST_cc_c): Likewise.
56611         (RUN_TEST_LOOP_cc_c): Likewise.
56612         (RUN_TEST_f_i): Likewise.
56613         (RUN_TEST_LOOP_f_i): Likewise.
56614         (RUN_TEST_f_i_tg): Likewise.
56615         (RUN_TEST_LOOP_f_i_tg): Likewise.
56616         (RUN_TEST_ff_i_tg): Likewise.
56617         (RUN_TEST_LOOP_ff_i_tg): Likewise.
56618         (RUN_TEST_f_b): Likewise.
56619         (RUN_TEST_LOOP_f_b): Likewise.
56620         (RUN_TEST_f_b_tg): Likewise.
56621         (RUN_TEST_LOOP_f_b_tg): Likewise.
56622         (RUN_TEST_f_l): Likewise.
56623         (RUN_TEST_LOOP_f_l): Likewise.
56624         (RUN_TEST_f_L): Likewise.
56625         (RUN_TEST_LOOP_f_L): Likewise.
56626         (RUN_TEST_sincos): Likewise.
56627         (RUN_TEST_LOOP_sincos): Likewise.
56629 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
56631         [BZ #15480]
56632         [BZ #15485]
56633         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56634         main case of finite arguments, set rounding mode to FE_TONEAREST
56635         and discard exceptions.
56636         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56637         exceptions.
56638         (remainder_tonearest_test_data): New variable.
56639         (remainder_test_tonearest): New function.
56640         (remainder_towardzero_test_data): New variable.
56641         (remainder_test_towardzero): New function.
56642         (remainder_downward_test_data): New variable.
56643         (remainder_test_downward): New function.
56644         (remainder_upward_test_data): New variable.
56645         (remainder_test_upward): New function.
56646         (main): Call the new test functions.
56648         * math/libm-test.inc (struct test_f_f1_data): Remove field
56649         extra_init.
56650         (struct test_fF_f1_data): Likewise.
56651         (struct test_ffI_f1_data): Likewise.
56652         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
56653         based on value of EXTRA_EXPECTED.
56654         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56655         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
56656         EXTRA_VAR based on value of EXTRA_EXPECTED.
56657         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56658         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
56659         EXTRA_VAR based on value of EXTRA_EXPECTED.
56660         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56661         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
56662         EXTRA_VAR based on value of EXTRA_EXPECTED.
56663         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56664         * math/gen-libm-test.pl (parse_args): Don't output initializers
56665         for extra output values.
56667         * math/libm-test.inc (check_int): Expect result to be exactly
56668         equal to expected value and do not handle ulps.
56669         (check_long): Likewise.
56670         (check_longlong): Likewise.
56672         * math/libm-test.inc (ceil_test_data): Test for "inexact"
56673         exceptions.
56674         (cimag_test_data): Likewise.
56675         (conj_test_data): Likewise.
56676         (copysign_test_data): Likewise.
56677         (cproj_test_data): Likewise.
56678         (creal_test_data): Likewise.
56679         (fabs_test_data): Likewise.
56680         (fdim_test_data): Likewise.
56681         (finite_test_data): Likewise.
56682         (floor_test_data): Likewise.
56683         (fmax_test_data): Likewise.
56684         (fmin_test_data): Likewise.
56685         (fmod_test_data): Likewise.
56686         (fpclassify_test_data): Likewise.
56687         (frexp_test_data): Likewise.
56688         (ilogb_test_data): Likewise.
56689         (isfinite_test_data): Likewise.
56690         (isgreater_test_data): Likewise.
56691         (isgreaterequal_test_data): Likewise.
56692         (isinf_test_data): Likewise.
56693         (isless_test_data): Likewise.
56694         (islessequal_test_data): Likewise.
56695         (islessgreater_test_data): Likewise.
56696         (isnan_test_data): Likewise.
56697         (isnormal_test_data): Likewise.
56698         (issignaling_test_data): Likewise.
56699         (isunordered_test_data): Likewise.
56700         (ldexp_test_data): Likewise.
56701         (lrint_test_data): Likewise.
56702         (lrint_test_data) [TEST_FLOAT]: Disable one test.
56703         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56704         (lrint_tonearest_test_data): Test for "inexact" exceptions.
56705         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56706         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56707         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56708         test input.
56709         (lrint_towardzero_test_data): Test for "inexact" exceptions.
56710         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56711         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56712         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56713         that test input.
56714         (lrint_downward_test_data): Test for "inexact" exceptions.
56715         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56716         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56717         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56718         test input.
56719         (lrint_upward_test_data): Test for "inexact" exceptions.
56720         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56721         test input.
56722         (llrint_test_data): Test for "inexact" exceptions.
56723         (llrint_test_data) [TEST_FLOAT]: Disable one test.
56724         (llrint_tonearest_test_data): Test for "inexact" exceptions.
56725         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56726         (llrint_towardzero_test_data): Test for "inexact" exceptions.
56727         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56728         (llrint_downward_test_data): Test for "inexact" exceptions.
56729         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56730         (llrint_upward_test_data): Test for "inexact" exceptions.
56731         (logb_test_data): Likewise.
56732         (logb_downward_test_data): Likewise.
56733         (nextafter_test_data): Likewise.
56734         (nexttoward_test_data): Likewise.
56735         (remainder_test_data): Likewise.
56736         (remquo_test_data): Likewise.
56737         (scalbn_test_data): Likewise.
56738         (scalbln_test_data): Likewise.
56739         (signbit_test_data): Likewise.
56740         (sqrt_test_data): Likewise.
56741         (significand_test_data): Likewise.
56743 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
56745         [BZ #15424]
56746         * benchtests/bench-modf.c (struct args): Mark arg0 as
56747         volatile.
56748         * scripts/bench.pl: Mark members of struct args as volatile.
56750 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56752         [BZ # 15497]
56753         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56754         negative infinity on POWER6 or lower.
56755         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56757 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
56759         [BZ #15442]
56760         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56761         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56762         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56763         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56764         (_FP_SETQNAN): New macro.
56765         (_FP_SETQNAN_SEMIRAW): Likewise.
56766         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56767         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56768         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56769         (FP_EXTEND): Use _FP_FRAC_SNANP.
56770         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56771         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56772         into account.
56773         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56774         New macro.
56775         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56776         Likewise.
56778 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
56780         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56781         with DIVIDE_BY_ZERO_EXCEPTION.
56782         (gamma_test_data): Likewise.
56783         (lgamma_test_data): Likewise.
56784         (log_test_data): Likewise.
56785         (log10_test_data): Likewise.
56786         (log2_test_data): Likewise.
56787         (tgamma_test_data): Likewise.
56789         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56790         (acos_test_tonearest): Likewise.
56791         (acos_test_towardzero): Likewise.
56792         (acos_test_downward): Likewise.
56793         (acos_test_upward): Likewise.
56794         (acosh_test): Likewise.
56795         (asin_test): Likewise.
56796         (asin_test_tonearest): Likewise.
56797         (asin_test_towardzero): Likewise.
56798         (asin_test_downward): Likewise.
56799         (asin_test_upward): Likewise.
56800         (asinh_test): Likewise.
56801         (atan_test): Likewise.
56802         (atanh_test): Likewise.
56803         (atan2_test): Likewise.
56804         (cabs_test): Likewise.
56805         (cacos_test): Likewise.
56806         (cacosh_test): Likewise.
56807         (casin_test): Likewise.
56808         (casinh_test): Likewise.
56809         (catan_test): Likewise.
56810         (catanh_test): Likewise.
56811         (cbrt_test): Likewise.
56812         (ccos_test): Likewise.
56813         (ccosh_test): Likewise.
56814         (cexp_test): Likewise.
56815         (clog_test): Likewise.
56816         (clog10_test): Likewise.
56817         (cos_test): Likewise.
56818         (cos_test_tonearest): Likewise.
56819         (cos_test_towardzero): Likewise.
56820         (cos_test_downward): Likewise.
56821         (cos_test_upward): Likewise.
56822         (cosh_test): Likewise.
56823         (cosh_test_tonearest): Likewise.
56824         (cosh_test_towardzero): Likewise.
56825         (cosh_test_downward): Likewise.
56826         (cosh_test_upward): Likewise.
56827         (cpow_test): Likewise.
56828         (csin_test): Likewise.
56829         (csinh_test): Likewise.
56830         (csqrt_test): Likewise.
56831         (ctan_test): Likewise.
56832         (ctan_test_tonearest): Likewise.
56833         (ctan_test_towardzero): Likewise.
56834         (ctan_test_downward): Likewise.
56835         (ctan_test_upward): Likewise.
56836         (ctanh_test): Likewise.
56837         (ctanh_test_tonearest): Likewise.
56838         (ctanh_test_towardzero): Likewise.
56839         (ctanh_test_downward): Likewise.
56840         (ctanh_test_upward): Likewise.
56841         (erf_test): Likewise.
56842         (erfc_test): Likewise.
56843         (exp_test): Likewise.
56844         (exp_test_tonearest): Likewise.
56845         (exp_test_towardzero): Likewise.
56846         (exp_test_downward): Likewise.
56847         (exp_test_upward): Likewise.
56848         (exp10_test): Likewise.
56849         (exp2_test): Likewise.
56850         (expm1_test): Likewise.
56851         (fmod_test): Likewise.
56852         (gamma_test): Likewise.
56853         (hypot_test): Likewise.
56854         (j0_test): Likewise.
56855         (j1_test): Likewise.
56856         (jn_test): Likewise.
56857         (lgamma_test): Likewise.
56858         (log_test): Likewise.
56859         (log10_test): Likewise.
56860         (log1p_test): Likewise.
56861         (log2_test): Likewise.
56862         (logb_test_downward): Likewise.
56863         (pow_test): Likewise.
56864         (pow_test_tonearest): Likewise.
56865         (pow_test_towardzero): Likewise.
56866         (pow_test_downward): Likewise.
56867         (pow_test_upward): Likewise.
56868         (remainder_test): Likewise.
56869         (remquo_test): Likewise.
56870         (sin_test): Likewise.
56871         (sin_test_tonearest): Likewise.
56872         (sin_test_towardzero): Likewise.
56873         (sin_test_downward): Likewise.
56874         (sin_test_upward): Likewise.
56875         (sincos_test): Likewise.
56876         (sinh_test): Likewise.
56877         (sinh_test_tonearest): Likewise.
56878         (sinh_test_towardzero): Likewise.
56879         (sinh_test_downward): Likewise.
56880         (sinh_test_upward): Likewise.
56881         (sqrt_test): Likewise.
56882         (tan_test): Likewise.
56883         (tan_test_tonearest): Likewise.
56884         (tan_test_towardzero): Likewise.
56885         (tan_test_downward): Likewise.
56886         (tan_test_upward): Likewise.
56887         (tanh_test): Likewise.
56888         (tgamma_test): Likewise.
56889         (y0_test): Likewise.
56890         (y1_test): Likewise.
56891         (yn_test): Likewise.
56893         * math/gen-libm-test.pl (adjust_arg): Remove function.
56894         (special_function): Remove argument $in_func.  Only handle
56895         generating output for tables of tests, not inside functions.
56896         (parse_args): Likewise.
56897         (generate_testfile): Remove variable $in_func.  Update call to
56898         parse_args.
56899         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56900         (MINUS_ZERO_INIT): Rename macro to minus_zero.
56901         (PLUS_INFTY_INIT): Rename macro to plus_infty.
56902         (MINUS_INFTY_INIT): Rename macro to minus_infty.
56903         (QNAN_VALUE_INIT): Rename macro to qnan_value.
56904         (MAX_VALUE_INIT): Rename macro to max_value.
56905         (MIN_VALUE_INIT): Rename macro to min_value.
56906         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56907         (plus_zero): Remove variable.
56908         (minus_zero): Likewise.
56909         (plus_infty): Likewise.
56910         (minus_infty): Likewise.
56911         (qnan_value): Likewise.
56912         (max_value): Likewise.
56913         (min_value): Likewise.
56914         (min_subnorm_value): Likewise.
56916 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
56918         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56919         uint64_t or uint32_t usage.
56920         * crypt/sha256-block.c: Likewise.
56921         * crypt/sha256-crypt.c: Likewise.
56922         * crypt/sha256.c: Likewise.
56923         * crypt/sha512-block.c: Likewise.
56924         * crypt/sha512-crypt.c: Likewise.
56925         * crypt/sha512.c: Likewise.
56926         * debug/backtrace-tst.c: Likewise.
56927         * debug/pcprofiledump.c: Likewise.
56928         * elf/cache.c: Likewise.
56929         * elf/dl-cache.c: Likewise.
56930         * elf/dl-misc.c: Likewise.
56931         * elf/dl-profile.c: Likewise.
56932         * elf/dl-support.c: Likewise.
56933         * elf/ldconfig.c: Likewise.
56934         * elf/sprof.c: Likewise.
56935         * iconv/dummy-repertoire.c: Likewise.
56936         * iconv/iconv_charmap.c: Likewise.
56937         * iconv/skeleton.c: Likewise.
56938         * iconvdata/8bit-generic.c: Likewise.
56939         * iconvdata/cp737.h: Likewise.
56940         * iconvdata/cp775.h: Likewise.
56941         * iconvdata/ibm1008.h: Likewise.
56942         * iconvdata/ibm1025.h: Likewise.
56943         * iconvdata/ibm1046.h: Likewise.
56944         * iconvdata/ibm1097.h: Likewise.
56945         * iconvdata/ibm1112.h: Likewise.
56946         * iconvdata/ibm1122.h: Likewise.
56947         * iconvdata/ibm1123.h: Likewise.
56948         * iconvdata/ibm1124.h: Likewise.
56949         * iconvdata/ibm1129.h: Likewise.
56950         * iconvdata/ibm1130.h: Likewise.
56951         * iconvdata/ibm1132.h: Likewise.
56952         * iconvdata/ibm1133.h: Likewise.
56953         * iconvdata/ibm1137.h: Likewise.
56954         * iconvdata/ibm1140.h: Likewise.
56955         * iconvdata/ibm1141.h: Likewise.
56956         * iconvdata/ibm1142.h: Likewise.
56957         * iconvdata/ibm1143.h: Likewise.
56958         * iconvdata/ibm1144.h: Likewise.
56959         * iconvdata/ibm1145.h: Likewise.
56960         * iconvdata/ibm1146.h: Likewise.
56961         * iconvdata/ibm1147.h: Likewise.
56962         * iconvdata/ibm1148.h: Likewise.
56963         * iconvdata/ibm1149.h: Likewise.
56964         * iconvdata/ibm1153.h: Likewise.
56965         * iconvdata/ibm1154.h: Likewise.
56966         * iconvdata/ibm1155.h: Likewise.
56967         * iconvdata/ibm1156.h: Likewise.
56968         * iconvdata/ibm1157.h: Likewise.
56969         * iconvdata/ibm1158.h: Likewise.
56970         * iconvdata/ibm1160.h: Likewise.
56971         * iconvdata/ibm1161.h: Likewise.
56972         * iconvdata/ibm1162.h: Likewise.
56973         * iconvdata/ibm1163.h: Likewise.
56974         * iconvdata/ibm1164.h: Likewise.
56975         * iconvdata/ibm1166.h: Likewise.
56976         * iconvdata/ibm1167.h: Likewise.
56977         * iconvdata/ibm12712.h: Likewise.
56978         * iconvdata/ibm1390.h: Likewise.
56979         * iconvdata/ibm1399.h: Likewise.
56980         * iconvdata/ibm16804.h: Likewise.
56981         * iconvdata/ibm4517.h: Likewise.
56982         * iconvdata/ibm4899.h: Likewise.
56983         * iconvdata/ibm4909.h: Likewise.
56984         * iconvdata/ibm4971.h: Likewise.
56985         * iconvdata/ibm5347.h: Likewise.
56986         * iconvdata/ibm803.h: Likewise.
56987         * iconvdata/ibm856.h: Likewise.
56988         * iconvdata/ibm901.h: Likewise.
56989         * iconvdata/ibm902.h: Likewise.
56990         * iconvdata/ibm9030.h: Likewise.
56991         * iconvdata/ibm9066.h: Likewise.
56992         * iconvdata/ibm921.h: Likewise.
56993         * iconvdata/ibm922.h: Likewise.
56994         * iconvdata/ibm9448.h: Likewise.
56995         * iconvdata/isiri-3342.h: Likewise.
56996         * iconvdata/jis0201.h: Likewise.
56997         * include/link.h: Likewise.
56998         * include/netdb.h: Likewise.
56999         * inet/check_native.c: Likewise.
57000         * inet/check_pf.c: Likewise.
57001         * inet/getipv4sourcefilter.c: Likewise.
57002         * inet/getnameinfo.c: Likewise.
57003         * inet/getsourcefilter.c: Likewise.
57004         * inet/htonl.c: Likewise.
57005         * inet/setipv4sourcefilter.c: Likewise.
57006         * inet/setsourcefilter.c: Likewise.
57007         * inet/test-inet6_opt.c: Likewise.
57008         * inet/tst-network.c: Likewise.
57009         * locale/C-collate.c: Likewise.
57010         * locale/C-ctype.c: Likewise.
57011         * locale/C-time.c: Likewise.
57012         * locale/C-translit.h: Likewise.
57013         * locale/loadarchive.c: Likewise.
57014         * locale/programs/3level.h: Likewise.
57015         * locale/programs/charmap.c: Likewise.
57016         * locale/programs/charmap.h: Likewise.
57017         * locale/programs/ld-address.c: Likewise.
57018         * locale/programs/ld-collate.c: Likewise.
57019         * locale/programs/ld-ctype.c: Likewise.
57020         * locale/programs/ld-identification.c: Likewise.
57021         * locale/programs/ld-measurement.c: Likewise.
57022         * locale/programs/ld-messages.c: Likewise.
57023         * locale/programs/ld-monetary.c: Likewise.
57024         * locale/programs/ld-name.c: Likewise.
57025         * locale/programs/ld-numeric.c: Likewise.
57026         * locale/programs/ld-paper.c: Likewise.
57027         * locale/programs/ld-telephone.c: Likewise.
57028         * locale/programs/ld-time.c: Likewise.
57029         * locale/programs/linereader.c: Likewise.
57030         * locale/programs/locale.c: Likewise.
57031         * locale/programs/locarchive.c: Likewise.
57032         * locale/programs/locfile.h: Likewise.
57033         * locale/programs/repertoire.c: Likewise.
57034         * locale/programs/simple-hash.c: Likewise.
57035         * locale/programs/simple-hash.h: Likewise.
57036         * malloc/memusage.c: Likewise.
57037         * malloc/memusagestat.c: Likewise.
57038         * nis/nis_defaults.c: Likewise.
57039         * nis/nis_hash.c: Likewise.
57040         * nis/nis_print.c: Likewise.
57041         * nis/nis_xdr.c: Likewise.
57042         * nscd/connections.c: Likewise.
57043         * nscd/hstcache.c: Likewise.
57044         * nscd/nscd_gethst_r.c: Likewise.
57045         * nscd/nscd_getserv_r.c: Likewise.
57046         * nscd/nscd_helper.c: Likewise.
57047         * nscd/servicescache.c: Likewise.
57048         * nss/makedb.c: Likewise.
57049         * nss/nss_db/db-XXX.c: Likewise.
57050         * nss/nss_db/db-initgroups.c: Likewise.
57051         * nss/nss_db/db-netgrp.c: Likewise.
57052         * nss/nss_files/files-network.c: Likewise.
57053         * nss/nss_files/files-parse.c: Likewise.
57054         * posix/bug-regex5.c: Likewise.
57055         * posix/fnmatch_loop.c: Likewise.
57056         * posix/regcomp.c: Likewise.
57057         * posix/regexec.c: Likewise.
57058         * posix/tst-rfc3484-2.c: Likewise.
57059         * posix/tst-rfc3484-3.c: Likewise.
57060         * posix/tst-rfc3484.c: Likewise.
57061         * resolv/nss_dns/dns-canon.c: Likewise.
57062         * resolv/nss_dns/dns-network.c: Likewise.
57063         * resolv/res_init.c: Likewise.
57064         * resolv/res_mkquery.c: Likewise.
57065         * resolv/tst-aton.c: Likewise.
57066         * stdlib/cxa_atexit.c: Likewise.
57067         * stdlib/cxa_finalize.c: Likewise.
57068         * stdlib/gen-fpioconst.c: Likewise.
57069         * stdlib/strtol_l.c: Likewise.
57070         * string/tst-endian.c: Likewise.
57071         * sunrpc/auth_des.c: Likewise.
57072         * sunrpc/clnt_udp.c: Likewise.
57073         * sunrpc/rtime.c: Likewise.
57074         * sunrpc/svcauth_des.c: Likewise.
57075         * sunrpc/xdr.c: Likewise.
57076         * sunrpc/xdr_intXX_t.c: Likewise.
57077         * sunrpc/xdr_rec.c: Likewise.
57078         * sysdeps/generic/ldconfig.h: Likewise.
57079         * sysdeps/generic/ldsodefs.h: Likewise.
57080         * sysdeps/generic/memusage.h: Likewise.
57081         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57082         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57083         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57084         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57085         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57086         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57087         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57088         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57089         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57090         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57091         * sysdeps/posix/getaddrinfo.c: Likewise.
57092         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57093         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57094         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57095         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57096         * sysdeps/powerpc/test-gettimebase.c: Likewise.
57097         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57098         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57099         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57100         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57101         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57102         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57103         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57104         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57105         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57106         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57107         * sysdeps/x86_64/dl-tls.h: Likewise.
57108         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57109         * time/alt_digit.c: Likewise.
57110         * time/era.c: Likewise.
57111         * wcsmbs/tst-c16c32-1.c: Likewise.
57113 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57115         * math/libm-test.inc (struct test_sincos_data): New type.
57116         (RUN_TEST_LOOP_sincos): New macro.
57117         (sincos_test_data): New variable.
57118         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57120 2013-05-16  Richard Henderson  <rth@redhat.com>
57122         * math/atest-exp2.c (LIMB64): New macro.
57123         (CONSTSZ): New macro.
57124         (mp_exp1, mp_exp_m1, mp_log2): New variables.
57125         (hexdig): Move ...
57126         (print_mpn_fp): ... to function scope.
57127         (read_mpn_hex): Remove.
57128         (get_log2): Remove.
57129         (exp2_mpn): Use mp_log2.
57130         (main): Use mp_exp1.
57132 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
57134         * math/libm-test.inc: Remove comment about not testing "inexact"
57135         exceptions.
57136         (INEXACT_EXCEPTION): New macro.
57137         (NO_INEXACT_EXCEPTION): Likewise.
57138         (INVALID_EXCEPTION_OK): Update value.
57139         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57140         (OVERFLOW_EXCEPTION_OK): Likewise.
57141         (UNDERFLOW_EXCEPTION_OK): Likewise.
57142         (IGNORE_ZERO_INF_SIGN): Likewise.
57143         (ERRNO_UNCHANGED): Likewise.
57144         (ERRNO_EDOM): Likewise.
57145         (ERRNO_ERANGE): Likewise.
57146         (test_exceptions): Handle testing "inexact" exceptions.
57147         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
57148         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
57149         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
57150         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
57151         INEXACT_EXCEPTION.
57152         (rint_towardzero_test_data): Likewise.
57153         (rint_downward_test_data): Likewise.
57154         (rint_upward_test_data): Likewise.
57156         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
57157         with OVERFLOW_EXCEPTION.
57158         (exp10_test_data): Likewise.
57159         (exp2_test_data): Likewise.
57160         (expm1_test_data): Likewise.
57161         (lgamma_test_data): Likewise.
57162         (pow_test_data): Likewise.
57163         (tgamma_test_data): Likewise.
57164         (yn_test_data): Remove duplicate test of overflow.
57166         * math/libm-test.inc (struct test_cc_c_data): New type.
57167         (RUN_TEST_LOOP_cc_c): New macro.
57168         (cpow_test_data): New variable.
57169         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
57171         * math/libm-test.inc (struct test_f_L_data): New type.
57172         (RUN_TEST_LOOP_f_L): New macro.
57173         (llrint_test_data): New variable.
57174         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
57175         (llrint_tonearest_test_data): New variable.
57176         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
57177         (llrint_towardzero_test_data): New variable.
57178         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
57179         (llrint_downward_test_data): New variable.
57180         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
57181         (llrint_upward_test_data): New variable.
57182         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
57183         (llround_test_data): New variable.
57184         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
57186 2013-05-13  Peter Collingbourne  <pcc@google.com>
57188         * math/atest-exp2.c (get_log2): Remove const attribute.
57190 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
57192         * math/libm-test.inc (struct test_f_l_data): New type.
57193         (RUN_TEST_LOOP_f_l): New macro.
57194         (lrint_test_data): New variable.
57195         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
57196         (lrint_tonearest_test_data): New variable.
57197         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
57198         (lrint_towardzero_test_data): New variable.
57199         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
57200         (lrint_downward_test_data): New variable.
57201         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
57202         (lrint_upward_test_data): New variable.
57203         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
57204         (lround_test_data): New variable.
57205         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
57207 2013-05-15  Peter Collingbourne  <pcc@google.com>
57209         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
57210         (EXTRACT_WORDS64) Use where appropriate.
57211         (INSERT_WORDS64) Likewise.
57213         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
57214         constraints with x constraints.
57215         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
57217         * malloc/obstack.c (_obstack_compat): Add initializer.
57219 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
57221         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
57222         si_trapno and add si_addr_lsb to _sifields.sigfault.
57223         (si_trapno): Remove macro.
57224         (si_addr_lsb): Define new macro.
57225         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57227 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
57229         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
57230         instead of TEST_f_l.
57231         (llrint_test_tonearest): Likewise.
57232         (llrint_test_towardzero): Likewise.
57233         (llrint_test_downward): Likewise.
57234         (llrint_test_upward): Likewise.
57235         (llround_test): Likewise.
57237         * math/libm-test.inc (struct test_f_i_data): Add comment.
57238         (RUN_TEST_LOOP_f_b): New macro.
57239         (RUN_TEST_LOOP_f_b_tg): Likewise.
57240         (finite_test_data): New variable.
57241         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
57242         (isfinite_test_data): New variable.
57243         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57244         (isinf_test_data): New variable.
57245         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57246         (isnan_test_data): New variable.
57247         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57248         (isnormal_test_data): New variable.
57249         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57250         (issignaling_test_data): New variable.
57251         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57252         (signbit_test_data): New variable.
57253         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57255         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
57256         with INVALID_EXCEPTION.
57257         (acosh_test_data): Likewise.
57258         (asin_test_data): Likewise.
57259         (atanh_test_data): Likewise.
57260         (fmod_test_data): Likewise.
57261         (log_test_data): Likewise.
57262         (log10_test_data): Likewise.
57263         (log2_test_data): Likewise.
57264         (pow_test_data): Likewise.
57265         (sqrt_test_data): Likewise.
57266         (y0_test_data): Likewise.
57267         (y1_test_data): Likewise.
57268         (yn_test_data): Likewise.
57270         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
57271         function contents.
57273         * math/libm-test.inc (struct test_ff_i_data): New type.
57274         (RUN_TEST_LOOP_ff_i_tg): New macro.
57275         (isgreater_test_data): New variable.
57276         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57277         (isgreaterequal_test_data): New variable.
57278         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57279         (isless_test_data): New variable.
57280         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57281         (islessequal_test_data): New variable.
57282         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57283         (islessgreater_test_data): New variable.
57284         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57285         (isunordered_test_data): New variable.
57286         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57288 2013-05-14  David S. Miller  <davem@davemloft.net>
57290         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57292 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
57294         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
57296         * math/libm-test.inc (struct test_fF_f1_data): Change type of
57297         extra_test to int.
57298         (struct test_f_i_data): Change type of max_ulp to int.
57300         * math/libm-test.inc (test_ffI_f1_data): New type.
57301         (RUN_TEST_LOOP_ffI_f1): New macro.
57302         (remquo_test_data): New variable.
57303         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
57305         * setjmp/tst-setjmp-fp.c: New file.
57306         * setjmp/Makefile (tests): Add tst-setjmp-fp.
57307         (link-libm): New variable.
57308         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57310         * math/libm-test.inc (struct test_f_i_data): New type.
57311         (RUN_TEST_LOOP_f_i): New macro.
57312         (RUN_TEST_LOOP_f_i_tg): Likewise.
57313         (fpclassify_test_data): New variable.
57314         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57315         (ilogb_test_data): New variable.
57316         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57318         * math/libm-test.inc (scalbln_test): Correct function name in END
57319         call.
57321         * math/libm-test.inc (struct test_f_f1_data): Add comment.
57322         (RUN_TEST_LOOP_fI_f1): New macro.
57323         (frexp_test_data): New variable.
57324         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57326         * math/libm-test.inc (struct test_fF_f1_data): New type.
57327         (RUN_TEST_LOOP_fF_f1): New macro.
57328         (modf_test_data): New variable.
57329         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57331         * math/libm-test.inc (struct test_f_f1_data): New type.
57332         (RUN_TEST_LOOP_f_f1): New macro.
57333         (gamma_test_data): New variable.
57334         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57335         (lgamma_test_data): New variable.
57336         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57338 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
57340         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57341         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57342         (main): Comment "tls" pseudo-hwcap.
57344 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
57346         * math/libm-test.inc (struct test_fl_f_data): New type.
57347         (RUN_TEST_LOOP_fl_f): New variable.
57348         (scalbln_test_data): New variable.
57349         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57351         * math/libm-test.inc (struct test_fi_f_data): New type.
57352         (RUN_TEST_LOOP_fi_f): New macro.
57353         (ldexp_test_data): New variable.
57354         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57355         (scalbn_test_data): New variable.
57356         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57358         * math/libm-test.inc (struct test_c_f_data): New type.
57359         (RUN_TEST_LOOP_c_f): New macro.
57360         (cabs_test_data): New variable.
57361         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57362         (carg_test_data): New variable.
57363         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57364         (cimag_test_data): New variable.
57365         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57366         (creal_test_data): New variable.
57367         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57369         * math/libm-test.inc (struct test_if_f_data): New type.
57370         (RUN_TEST_LOOP_if_f): New macro.
57371         (jn_test_data): New variable.
57372         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57373         (yn_test_data): New variable.
57374         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57376         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57378 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57380         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57381         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57383 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
57385         * benchtests/Makefile (CPPFLAGS-nonlib): Add
57386         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57387         (bench-deps): Add bench-timing.h.
57388         * benchtests-bench-skeleton.c: Include bench-timing.h.
57389         (main): Use TIMING_* macros instead of clock_gettime.
57390         * benchtests/bench-timing.h: New file.
57392         [BZ #14582]
57393         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57394         Renamed from _LIB_VERSION.
57395         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57397 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
57399         * math/libm-test.inc (struct test_fff_f_data): New type.
57400         (RUN_TEST_LOOP_fff_f): New macro.
57401         (fma_test_data): New variable.
57402         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57403         (fma_towardzero_test_data): New variable.
57404         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57405         (fma_downward_test_data): New variable.
57406         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57407         (fma_upward_test_data): New variable.
57408         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57410         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57411         (struct test_c_c_data): New type.
57412         (RUN_TEST_LOOP_c_c): New macro.
57413         (cacos_test_data): New variable.
57414         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57415         (cacosh_test_data): New variable.
57416         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57417         (casin_test_data): New variable.
57418         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57419         (casinh_test_data): New variable.
57420         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57421         (catan_test_data): New variable.
57422         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57423         (catanh_test_data): New variable.
57424         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57425         (ccos_test_data): New variable.
57426         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57427         (ccosh_test_data): New variable.
57428         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57429         (cexp_test_data): New variable.
57430         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57431         (clog_test_data): New variable.
57432         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57433         (clog10_test_data): New variable.
57434         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57435         (conj_test_data): New variable.
57436         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57437         (cproj_test_data): New variable.
57438         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57439         (csin_test_data): New variable.
57440         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57441         (csinh_test_data): New variable.
57442         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57443         (csqrt_test_data): New variable.
57444         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57445         (ctan_test_data): New variable.
57446         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57447         (ctan_tonearest_test_data): New variable.
57448         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57449         (ctan_towardzero_test_data): New variable.
57450         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57451         (ctan_downward_test_data): New variable.
57452         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57453         (ctan_upward_test_data): New variable.
57454         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57455         (ctanh_test_data): New variable.
57456         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57457         (ctanh_tonearest_test_data): New variable.
57458         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57459         (ctanh_towardzero_test_data): New variable.
57460         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57461         (ctanh_downward_test_data): New variable.
57462         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57463         (ctanh_upward_test_data): New variable.
57464         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57465         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57466         of BUILD_COMPLEX.
57468         * math/libm-test.inc (struct test_ff_f_data): New type.
57469         (struct test_ff_f_data_nexttoward): Likewise.
57470         (RUN_TEST_LOOP_2_f): New macro.
57471         (RUN_TEST_LOOP_ff_f): Likewise.
57472         (atan2_test_data): New variable.
57473         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57474         (copysign_test_data): New variable.
57475         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57476         (fdim_test_data): New variable.
57477         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57478         (fmax_test_data): New variable.
57479         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57480         (fmin_test_data): New variable.
57481         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57482         (fmod_test_data): New variable.
57483         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57484         (hypot_test_data): New variable.
57485         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57486         (nextafter_test_data): New variable.
57487         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57488         (nexttoward_test_data): New variable.
57489         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57490         (pow_test_data): New variable.
57491         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57492         (pow_tonearest_test_data): New variable.
57493         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57494         (pow_towardzero_test_data): New variable.
57495         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57496         (pow_downward_test_data): New variable.
57497         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57498         (pow_upward_test_data): New variable.
57499         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57500         (remainder_test_data): New variable.
57501         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57502         (scalb_test_data): New variable.
57503         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57504         * sysdeps/i386/fpu/libm-test-ulps: Update.
57506 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
57508         * math/libm-test.inc (fma_test): Use max_value instead of local
57509         variable fltmax.
57510         (nextafter_test): Likewise.
57512         * math/libm-test.inc (acos_towardzero_test_data): New variable.
57513         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57514         (acos_downward_test_data): New variable.
57515         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57516         (acos_upward_test_data): New variable.
57517         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57518         (acosh_test_data): New variable.
57519         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57520         (asin_test_data): New variable.
57521         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57522         (asin_tonearest_test_data): New variable.
57523         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57524         (asin_towardzero_test_data): New variable.
57525         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57526         (asin_downward_test_data): New variable.
57527         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57528         (asin_upward_test_data): New variable.
57529         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57530         (asinh_test_data): New variable.
57531         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57532         (atan_test_data): New variable.
57533         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57534         (atanh_test_data): New variable.
57535         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57536         (cbrt_test_data): New variable.
57537         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57538         (ceil_test_data): New variable.
57539         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57540         (cos_test_data): New variable.
57541         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57542         (cos_tonearest_test_data): New variable.
57543         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57544         (cos_towardzero_test_data): New variable.
57545         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57546         (cos_downward_test_data): New variable.
57547         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57548         (cos_upward_test_data): New variable.
57549         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57550         (cosh_test_data): New variable.
57551         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57552         (cosh_tonearest_test_data): New variable.
57553         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57554         (cosh_towardzero_test_data): New variable.
57555         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57556         (cosh_downward_test_data): New variable.
57557         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57558         (cosh_upward_test_data): New variable.
57559         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57560         (erf_test_data): New variable.
57561         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57562         (erfc_test_data): New variable.
57563         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57564         (exp_test_data): New variable.
57565         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57566         (exp_tonearest_test_data): New variable.
57567         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57568         (exp_towardzero_test_data): New variable.
57569         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57570         (exp_downward_test_data): New variable.
57571         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57572         (exp_upward_test_data): New variable.
57573         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57574         (exp10_test_data): New variable.
57575         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57576         (exp2_test_data): New variable.
57577         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57578         (expm1_test_data): New variable.
57579         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57580         (fabs_test_data): New variable.
57581         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57582         (floor_test_data): New variable.
57583         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57584         (j0_test_data): New variable.
57585         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57586         (j1_test_data): New variable.
57587         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57588         (log_test_data): New variable.
57589         (log_test): Run tests with RUN_TEST_LOOP_f_f.
57590         (log10_test_data): New variable.
57591         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57592         (log1p_test_data): New variable.
57593         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57594         (log2_test_data): New variable.
57595         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57596         (logb_test_data): New variable.
57597         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57598         (logb_downward_test_data): New variable.
57599         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57600         (nearbyint_test_data): New variable.
57601         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57602         (rint_test_data): New variable.
57603         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57604         (rint_tonearest_test_data): New variable.
57605         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57606         (rint_towardzero_test_data): New variable.
57607         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57608         (rint_downward_test_data): New variable.
57609         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57610         (rint_upward_test_data): New variable.
57611         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57612         (round_test_data): New variable.
57613         (round_test): Run tests with RUN_TEST_LOOP_f_f.
57614         (sin_test_data): New variable.
57615         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57616         (sin_tonearest_test_data): New variable.
57617         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57618         (sin_towardzero_test_data): New variable.
57619         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57620         (sin_downward_test_data): New variable.
57621         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57622         (sin_upward_test_data): New variable.
57623         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57624         (sinh_test_data): New variable.
57625         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57626         (sinh_tonearest_test_data): New variable.
57627         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57628         (sinh_towardzero_test_data): New variable.
57629         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57630         (sinh_downward_test_data): New variable.
57631         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57632         (sinh_upward_test_data): New variable.
57633         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57634         (sqrt_test_data): New variable.
57635         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57636         (tan_test_data): New variable.
57637         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57638         (tan_tonearest_test_data): New variable.
57639         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57640         (tan_towardzero_test_data): New variable.
57641         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57642         (tan_downward_test_data): New variable.
57643         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57644         (tan_upward_test_data): New variable.
57645         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57646         (tanh_test_data): New variable.
57647         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57648         (tgamma_test_data): New variable.
57649         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57650         (trunc_test_data): New variable.
57651         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57652         (y0_test_data): New variable.
57653         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57654         (y1_test_data): New variable.
57655         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57656         (significand_test_data): New variable.
57657         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57659 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
57661         [BZ #12387]
57662         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57664 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
57666         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57668 2013-05-10  Andreas Jaeger  <aj@suse.de>
57670         [BZ #15448]
57671         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57672         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57674 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57676         * math/gen-libm-test.pl (adjust_arg): New function.
57677         (special_functions): Handle generating output in both functions
57678         and arrays.
57679         (parse_args): Likewise.
57680         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
57681         $in_func argument to parse_args.
57682         * math/libm-test.inc (struct test_f_f_data): New type.
57683         (IF_ROUND_INIT_): New macro.
57684         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57685         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57686         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57687         (IF_ROUND_INIT_FE_UPWARD): Likewise.
57688         (ROUND_RESTORE_): Likewise.
57689         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57690         (ROUND_RESTORE_FE_TONEAREST): Likewise.
57691         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57692         (ROUND_RESTORE_FE_UPWARD): Likewise.
57693         (RUN_TEST_LOOP_f_f): New macro.
57694         (acos_test_data): New variable.
57695         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57696         (acos_tonearest_test_data): New variable.
57697         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57699 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57701         * benchtests/bench-skeleton.c (startup): Fix coding style.
57703 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
57705         [BZ #6809]
57706         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57707         negative infinity argument.
57708         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57709         negative infinity argument.
57710         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57711         negative infinity argument.
57712         * math/libm-test.inc (tgamma_test): Expect errno to be set for
57713         domain errors.
57715 2013-05-10  Florian Weimer  <fweimer@redhat.com>
57717         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57718         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57719         * iconv/iconv_prog.c (main): Likewise.
57720         * locale/programs/charmap-dir.c (charmap_readdir)
57721         (fopen_uncompressed): Likewise.
57722         * locale/programs/locfile.c (siblings_uncached)
57723         (write_locale_data): Use lstat64 instead of lstat.
57724         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57725         stat.
57727 2013-05-10  Andreas Jaeger  <aj@suse.de>
57729         [BZ #15395]
57730         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57731         localization.
57732         Include <locale.h>.
57734 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
57736         * elf/dl-close.c (_dl_close_worker): Add comments.
57738 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
57740         [BZ #15359]
57741         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57742         high part of pi/2.
57743         (__ieee754_rem_pio2l): Update comments.
57745         [BZ #15429]
57746         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57747         high part of pi/2.
57748         (__ieee754_rem_pio2l): Update comments.
57750         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57751         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57753         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57754         M_PI_4l.
57756         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57757         (M_PI_34_LOG10El): Likewise.
57758         (M_PI2_LOG10El): Likewise.
57759         (M_PI4_LOG10El): Likewise.
57760         (M_PI_LOG10El): Likewise.
57762 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57764         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57766 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
57768         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57769         (MINUS_ZERO_INIT): Likewise.
57770         (PLUS_INFTY_INIT): Likewise.
57771         (MINUS_INFTY_INIT): Likewise.
57772         (QNAN_VALUE_INIT): Likewise.
57773         (MAX_VALUE_INIT): Likewise.
57774         (MIN_VALUE_INIT): Likewise.
57775         (MIN_SUBNORM_VALUE_INIT): Likewise.
57776         (plus_zero): Initialize with PLUS_ZERO_INIT.
57777         (minus_zero): Initialize with MINUS_ZERO_INIT.
57778         (plus_infty): Initialize with PLUS_INFTY_INIT.
57779         (minus_infty): Initialize with MINUS_INFTY_INIT.
57780         (qnan_value): Initialize with QNAN_VALUE_INIT.
57781         (max_value): Initialize with MAX_VALUE_INIT.
57782         (min_value): Initialize with MIN_VALUE_INIT.
57783         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57785         * math/libm-test.inc (RUN_TEST_if_f): New macro.
57786         (jn_test): Use TEST_if_f instead of TEST_ff_f.
57787         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57788         (yn_test): Use TEST_if_f instead of TEST_ff_f.
57790         * math/libm-test.inc (RUN_TEST_f_f): New macro.
57791         (RUN_TEST_2_f): Likewise.
57792         (RUN_TEST_ff_f): Likewise.
57793         (RUN_TEST_fi_f): Likewise.
57794         (RUN_TEST_fl_f): Likewise.
57795         (RUN_TEST_fff_f): Likewise.
57796         (RUN_TEST_c_f): Likewise.
57797         (RUN_TEST_f_f1): Likewise.
57798         (RUN_TEST_fF_f1): Likewise.
57799         (RUN_TEST_fI_f1): Likewise.
57800         (RUN_TEST_ffI_f1): Likewise.
57801         (RUN_TEST_c_c): Likewise.
57802         (RUN_TEST_cc_c): Likewise.
57803         (RUN_TEST_f_i): Likewise.
57804         (RUN_TEST_f_i_tg): Likewise.
57805         (RUN_TEST_ff_i_tg): Likewise.
57806         (RUN_TEST_f_b): Likewise.
57807         (RUN_TEST_f_b_tg): Likewise.
57808         (RUN_TEST_f_l): Likewise.
57809         (RUN_TEST_f_L): Likewise.
57810         (RUN_TEST_sincos): Likewise.
57811         * math/gen-libm-test.pl (new_test): Take new argument to indicate
57812         whether to show exceptions.  Do not include ");\n" in return
57813         value.
57814         (special_functions): Output call to RUN_TEST_sincos instead of
57815         check_float calls.  Update calls to new_test.
57816         (parse_args): Output call to single RUN_TEST_* macro instead of
57817         check_* calls and other assignments.  Update calls to new_test.
57819         [BZ #2546]
57820         [BZ #2560]
57821         [BZ #5159]
57822         [BZ #15426]
57823         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57824         input to result for tgamma overflow.
57825         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57826         (gamma_coeff): New variable.
57827         (NCOEFF): New macro.
57828         (gamma_positive): New function.
57829         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57830         underflow here.  Use gamma_positive instead of exp (lgamma) for
57831         other arguments.
57832         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57833         (gamma_coeff): New variable.
57834         (NCOEFF): New macro.
57835         (gammaf_positive): New function.
57836         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57837         underflow here.  Use gamma_positive instead of exp (lgamma) for
57838         other arguments.
57839         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57840         (gamma_coeff): New variable.
57841         (NCOEFF): New macro.
57842         (gammal_positive): New function.
57843         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57844         underflow here.  Use gamma_positive instead of exp (lgamma) for
57845         other arguments.
57846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57847         (gamma_coeff): New variable.
57848         (NCOEFF): New macro.
57849         (gammal_positive): New function.
57850         (__ieee754_gammal_r): Handle positive infinity, overflow and
57851         underflow here.  Handle NaN the same as positive infinity.  Remove
57852         check x < 0xffffffff for negative integers.  Use gamma_positive
57853         instead of exp (lgamma) for other arguments.
57854         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57855         (gamma_coeff): New variable.
57856         (NCOEFF): New macro.
57857         (gammal_positive): New function.
57858         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57859         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57860         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57861         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57862         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57863         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57864         * sysdeps/generic/math_private.h (__gamma_productf): New
57865         prototype.
57866         (__gamma_product): Likewise.
57867         (__gamma_productl): Likewise.
57868         * math/Makefile (libm-calls): Add gamma_product.
57869         * math/libm-test.inc (tgamma_test): Add more tests.
57870         * sysdeps/i386/fpu/libm-test-ulps: Update.
57871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57873 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
57875         * benchtests/bench-skeleton.c (main): Preheat CPU.
57877 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
57879         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57881 2013-05-07  Roland McGrath  <roland@hack.frob.com>
57883         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57884         and _dl_skip_args_internal.
57886 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
57888         * manual/message.texi (Message Translation): Talk about users.
57889         Message to key mapping impacts design.
57891 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57893         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57895         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57897         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57898         * sysdeps/wordsize-64/glob64.c: ... here.
57900         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57901         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57902         New macros.
57904         * debug/getlogin_r_chk.c: Moved to ...
57905         * login/getlogin_r_chk.c: ... here.
57906         * debug/Makefile (routines): Move getlogin_r_chk to ...
57907         * login/Makefile (routines): ... here.
57908         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57909         * login/Versions (libc: GLIBC_2.4): ... here.
57911         * io/poll.c (__poll): Renamed from poll.
57912         Add libc_hidden_def.
57913         (poll): Define as weak alias.
57915         * debug/ptsname_r_chk.c: Moved to ...
57916         * login/ptsname_r_chk.c: ... here.
57917         * debug/Makefile (routines): Move ptsname_r_chk to ...
57918         * login/Makefile (routines): ... here.
57919         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57920         * login/Versions (libc: GLIBC_2.4): ... here.
57922         * posix/getlogin.c: Moved to ...
57923         * login/getlogin.c: ... here.
57924         * posix/getlogin_r.c: Moved to ...
57925         * login/getlogin_r.c: ... here.
57926         * posix/getlogin_r.c: Moved to ...
57927         * login/getlogin_r.c: ... here.
57928         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57929         * login/Makefile (routines): ... here.
57930         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57931         * login/Versions (libc: GLIBC_2.0): ... here.
57933         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57934         (setrlimit): Define as weak alias.
57936         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57937         Call __ names for open, ftruncate, and close.
57938         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57939         (truncate): Define as weak alias.
57941 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
57943         * math/gen-libm-test.pl (parse_args): Initialize x before each
57944         test of frexp, modf and remquo.
57946         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57947         test signgam value.
57949 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57951         [BZ #15418]
57952         [BZ #15419]
57953         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57954         internal tests.
57955         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57957 2013-05-06  Roland McGrath  <roland@hack.frob.com>
57959         * elf/dl-writev.h: New file.
57960         * elf/dl-misc.c: Include it.
57961         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57962         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57964 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
57966         * math/libm-test.inc (noXFails): Remove variable.
57967         (noXPasses): Likewise.
57968         (BUILD_COMPLEX_INT): Remove macro.
57969         (print_screen): Remove xfail argument.
57970         (print_screen_max_error): Likewise.
57971         (update_stats): Likewise.
57972         (print_max_error): Likewise.  Update calls to other affected
57973         functions.
57974         (print_complex_max_error): Likewise.
57975         (test_single_exception): Update calls to print_screen.
57976         (test_single_errno): Likewise.
57977         (check_float_internal): Remove xfail argument.  Update calls to
57978         other affected functions.
57979         (check_float): Likewise.
57980         (check_complex): Likewise.
57981         (check_int): Likewise.
57982         (check_long): Likewise.
57983         (check_bool): Likewise.
57984         (check_longlong): Likewise.
57985         (main): Don't print noXFails and noXPasses.
57986         * math/gen-libm-test.pl (top level): Don't mention expected
57987         failure handling in comment.
57988         (new_test): Don't handle expected failures.
57989         (parse_args): Don't mention expected failure handling in comment.
57990         (generate_testfile): Don't handle expected failures.
57991         (parse_ulps): Likewise.
57992         (print_ulps_file): Likewise.
57993         (get_failure): Remove function.
57994         (output_test): Don't handle expected failures.
57995         * make/README.libm-test: Don't mention expected failure handling.
57997         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
57998         (minus_zero): Likewise.
57999         (plus_infty): Likewise.
58000         (minus_infty): Likewise.
58001         (qnan_value): Likewise.
58002         (max_value): Likewise.
58003         (min_value): Likewise.
58004         (min_subnorm_value): Likewise.
58005         (initialize): Do not initialize those variables dynamically.
58007 2013-05-03  Roland McGrath  <roland@hack.frob.com>
58009         * io/open.c (__open_2): Moved to ...
58010         * io/open_2.c: ... this new file.
58011         * io/open64.c (__open64_2): Moved to ...
58012         * io/open64_2.c: ... this new file.
58013         * io/openat.c (__openat_2): Moved to ...
58014         * io/openat_2.c: ... this new file.
58015         * io/openat64.c (__openat64_2): Moved to ...
58016         * io/openat64_2.c: ... this new file.
58017         * io/Makefile (routines): Add them.
58018         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
58019         * sysdeps/unix/sysv/linux/open_2.c: File removed.
58020         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
58021         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
58022         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
58023         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
58024         (__openat64): Add hidden_ver.
58025         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
58026         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
58028         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
58029         Separately conditionalize setting of GLRO(dl_sysinfo) so
58030         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
58031         as well, but the actual setting is only under [NEED_DL_SYSINFO].
58033 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58035         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
58036         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
58037         definition.
58038         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
58039         * sysdeps/unix/sysv/linux/powerpc/init-first.c
58040         (_libc_vdso_platform_setup): Add __vdso_time initialization.
58041         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
58042         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
58044 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
58046         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
58047         test signgam value.
58049         * math/libm-test.inc (hypot_test): Do not use
58050         IGNORE_ZERO_INF_SIGN.
58052 2013-05-03  Andreas Jaeger  <aj@suse.de>
58054         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
58055         Linux 3.9.
58056         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
58057         (PF_MAX): Adjust for VSOCK change.
58059 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58063 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
58065         [BZ #15264]
58066         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
58067         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
58068         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
58070 2013-05-02  David S. Miller  <davem@davemloft.net>
58072         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58074 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
58076         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58078 2013-05-01  Roland McGrath  <roland@hack.frob.com>
58080         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58082 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
58084         [BZ #14952]
58085         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58086         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58087         Use __attribute__ ((__gnu_inline__)).
58088         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58089         Don't use __attribute__ ((__gnu_inline__)).
58091 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
58093         [BZ #15423]
58094         * math/s_catan.c (__catan): Handle small real or imaginary part of
58095         input specially to avoid spurious underflow.
58096         * math/s_catanf.c (__catanf): Likewise.
58097         * math/s_catanh.c (__catanh): Likewise.
58098         * math/s_catanhf.c (__catanhf): Likewise.
58099         * math/s_catanhl.c (__catanhl): Likewise.
58100         * math/s_catanl.c (__catanl): Likewise.
58101         * math/libm-test.inc (catan_test): Add more tests.
58102         (catanh_test): Likewise.
58103         * sysdeps/i386/fpu/libm-test-ulps: Update.
58104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58106 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58110 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
58112         [BZ #15416]
58113         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58114         accurately for denominator in atan2.
58115         * math/s_catanf.c (__catanf): Likewise.
58116         * math/s_catanh.c (__catanh): Likewise.
58117         * math/s_catanhf.c (__catanhf): Likewise.
58118         * math/s_catanhl.c (__catanhl): Likewise.
58119         * math/s_catanl.c (__catanl): Likewise.
58120         * math/libm-test.inc (catan_test): Add more tests.
58121         (catanh_test): Likewise.
58122         * sysdeps/i386/fpu/libm-test-ulps: Update.
58123         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58125 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58127         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58129         * benchtests/Makefile (bench): Remove slow benchmarks.
58130         * benchtests/atan-inputs: Add slow benchmark inputs.
58131         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58132         (BENCH_FUNC): Accept variant offset.
58133         (VARIANT): Define.
58134         * benchtests/bench-skeleton.c (main): Run benchmark for each
58135         variant.
58136         * benchtests/cos-inputs: Add slow benchmark inputs.
58137         * benchtests/exp-inputs: Likewise.
58138         * benchtests/pow-inputs: Likewise.
58139         * benchtests/sin-inputs: Likewise.
58140         * benchtests/slowatan-inputs: Remove.
58141         * benchtests/slowatan.c: Remove.
58142         * benchtests/slowcos-inputs: Remove.
58143         * benchtests/slowcos.c: Remove.
58144         * benchtests/slowexp-inputs: Remove.
58145         * benchtests/slowexp.c: Remove.
58146         * benchtests/slowpow-inputs: Remove.
58147         * benchtests/slowpow.c: Remove.
58148         * benchtests/slowsin-inputs: Remove.
58149         * benchtests/slowsin.c: Remove.
58150         * benchtests/slowtan-inputs: Remove.
58151         * benchtests/slowtan.c: Remove.
58152         * benchtests/tan-inputs: Add slow benchmark inputs.
58153         * scripts/bench.pl: Parse comments and directives.
58155         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
58156         in CPPFLAGS.
58157         ($(objpfx)bench-%.c): Remove *-ITER.
58158         * benchtests/bench-modf.c: Remove definition of ITER.
58159         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
58160         (main): Loop for DURATION seconds instead of fixed number of
58161         iterations.
58162         * scripts/bench.pl: Don't expect iterations in parameters.
58164 2013-04-29  Roland McGrath  <roland@hack.frob.com>
58166         * io/fchdir.c (__fchdir): Renamed from fchdir.
58167         (fchdir): Define as weak alias.
58169 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
58171         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
58172         (ERRNO_EDOM): Likewise.
58173         (ERRNO_ERANGE): Likewise.
58174         (noErrnoTests): New variable.
58175         (init_max_error): Set errno to 0.
58176         (test_single_errno): New function.
58177         (test_errno): Likewise.
58178         (check_float_internal): Call test_errno.  Set errno to 0.
58179         (check_complex): Refer to errno tests in comment.
58180         (check_int): Call test_errno.  Set errno to 0.
58181         (check_long): Likewise.
58182         (check_bool): Likewise.
58183         (check_longlong): Likewise.
58184         (cos_test): Use ERRNO_* flags for errno tests instead of
58185         check_int.
58186         (expm1_test): Likewise.
58187         (fmod_test): Likewise.
58188         (ilogb_test): Likewise.
58189         (lgamma_test): Likewise.
58190         (pow_test): Likewise.
58191         (remainder_test): Likewise.
58192         (sin_test): Likewise.
58193         (tan_test): Likewise.
58194         (yn_test): Likewise.
58195         (initialize): Set errno to 0.
58196         (main): Print number of errno tests.
58197         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
58199 2013-04-29  Andreas Jaeger  <aj@suse.de>
58201         [BZ #15084]
58202         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
58203         and RES_USEVC.
58205         [BZ #15085]
58206         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
58207         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
58208         unimplemented.
58210         [BZ #15380]
58211         * stdlib/random.c (__initstate): Return NULL if
58212         __initstate fails.
58214         [BZ #15086]
58215         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
58216         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
58217         RES_SNGLKUPREOP.
58219 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58223 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
58225         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
58226         of individual tests.
58227         (casin_test): Likewise.
58228         (casinh_test): Likewise.
58230 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
58232         [BZ #15409]
58233         * math/s_catan.c (__catan): Handle arguments with large real or
58234         imaginary part separately without squaring.
58235         * math/s_catanf.c (__catanf): Likewise.
58236         * math/s_catanh.c (__catanh): Likewise.
58237         * math/s_catanhf.c (__catanhf): Likewise.
58238         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58239         and redefine.
58240         (__catanhl): Handle arguments with large real or imaginary part
58241         separately without squaring.
58242         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58243         and redefine.
58244         (__catanl): Handle arguments with large real or imaginary part
58245         separately without squaring.
58246         * math/libm-test.inc (catan_test): Add more tests.
58247         (catanh_test): Likewise.
58248         * sysdeps/i386/fpu/libm-test-ulps: Update.
58249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58251 2013-04-27  Andreas Jaeger  <aj@suse.de>
58253         [BZ #15007]
58254         * stdlib/stdlib.h: Update guards for qecvt.
58255         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
58256         <stdlib.h>.
58258 2013-04-27  Allan McRae  <allan@archlinux.org>
58260         * sysdeps/i386/fpu/libm-test-ulps: Update.
58262 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
58264         [BZ #15406]
58265         * math/s_catan.c: Include <float.h>.
58266         (__catan): Ensure underflow exception occurs for underflowed
58267         result.
58268         * math/s_catanf.c: Include <float.h>.
58269         (__catanf): Ensure underflow exception occurs for underflowed
58270         result.
58271         * math/s_catanh.c: Include <float.h>.
58272         (__catanh): Ensure underflow exception occurs for underflowed
58273         result.
58274         * math/s_catanhf.c: Include <float.h>.
58275         (__catanhf): Ensure underflow exception occurs for underflowed
58276         result.
58277         * math/s_catanhl.c: Include <float.h>.
58278         (__catanhl): Ensure underflow exception occurs for underflowed
58279         result.
58280         * math/s_catanl.c: Include <float.h>.
58281         (__catanl): Ensure underflow exception occurs for underflowed
58282         result.
58283         * math/libm-test.inc (catan_test): Add more tests.
58284         (catanh_test): Likewise.
58286         [BZ #15405]
58287         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
58288         underflowed result.
58289         * math/s_ccoshf.c (__ccoshf): Likewise.
58290         * math/s_ccoshl.c (__ccoshl): Likewise.
58291         * math/s_csin.c (__csin): Likewise.
58292         * math/s_csinf.c (__csinf): Likewise.
58293         * math/s_csinh.c (__csinh): Likewise.
58294         * math/s_csinhf.c (__csinhf): Likewise.
58295         * math/s_csinhl.c (__csinhl): Likewise.
58296         * math/s_csinl.c (__csinl): Likewise.
58297         * math/libm-test.inc (ccos_test): Add more tests.
58298         (ccosh_test): Likewise.
58299         (csin_test): Likewise.
58300         (csinh_test): Likewise.
58302 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58304         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
58305         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
58306         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
58307         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58308         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58309         powerpc/power5+/fpu folders.
58310         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58313 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
58315         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58317 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
58319         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58320         additions to variable.
58321         [$(config-machine) = x86_64] (modules-names): Likewise.
58322         ($(objpfx)tst-audit3): Remove dependency.
58323         ($(objpfx)tst-audit3.out): Likewise.
58324         ($(objpfx)tst-audit4): Likewise.
58325         ($(objpfx)tst-audit4.out): Likewise.
58326         ($(objpfx)tst-audit5): Likewise.
58327         ($(objpfx)tst-audit5.out): Likewise.
58328         ($(objpfx)tst-audit6): Likewise.
58329         ($(objpfx)tst-audit6.out): Likewise.
58330         ($(objpfx)tst-audit7): Likewise.
58331         ($(objpfx)tst-audit7.out): Likewise.
58332         (tst-audit3-ENV): Remove variable.
58333         (tst-audit4-ENV): Likewise.
58334         (tst-audit5-ENV): Likewise.
58335         (tst-audit6-ENV): Likewise.
58336         (tst-audit7-ENV): Likewise.
58337         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58338         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58339         addition to variable.
58340         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58341         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58342         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58343         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58344         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58345         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58346         tst-audit3, tst-audit4 and tst-audit5.
58347         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58348         tst-audit6 and tst-audit7.
58349         [$(subdir) = elf] (modules-names): Add audit modules for those
58350         tests.
58351         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58352         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58353         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58354         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58355         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58356         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58357         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58358         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58359         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58360         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58361         [$(subdir) = elf] (tst-audit3-ENV): New variable.
58362         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58363         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58364         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58365         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58366         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58367         Likewise.
58368         [$(subdir) = elf && $(config-cflags-avx) = yes]
58369         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58370         [$(subdir) = elf && $(config-cflags-avx) = yes]
58371         (CFLAGS-tst-auditmod4a.c): Likewise.
58372         [$(subdir) = elf && $(config-cflags-avx) = yes]
58373         (CFLAGS-tst-auditmod4b.c): Likewise.
58374         [$(subdir) = elf && $(config-cflags-avx) = yes]
58375         (CFLAGS-tst-auditmod6b.c): Likewise.
58376         [$(subdir) = elf && $(config-cflags-avx) = yes]
58377         (CFLAGS-tst-auditmod6c.c): Likewise.
58378         [$(subdir) = elf && $(config-cflags-avx) = yes]
58379         (CFLAGS-tst-auditmod7b.c): Likewise.
58380         * elf/tst-audit3.c: Move to ...
58381         * sysdeps/x86_64/tst-audit3.c: ... here.
58382         * elf/tst-audit4.c: Move to ...
58383         * sysdeps/x86_64/tst-audit4.c: ... here.
58384         * elf/tst-audit5.c: Move to ...
58385         * sysdeps/x86_64/tst-audit5.c: ... here.
58386         * elf/tst-audit6.c: Move to ...
58387         * sysdeps/x86_64/tst-audit6.c: ... here.
58388         * elf/tst-audit7.c: Move to ...
58389         * sysdeps/x86_64/tst-audit7.c: ... here.
58390         * elf/tst-auditmod3a.c: Move to ...
58391         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58392         * elf/tst-auditmod3b.c: Move to ...
58393         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58394         * elf/tst-auditmod4a.c: Move to ...
58395         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58396         * elf/tst-auditmod4b.c: Move to ...
58397         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58398         * elf/tst-auditmod5a.c: Move to ...
58399         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58400         * elf/tst-auditmod5b.c: Move to ...
58401         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58402         * elf/tst-auditmod6a.c: Move to ...
58403         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58404         * elf/tst-auditmod6b.c: Move to ...
58405         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58406         * elf/tst-auditmod6c.c: Move to ...
58407         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58408         * elf/tst-auditmod7a.c: Move to ...
58409         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58410         * elf/tst-auditmod7b.c: Move to ...
58411         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58413 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
58415         [BZ #15366]
58416         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58417         define unconditionally.
58418         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58419         define unconditionally.
58420         (INT8_C, INT16_C, etc.): Likewise.
58422 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
58424         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58425         __ehdr_start with hidden visibility.
58427         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58429 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
58431         * math/libm-test.inc (cos_test): Use accurate hex constants.
58432         (sincost_test): Likewise.
58434 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
58436         * math/libm-test.inc (catan_test): Add more tests.
58437         (catanh_test): Likewise.
58439         * math/s_catanf.c (__catanf): Use suffixed floating-point
58440         constants.
58441         * math/s_catanhf.c (__catanhf): Likewise.
58442         * math/s_catanhl.c (__catanhl): Likewise.
58443         * math/s_catanl.c (__catanl): Likewise.
58445         [BZ #15394]
58446         * math/s_catan.c (__catan): Calculate imaginary part of result
58447         with log1p not log unless computing log of number close to 0.
58448         * math/s_catanf.c (__catanf): Likewise.
58449         * math/s_catanl.c (__catanl): Likewise.
58450         * math/s_catanh.c (__catanh): Calculate real part of result with
58451         log1p not log unless computing log of number close to 0.
58452         * math/s_catanhf.c (__catanhf): Likewise.
58453         * math/s_catanhl.c (__catanhl): Likewise.
58454         * math/libm-test.inc (catan_test): Add more tests.
58455         (catanh_test): Likewise.
58456         * sysdeps/i386/fpu/libm-test-ulps: Update.
58457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58459 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
58461         * benchtests/Makefile: Mention files in which fast and slow
58462         paths of math functions are implemented.
58464 2013-04-23  Roland McGrath  <roland@hack.frob.com>
58466         * sysdeps/posix/timespec_get.c: New file.
58468 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58470         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58471         POWER.
58472         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58473         for POWER.
58474         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58475         powerpc/power5/fpu folders.
58476         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58477         * benchtests/Makefile: Add modf testcase.
58478         * benchtests/bench-modf.c: New file: Benchmark test for mo
58480 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
58482         [BZ #14888]
58483         * time/Makefile (tests): Add tst-strptime-whitespace.
58484         * time/strptime_l.c (get_number): Use ISSPACE.
58485         (__strptime_internal): Likewise.
58486         * time/tst-strptime-whitespace.c: New test case.
58488 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
58490         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58491         member.
58492         (_nss_files_init): Set it here.
58494 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
58496         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58497         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58498         unsigned.
58500 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
58502         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58504 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
58506         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58507         size just once.
58509 2013-04-21  David S. Miller  <davem@davemloft.net>
58511         * po/ru.po: Update Russion translation from translation project.
58513 2013-04-17  Adam Conrad  <adconrad@0c3.net>
58515         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58516         and setfsgid.
58518 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
58520         * configure.in: Remove i386 configure warning. Remove i386 case.
58521         * configure: Regenerate.
58522         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58523         Add example to error message.
58524         * sysdeps/i386/configure: Regenerate.
58526 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
58528         * benchtests/Makefile (bench): Add cos, tan, slowcos and
58529         slowtan.
58530         * benchtests/cos-inputs: New file.
58531         * benchtests/slowcos-inputs: New file.
58532         * benchtests/slowcos.c: New file.
58533         * benchtests/slowtan-inputs: New file.
58534         * benchtests/slowtan.c: New file.
58535         * benchtests/tan-inputs: New file.
58537 2013-04-16  Roland McGrath  <roland@hack.frob.com>
58539         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58540         considered kosher.
58542 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58544         * benchtests/Makefile: Include cppflags-iterator.mk to add
58545         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58547         * Makefile.in (bench-clean): New target.
58548         * benchtests/Makefile (bench-clean): Likewise.
58550 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
58552         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58554 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
58556         * stdio-common/tstdiomisc.c: Fix coding-style violation.
58558 2013-04-15  Andreas Schwab  <schwab@suse.de>
58560         * nscd/grpcache.c (cache_addgr): Properly check for short write.
58561         * nscd/initgrcache.c (addinitgroupsX): Likewise.
58562         * nscd/pwdcache.c (cache_addpw): Likewise.
58563         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
58564         more than recsize.
58566 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58568         * benchtests/Makefile (bench): Write all output to
58569         bench-out.tmp together.
58571 2013-04-15  Andreas Schwab  <schwab@suse.de>
58573         * nscd/nscd.c (main): Don't fork again after closing files.
58575 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
58577         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58579         * benchtests/Rules (bench-deps): Collect dependencies into a
58580         single variable.  Add Makefile to dependencies.
58581         ($(objpfx)bench-%.c): Depend on bench-deps.
58583 2013-04-12  Roland McGrath  <roland@hack.frob.com>
58584             Xavier Roche  <roche+kml2@exalead.com>
58586         [BZ #15361]
58587         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58588         just that it's a file descriptor.
58589         * manual/llio.texi (Synchronizing AIO Operations): Update description
58590         for EBADF error from aio_fsync.
58592 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
58594         * Rules (bench): Move target definition...
58595         * benchtests/Makefile: ... here.
58597 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
58599         * math/libm-test.inc (cos_test): Fix PI/2 test.
58600         (sincos_test): Likewise.
58601         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58602         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58604 2013-04-11  Andreas Schwab  <schwab@suse.de>
58606         [BZ #13988]
58607         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58608         accept exponent character only when digits were seen.
58609         * stdio-common/Makefile (tests): Add bug26.
58610         * stdio-common/bug26.c: New file.
58612         [BZ #14293]
58613         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58614         non-freeable.
58616 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58618         * Makeconfig (rtld-prefix): Define built linker prefix.
58619         * Rules (run-bench): Use it.
58620         * math/Makefile (run-regen-ulps): Likewise.
58622         * Rules (bench): Remove eval.
58624 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
58625             Roland McGrath  <roland@hack.frob.com>
58626             Ondrej Bilka  <neleai@seznam.cz>
58628         [BZ #15346]
58629         * time/getdate.c: Include ctype.h and alloca.h.
58630         (__getdate_r): Trim leading and trailing spaces of input.
58631         * time/tst-getdate.c (tests): Add tests with leading and
58632         trailing spaces.
58634 2013-04-08  Roland McGrath  <roland@hack.frob.com>
58636         [BZ #14280]
58637         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58638         when computing value.
58640 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58642         * math/README.libm-test (How can I generate "libm-test-ulps"?):
58643         Use testrun.sh to run libm tests.
58645         [BZ #15309]
58646         * elf/dl-open.c (dl_open_worker): memset all of seen array.
58648 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
58650         [BZ #15264]
58651         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58653 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58655         * Makefile.in (regen-ulps): New target.
58656         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58657         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58658         [ifneq (no,$(PERL)] (regen-ulps): New target.
58659         [ifeq (no,$(PERL)] (regen-ulps): New target.
58660         * math/libm-test.inc (ulps_file_name): Define.
58661         (output_dir): New variable.
58662         (options): Add "output-dir" option.
58663         (parse_opt): Handle 'o' case.
58664         (main): If output_dir is non-NULL use it as a prefix
58665         otherwise use "".
58666         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58668 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58670         [BZ #10060, #10062]
58671         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58672         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58673         fail configure if __sync_val_compare_and_swap is not inlined.
58674         * sysdeps/i386/configure: Regenerate.
58675         * configure.in: Build for i686 when configured for i386.
58676         * configure: Regenerate.
58677         * README: Remove i386 reference.
58679 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
58681         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58682         * sysdeps/s390/s390-64/sysdep.h: Likewise.
58684 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
58686         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58687         (lmsnanval): New variables.
58688         (F): Add conversion tests.
58689         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58690         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58692         * stdio-common/tstdiomisc.c (F): Properly collect individual
58693         tests' results.
58695         [BZ #14686, #15336]
58696         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58697         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58698         Instead, use input NaN values or generate a qNaN by arithmetic
58699         operation.  Also fix bugs to comply with the standard.
58700         * math/libm-test.inc (remainder_test): Add more tests.
58702         [BZ #15335, #15342]
58703         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58704         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58705         input NaN values or generate a qNaN by arithmetic operation.
58707         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58708         unreachable code.
58710         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58711         definitions.
58713 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
58715         [BZ #14478]
58716         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58717         underflowed result.
58718         * math/s_cexpf.c (__cexpf): Likewise.
58719         * math/s_cexpl.c (__cexpl): Likewise.
58720         * math/libm-test.inc (cexp_test): Add more tests.
58722 2013-04-03  Andreas Schwab  <schwab@suse.de>
58724         [BZ #15330]
58725         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58726         order arrays from heap if bigger than alloca cutoff.
58728 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
58730         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58731         (SNAN_TESTS_double): Refer to GCC PR56831.
58732         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58733         GCC PR56828.
58735 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
58737         * Rules (bench): Move bench.out after the run is complete.
58739         * Rules (bench): Echo currently running benchmark.
58741         * benchtests/Makefile (bench): Add atan and slowatan.
58742         * benchtests/atan-inputs: New file.
58743         * benchtests/slowatan-inputs: New file.
58744         * benchtests/slowatan.c: New file.
58746         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58747         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58748         its value.
58750         [BZ #15305]
58751         * sysdeps/unix/sysv/linux/kernel-features.h
58752         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58753         __ASSUME_XFS_RESTRICTED_CHOWN.
58754         * sysdeps/unix/sysv/linux/pathconf.c
58755         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58756         Save and restore errno.
58758 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
58760         [BZ #15327]
58761         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58762         arguments using __kernel_casinh.
58763         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58764         arguments using __kernel_casinhf.
58765         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58766         arguments using __kernel_casinhl.
58767         * math/libm-test.inc (cacosh_test): Add more tests.
58768         * sysdeps/i386/fpu/libm-test-ulps: Update.
58769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58771 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58773         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58776         * bench/Makefile (bench): Add sin and slowsin.
58777         * benchtests/sin-inputs: New file.
58778         * benchtests/slowsin-inputs: New file.
58779         * benchtests/slowsin.c: New file.
58781         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58782         (bench): Add slowexp and slowpow.
58783         (exp-ITER): Increase iterations.
58784         (pow-ITER): Likewise.
58785         * benchtests/exp-inputs: Change input.
58786         * benchtests/pow-inputs: Likewise.
58787         * benchtests/slowexp-inputs: New file.
58788         * benchtests/slowexp.c: New file.
58789         * benchtests/slowpow-inputs: New file.
58790         * benchtests/slowpow.c: New file.
58792 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58794         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58795         instructions.
58796         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58797         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58798         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58799         * benchtests/Makefile: Add rint benchtest.
58800         * benchtests/rint-inputs: Input for rint benchtest.
58802 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
58804         * Versions.def (libm): Add GLIBC_2.18.
58805         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58806         hidden libm prototypes.
58807         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58808         * math/Makefile (libm-calls): Add s_issignaling.
58809         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58810         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
58811         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58812         declaration.
58813         * math/math.h [__USE_GNU] (issignaling): New macro.
58814         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58815         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58816         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58817         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58818         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58819         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58820         * manual/arith.texi (issignaling): New section.
58821         * manual/libm-err-tab.pl (@all_functions): Update comment.
58822         * math/gen-libm-test.pl (parse_args): Apply special handling for
58823         issignaling.
58824         * math/libm-test.inc (print_float, issignaling_test): New
58825         functions.
58826         (check_float_internal): Add issignaling checks.
58827         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58828         default definition.
58829         * sysdeps/powerpc/math-tests.h: New file.
58830         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58831         tests.
58832         * math/test-snan.c (TEST_FUNC): Likewise.
58834 2013-03-30  David S. Miller  <davem@davemloft.net>
58836         * po/de.po: Update from translation team.
58838 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
58840         [BZ #10357]
58841         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58842         imaginary part less than 1.0 and real part less than 0.5
58843         specially.
58844         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58845         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58846         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58847         (cacos_test): Add more tests.
58848         (casin_test): Likewise.
58849         (casinh_test): Likewise.
58850         * sysdeps/i386/fpu/libm-test-ulps: Update.
58851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58853 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58855         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58856         ONE with its value.
58858         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58859         (__pow_mp): Replace ONE and MONE with their values.
58860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58861         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58862         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58863         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58864         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58865         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58867         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58869         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58870         (__pow_mp): Replace ZERO and MZERO with their values.
58871         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58872         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58873         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58874         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58875         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58876         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58877         (__sqr): Likewise.
58879         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58881         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58883 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58885         * include/stdlib.h [!SHARED] (__call_tls_dtors):
58886         Declare with __attribute__ ((weak)).
58887         * stdlib/exit.c (__libc_atexit) [!SHARED]:
58888         Call __call_tls_dtors only if it's not NULL.
58890 2013-03-28  Roland McGrath  <roland@hack.frob.com>
58892         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58893         didn't do it already, then set _dl_phdr and _dl_phnum based on the
58894         magic __ehdr_start linker symbol if it's defined.
58895         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58896         them up here if it was already done.
58898         * elf/dl-support.c (_dl_phdr): Make pointer to const.
58899         (_dl_aux_init): Use const in cast when setting it.
58900         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58901         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58902         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58904         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58905         Declare them here.
58906         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58907         * csu/libc-tls.c: Nor here.
58908         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58910         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58911         (__libc_message): Never call vsyslog.
58913 2013-03-28  Alan Modra  <amodra@gmail.com>
58915         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58916         Define as empty.
58917         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58918         Likewise.
58920 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58922         [BZ #15214]
58923         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58924         underflow.
58925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58927 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58929         [BZ #15304]
58930         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58931         Don't add gid passed as argument.
58933         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58935 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
58937         [BZ #15307]
58938         * math/k_casinh.c (__kernel_casinh): Handle arguments with
58939         imaginary part between 1.0 and 1.5 and real part less than 0.5
58940         specially.
58941         * math/k_casinhf.c (__kernel_casinhf): Likewise.
58942         * math/k_casinhl.c (__kernel_casinhl): Likewise.
58943         * math/libm-test.inc (cacos_test): Add more tests.
58944         (casin_test): Likewise.
58945         (casinh_test): Likewise.
58946         * sysdeps/i386/fpu/libm-test-ulps: Update.
58947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58949 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
58951         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58952         constants.
58953         (norm): Likewise.
58954         (denorm): Likewise.
58955         (__dbl_mp): Likewise.
58956         (add_magnitudes): Likewise.
58957         (sub_magnitudes): Likewise.
58958         (__add): Likewise.
58959         (__sub): Likewise.
58960         (__mul): Likewise.
58961         (__sqr): Likewise.
58962         (__inv): Likewise.
58963         (__dvd): Likewise.
58965         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58966         commented code.
58967         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58968         (__dubcos): Likewise.
58969         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58970         (__ieee754_acos): Likewise.
58971         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58972         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58973         (__exp1): Likewise.
58974         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58975         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58976         (log1): Likewise.
58977         (my_log2): Likewise.
58978         (checkint): Likewise.
58979         * sysdeps/ieee754/dbl-64/e_remainder.c
58980         (__ieee754_remainder): Likewise.
58981         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58982         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58983         (bsloww): Likewise.
58984         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58986         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58987         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58988         MANTISSA_STORE_T to store computations on mantissa.  Use
58989         macros for rounding and division.
58990         (denorm): Likewise.
58991         (__dbl_mp): Likewise.
58992         (add_magnitudes): Likewise.
58993         (sub_magnitudes): Likewise.
58994         (__mul): Likewise.
58995         (__sqr): Likewise.
58996         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
58997         powers of two in terms of TWOPOW macro.
58998         (mp_no): Make type of mantissa as MANTISSA_T.
58999         [!RADIXI]: Define RADIXI.
59000         [!TWO52]: Define TWO52.
59001         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59003 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59005         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
59006         llroundl symbol when building for PPC32.
59008 2013-03-24  Mark H Weaver  <mhw@netris.org>
59010         * manual/arith.texi (Normalization Functions): Fix prototypes for
59011         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
59013 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59015         [BZ #13889]
59016         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
59017         high value to check if expl overflow.
59018         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
59019         to check for underflow and overflow.
59020         * math/libm-test.inc: Add exp test.
59022 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
59024         [BZ #11120]
59025         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
59026         with NOT_IN_libc.
59028 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59030         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
59031         symbol.
59033 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
59035         * math/gen-libm-test.pl (parse_args, special_functions): Properly
59036         wrap blocks consisting of several statements.
59038         * sysdeps/generic/math-tests.h: New file.
59039         * sysdeps/i386/fpu/math-tests.h: Likewise.
59040         * math/test-snan.c: Include it.
59041         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
59043 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59045         [BZ #15285]
59046         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
59047         (__ieee754_j0l): Do not improve calculations using cos of twice
59048         input for inputs above LDBL_MAX / 2.0L.
59049         (__ieee754_y0l): Likewise.
59050         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
59051         (__ieee754_j1l): Do not improve calculations using cos of twice
59052         input for inputs above LDBL_MAX / 2.0L.
59053         (__ieee754_y1l): Likewise.
59054         * math/libm-test.inc (j0_test): Add another test.
59055         (j1_test): Likewise.
59056         (y0_test): Likewise.
59057         (y1_test): Likewise.
59058         * sysdeps/i386/fpu/libm-test-ulps: Update.
59060 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59062         * Rules ($(objpfx)bench-%.c): Include code from a C source
59063         file.
59065 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
59067         [BZ #15287]
59068         * math/k_casinh.c (__kernel_casinh): Handle arguments with
59069         imaginary part 1.0 and real part less than 0.5 specially.
59070         * math/k_casinhf.c (__kernel_casinhf): Likewise.
59071         * math/k_casinhl.c (__kernel_casinhl): Likewise.
59072         * math/libm-test.inc (cacos_test): Add more tests.
59073         (casin_test): Likewise.
59074         (casinh_test): Likewise.
59075         * sysdeps/i386/fpu/libm-test-ulps: Update.
59076         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59078 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
59080         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59081         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59083 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
59085         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59086         * config.make.in (config-cflags-sse4): Remove variable.
59087         (config-cflags-avx): Likewise.
59088         (config-cflags-sse2avx): Likewise.
59089         (config-cflags-novzeroupper): Likewise.
59090         (config-asflags-i686): Likewise.
59091         (have-mfma4): Likewise.
59092         (have-as-vis3): Likewise.
59093         (MIG): Likewise.
59094         * configure.in (MIG): Do not AC_SUBST.
59095         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59096         (libc_cv_cc_sse4): Do not AC_SUBST.
59097         (libc_cv_cc_avx): Likewise.
59098         (libc_cv_cc_sse2avx): Likewise.
59099         (libc_cv_cc_novzeroupper): Likewise.
59100         (libc_cv_cc_fma4): Likewise.
59101         (libc_cv_as_i686): Likewise.
59102         (libc_cv_sparc_as_vis3): Likewise.
59103         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59104         LIBC_CONFIG_VAR.
59105         (config-asflags-i686): Likewise.
59106         (config-cflags-avx): Likewise.
59107         (config-cflags-sse2avx): Likewise.
59108         (have-mfma4): Likewise.
59109         (config-cflags-novzeroupper): Likewise.
59110         * sysdeps/mach/configure.in (MIG): Likewise.
59111         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59112         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59113         LIBC_CONFIG_VAR.
59114         (config-cflags-avx): Likewise.
59115         (config-cflags-sse2avx): Likewise.
59116         (have-mfma4): Likewise.
59117         (config-cflags-novzeroupper): Likewise.
59118         * configure: Regenerated.
59119         * sysdeps/i386/configure: Likewise.
59120         * sysdeps/mach/configure: Likewise.
59121         * sysdeps/sparc/configure: Likewise.
59122         * sysdeps/x86_64/configure: Likewise.
59124 2013-03-20  Roland McGrath  <roland@hack.frob.com>
59126         [BZ #14812]
59127         * locale/programs/localedef.c (options): Put N_ translation marker
59128         on argument names, not just descriptions.
59130 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59132         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59134 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
59136         [BZ #14176]
59137         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
59139 2013-03-19  Roland McGrath  <roland@hack.frob.com>
59141         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
59142         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
59143         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
59144         [!BEFORE_ABORT] (before_abort): New function.
59145         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
59146         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
59147         (writev_for_fatal): New function.
59148         (WRITEV_FOR_FATAL): New macro; call that.
59149         (backtrace_and_maps): New function.
59150         (BEFORE_ABORT): New macro; call that.
59151         (struct str_list): Type removed.
59152         (__libc_message, __libc_fatal): Functions removed.
59153         Include <sysdeps/posix/libc_fatal.c> instead.
59155 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
59157         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
59158         constants.
59159         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
59160         double constants.
59162 2013-03-19  Andreas Schwab  <schwab@suse.de>
59164         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
59165         * sysdeps/gnu/configure: Regenerate.
59167         * configure.in: Substitute libc_cv_rtlddir.
59168         * configure: Regenerate.
59169         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
59170         * Makeconfig (rtlddir, inst_rtlddir): New variables.
59171         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
59172         * elf/Makefile (install-others, CFLAGS-interp.c)
59173         (ldso_install, common-ldd-rewrite): Likewise.
59174         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
59175         $(inst_slibdir)/$(rtld-installed-name).
59176         * scripts/rellns-sh: Add -p option.
59177         * Makerules (make-shlib-link): Use rellns-sh to get relative name
59178         for source.
59180 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59182         * manual/nptl.texi: Renamed to ...
59183         * manual/threads.texi: ... this.
59184         * manual/Makefile (chapters): Update.
59186 2013-03-18  Roland McGrath  <roland@hack.frob.com>
59188         [BZ #14812]
59189         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
59190         on argument names, not just descriptions.
59191         * malloc/memusagestat.c (options): Likewise.
59192         * nss/getent.c (options): Likewise.
59194 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
59196         [BZ #14812]
59197         * iconv/iconv_prog.c (options): Put N_ translation marker
59198         on argument names, not just descriptions.
59199         * iconv/iconvconfig.c (options): Likewise.
59201 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
59203         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
59204         implementation which is faster on all x86_64 architectures.
59205         Tested on AMD, Intel Nehalem, SNB, IVB.
59206         * sysdeps/x86_64/strnlen.S: Likewise.
59208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59209         Remove all multiarch strlen and strnlen versions.
59210         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59211         Remove strlen and strnlen related parts.
59213         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
59214         Inline strlen part.
59215         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
59217         * sysdeps/x86_64/multiarch/strlen.S: Remove.
59218         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
59219         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
59220         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
59221         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59222         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
59224 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
59226         * manual/memory.texi (Malloc Tunable Parameters):
59227         Sort parameters alphabetically. Add comments for missing entries.
59229 2013-03-17  David S. Miller  <davem@davemloft.net>
59231         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59233 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
59235         [BZ #15283]
59236         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
59237         for arguments at most half maximum finite value.
59238         * math/libm-test.inc (j0_test): Add more tests.
59239         (j1_test): Likewise.
59240         (y0_test): Likewise.
59241         (y1_test): Likewise.
59242         * sysdeps/i386/fpu/libm-test-ulps: Update.
59243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59245         [BZ #14155]
59246         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
59247         1 / x and functions P and Q for arguments above 0x1p256L.
59248         (__ieee754_y0l): Likewise.
59249         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
59250         (__ieee754_y1l): Likewise.
59251         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
59252         (j1_test): Likewise.
59253         (y0_test): Likewise.
59254         (y1_test): Likewise.
59256 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
59258         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
59259         variable.
59261 2013-03-15  Roland McGrath  <roland@hack.frob.com>
59263         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
59264         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
59265         zero since it's initialized to EXEC_PAGESIZE.
59267         * sysdeps/unix/sysv/linux/ldsodefs.h
59268         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
59269         * sysdeps/generic/ldsodefs.h: ... here.
59271 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
59273         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
59275         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
59276         math/test-snan.c.
59277         * math/test-snan.c: Renamed from
59278         sysdeps/powerpc/fpu/test-powerpc-snan.c.
59279         * math/Makefile (tests): Add test-snan.
59280         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
59281         test-powerpc-snan.
59283         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
59284         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
59285         functions.
59286         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
59287         __builtin_nan family of functions.
59288         * math/libm-test.inc (initialize): Initialize qnan_value with
59289         __builtin_nan family of functions.
59290         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
59291         Remove variables.
59292         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
59293         Remove functions.
59294         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
59295         storage class.  Initialize qNaN_var and sNaN_var with
59296         __builtin_nan and __builtin_nans families of functions,
59297         respectively.
59299         * math/libm-test.inc (acosh_test): Also test with qNaN input.
59300         (sqrt_test): Remove duplicate test with qNaN input.
59301         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
59302         (round_test, signbit_test, significand_test): Note missing +/-Inf
59303         as well as qNaN tests.
59305         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
59306         qNaN_var.  Fix a few strings, too.
59307         * math/libm-test.inc (nan_value): Rename to qnan_value.
59308         * math/gen-libm-test.pl (%beautify): Adjust to that.
59309         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59310         * math/test-misc.c (main): Likewise.
59311         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59312         to __qnan_bytes, and __qnan_union, respectively.
59313         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59314         Likewise.
59315         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59316         and lqnanval, respectively.
59317         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59318         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59319         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59320         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59322         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59323         * math/test-misc.c (main) [__x86_64__]: Enable test for long
59324         doubles.
59326         * math/test-misc.c (main): Fix copy'n'pastos.
59327         * misc/tst-efgcvt.c (special): Likewise.
59329         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59330         Remove declarations.
59332 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59334         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59335         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59336         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59337         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59339 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59341         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59342         macro to return vdso values correctly in IFUNC implementations.
59343         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59344         Optimization by using IFUNC.
59346 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59347             Richard Henderson  <rth@redhat.com>
59348             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59350         * Makefile.in (bench): New target.
59351         * NEWS: Mention the benchmark framework.
59352         * Rules (bench): Likewise.
59353         (binaries-bench): Generate binaries for functions to
59354         benchmark.
59355         * benchtests/Makefile: New makefile for benchmark tests.
59356         * benchtests/bench-skeleton.c: New skeleton file for benchmark
59357         programs.
59358         * benchtests/exp-inputs: New input file for EXP function.
59359         * benchtests/pow-inputs: New input file for POW function.
59360         * scripts/bench.pl: New script to generate source files for
59361         benchmark programs.
59363 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
59365         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59366         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59367         computations on mantissa.  Use macros for rounding and
59368         division.
59369         (denorm): Likewise.
59370         (__dbl_mp): Likewise.
59371         (add_magnitudes): Likewise.
59372         (sub_magnitudes): Likewise.
59373         (__mul): Likewise.
59374         (__sqr): Likewise.
59375         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
59376         powers of two in terms of TWOPOW macro.
59377         (mp_no): Make type of mantissa as MANTISSA_T.
59378         [!RADIXI]: Define RADIXI.
59379         [!TWO52]: Define TWO52.
59380         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59382         * manual/nptl.texi (cindex): Modify threads to pthreads.
59384 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
59386         * sysdeps/x86_64/preconfigure: Regenerated.
59388 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
59390         [BZ #14155]
59391         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59392         0x1p28 and above.
59393         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59394         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59395         0x1p28 and above.
59396         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59397         * math/libm-test.inc (j0_test): Do not allow one spurious
59398         underflow exception.
59399         (y1_test): Likewise.
59401 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
59403         * manual/Makefile (chapters): Add nptl.
59404         * manual/debug.texi (Debugging Support): Add link to Threads
59405         chapter.
59406         * manual/nptl.texi: New file.
59408         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59410 2013-03-14  Petr Baudis  <pasky@ucw.cz>
59412         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59413         for non-NULL pointer before the memory validity test. Pointed
59414         out by Holger Brunck <holger.brunck@keymile.com>.
59416 2013-03-13  Andreas Schwab  <schwab@suse.de>
59418         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59419         instead of .os.
59421 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
59423         * timezone/zic.c: Update from tzcode 2013b.
59425 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
59427         * manual/install.texi (Configuring and compiling):
59428         Mention i686 and i586.
59429         * INSTALL: Regenerate.
59431 2013-03-12  Roland McGrath  <roland@hack.frob.com>
59433         * sysdeps/init_array/elf-init.c: New file.
59434         * csu/elf-init.c
59435         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59436         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59438         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59439         __gmon_start__ as global, but as static with a .preinit_array pointer.
59440         * sysdeps/init_array/gmon-start.c: New file.  Use that.
59441         * sysdeps/init_array/crti.S: New file, empty except for comments.
59442         * sysdeps/init_array/crtn.S: Likewise.
59444 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
59446         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59447         definining bcopy.
59448         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59449         Remove Prefer_SSE_for_memop.
59450         * sysdeps/x86_64/multiarch/init-arch.h: Remove
59451         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59452         HAS_PREFER_SSE_FOR_MEMOP.
59453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59454         memset-x86-64.
59455         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59456         Remove bzero, memset ifunc support.
59457         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59458         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59459         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59460         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59462 2013-03-11  Andreas Schwab  <schwab@suse.de>
59464         [BZ #15234]
59465         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59466         by SHLIB_COMPAT.
59467         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59468         (GLIBC_2.16): Remove pthread_atfork.
59470 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
59472         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59473         (ptestcases.h): Likewise.
59475 2013-03-08  Roland McGrath  <roland@hack.frob.com>
59477         * Makeconfig ($(common-objpfx)config.status): Depend on
59478         sysdeps/*/preconfigure{,.in} too.
59480 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
59482         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59483         (__free_hook): Use void * instead of __malloc_ptr_t.
59484         (__malloc_hook): Likewise.
59485         (__realloc_hook): Likewise.
59486         (__memalign_hook): Likewise.
59487         (__after_morecore_hook): Likewise.
59488         * malloc/arena.c (save_malloc_hook): Likewise.
59489         (save_free_hook): Likewise.
59490         * malloc/hooks.c (malloc_hook_ini): Likewise.
59491         (realloc_hook_ini): Likewise.
59492         (memalign_hook_ini): Likewise.
59493         * malloc/malloc.c (malloc_hook_ini): Likewise.
59494         (realloc_hook_ini): Likewise.
59495         (memalign_hook_ini): Likewise.
59496         (__free_hook): Likewise.
59497         (__malloc_hook): Likewise.
59498         (__realloc_hook): Likewise.
59499         (__memalign_hook): Likewise.
59500         (__libc_malloc): Likewise.
59501         (__libc_free): Likewise.
59502         (__libc_realloc): Likewise.
59503         (__libc_memalign): Likewise.
59504         (__libc_valloc): Likewise.
59505         (__libc_pvalloc): Likewise.
59506         (__libc_calloc): Likewise.
59507         (__posix_memalign): Likewise.
59508         * malloc/morecore.c (__sbrk): Likewise.
59509         (__default_morecore): Likewise.
59511         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59513         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59514         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59515         __malloc_ptrdiff_t.
59517         * malloc/malloc.h (__malloc_size_t): Remove macro.
59518         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59519         __malloc_size_t.
59520         (old_memalign_hook): Likewise.
59521         (old_realloc_hook): Likewise.
59522         (struct hdr): Likewise.
59523         (flood): Likewise.
59524         (mallochook): Likewise.
59525         (memalignhook): Likewise.
59526         (reallochook): Likewise.
59527         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59528         (tr_old_realloc_hook): Likewise.
59529         (tr_old_memalign_hook): Likewise.
59530         (tr_mallochook): Likewise.
59531         (tr_reallochook): Likewise.
59532         (tr_memalignhook): Likewise.
59534 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59536         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59537         default_ldbl_pack and using as default implementation.
59538         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59539         implementation.
59540         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59541         redundant definition.
59542         (ldbl_insert_mantissa): Likewise.
59543         (ldbl_canonicalize): Likewise.
59544         (ldbl_nearbyint): Likewise.
59545         (ldbl_pack): Rename to ldbl_pack_ppc.
59546         (ldbl_unpack): Rename to ldbl_unpack_ppc.
59547         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59548         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59550 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59552         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59553         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59554         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59555         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59556         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59557         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59558         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59559         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59561 2013-03-07  Andreas Jaeger  <aj@suse.de>
59563         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59564         bits/mman-linux.h.
59566 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59568         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59569         Include mpa.h and declare __MPEXP.
59570         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59571         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59572         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59573         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59574         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59575         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59576         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59578         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59579         (__slowpow): Use long double EXPL and LOGL functions to
59580         compute POW.
59581         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59582         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59583         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59584         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59585         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59586         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59588         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59589         intermediate variable to calculate exponent.
59590         (__sqr): Likewise.
59591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59592         Likewise.
59593         (__sqr): Likewise.
59595         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59596         [!NO__SQR]: Define __sqr.
59597         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59598         and NO__SQR.  Remove all code except __mul and __sqr.  Include
59599         sysdeps/ieee754/dbl-64/mpa.c.
59600         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59602         [BZ #12723]
59603         * posix/Makefile (tests): Add tst-pathconf.
59604         * posix/tst-pathconf.c: New test case.
59605         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59606         _PC_PIPE_BUF.
59607         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59609 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
59611         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59613 2013-03-06  Andreas Jaeger  <aj@suse.de>
59615         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59616         definition via __MAP_ANONYMOUS.
59618         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59619         it's not part of Linux headers.
59621         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59622         (MAP_HUGE_MASK): Define.
59624         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59625         Define.
59626         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59627         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59628         Define.
59629         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59630         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59631         Define.
59632         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59633         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59634         Define.
59635         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59637         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59638         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59639         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59640         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59641         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59642         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59644         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59645         Handle f2fs.
59647         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59648         Handle f2fs and efivarfs.
59650         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59651         f2fs.
59653         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59654         (EFIVARFS_MAGIC): Add.
59655         (F2FS_LINK_MAX): Add.
59657 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
59659         * stdio-common/vfprintf.c: Replace __builtin_expect with
59660         __glibc_unlikely.
59662 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
59664         [BZ #13550]
59665         * sysdeps/generic/bp-sym.h: Remove file.
59666         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59667         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59668         <bp-sym.h> and <bp-asm.h>.
59669         (__longjmp): Don't use BP_SYM.
59670         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59671         and <bp-asm.h>.
59672         (memcpy): Don't use BP_SYM.
59673         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59674         <bp-sym.h> and <bp-asm.h>.
59675         (memcpy): Don't use BP_SYM.
59676         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59677         <bp-asm.h>.
59678         (memcpy): Don't use BP_SYM.
59679         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59680         <bp-asm.h>.
59681         (memset): Don't use BP_SYM.
59682         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59683         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59684         (__bzero): Don't use BP_SYM.
59685         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59686         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59687         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59688         <bp-sym.h> and <bp-asm.h>.
59689         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59690         pointers.
59691         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59692         <bp-sym.h> and <bp-asm.h>.
59693         (memcpy): Don't use BP_SYM.
59694         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59695         <bp-sym.h> and <bp-asm.h>.
59696         (memset): Don't use BP_SYM.
59697         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59698         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59699         (__bzero): Don't use BP_SYM.
59700         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59701         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59702         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59703         <bp-sym.h> and <bp-asm.h>.
59704         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59705         pointers.
59706         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59707         <bp-sym.h> and <bp-asm.h>.
59708         (memcpy): Don't use BP_SYM.
59709         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59710         <bp-sym.h> and <bp-asm.h>.
59711         (memset): Don't use BP_SYM.
59712         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59713         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59714         (__bzero): Don't use BP_SYM.
59715         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59716         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59717         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59718         <bp-sym.h> and <bp-asm.h>.
59719         (__memchr): Don't use BP_SYM.
59720         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59721         <bp-sym.h> and <bp-asm.h>.
59722         (memcmp): Don't use BP_SYM.  Remove comment about bounded
59723         pointers.
59724         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59725         <bp-sym.h> and <bp-asm.h>.
59726         (memcpy): Don't use BP_SYM.
59727         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59728         <bp-sym.h> and <bp-asm.h>.
59729         (__mempcpy): Don't use BP_SYM.
59730         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59731         <bp-sym.h> and <bp-asm.h>.
59732         (__memrchr): Don't use BP_SYM.
59733         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59734         <bp-sym.h> and <bp-asm.h>.
59735         (memset): Don't use BP_SYM.
59736         (__bzero): Likewise.
59737         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59738         <bp-sym.h> and <bp-asm.h>.
59739         (__rawmemchr): Don't use BP_SYM.
59740         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59741         <bp-sym.h> and <bp-asm.h>.
59742         (__STRCMP): Don't use BP_SYM.
59743         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59744         <bp-sym.h> and <bp-asm.h>.
59745         (strchr): Don't use BP_SYM.
59746         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59747         <bp-sym.h> and <bp-asm.h>.
59748         (__strchrnul): Don't use BP_SYM.
59749         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59750         <bp-sym.h> and <bp-asm.h>.
59751         (strlen): Don't use BP_SYM.
59752         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59753         <bp-sym.h> and <bp-asm.h>.
59754         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59755         pointers.
59756         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59757         <bp-sym.h> and <bp-asm.h>.
59758         (__strnlen): Don't use BP_SYM.
59759         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59760         <bp-sym.h> and <bp-asm.h>.
59761         (__GI__setjmp): Don't use BP_SYM.
59762         (_setjmp): Likewise.
59763         (__sigsetjmp): Likewise.
59764         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59765         (L(start_addresses)): Don't use BP_SYM.
59766         (_start): Likewise.
59767         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59768         <bp-asm.h>.
59769         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59770         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59771         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59772         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59773         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59774         <bp-asm.h>.
59775         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59776         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
59777         about bounded pointers.
59778         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59779         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59780         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59781         <bp-asm.h>.
59782         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59783         about bounded pointers.  Remove GKM FIXME comments.
59784         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59785         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59786         <bp-asm.h>.
59787         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59788         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
59789         Remove GKM FIXME comments.
59790         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59791         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59792         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59793         <bp-asm.h>.
59794         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
59795         about bounded pointers.  Remove GKM FIXME comment.
59796         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59797         and <bp-asm.h>.
59798         (strncmp): Don't use BP_SYM.  Remove comment about bounded
59799         pointers.
59800         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59801         <bp-sym.h> and <bp-asm.h>.
59802         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59804         <bp-sym.h> and <bp-asm.h>.
59805         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
59806         comment.
59808 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
59810         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59811         call free(NULL).
59813 2013-03-05  David S. Miller  <davem@davemloft.net>
59815         * po/es.po: Update from translation team.
59817 2013-03-05  Andreas Jaeger  <aj@suse.de>
59819         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59820         <bits/mman-linux.h>.
59821         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59822         is fine.
59823         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59824         <bits/mman-linux.h> to end of file.
59825         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59826         is fine.
59827         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59828         <bits/mman-linux.h> to end of file.
59829         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59830         is fine.
59831         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59832         <bits/mman-linux.h> to end of file.
59834         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59835         (MCL_CURRENT, MCL_FUTURE): Define here.
59837 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59839         [BZ #15232]
59840         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59841         attribute_hidden.
59842         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59844 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59846         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59847         fourth parameter needed for rt_sigprocmask syscall.
59848         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59849         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59850         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59851         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59852         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59853         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59855 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
59857         [BZ #13550]
59858         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59859         comment about bounded pointers.
59860         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59861         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59863 2013-03-04  Andreas Jaeger  <aj@suse.de>
59865         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59866         common definitions.
59868         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59869         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59870         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59871         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59872         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59873         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59875 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59877         [BZ #15055]
59878         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59879         __ieee754_sqrl instead of __sqrl.
59881 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
59883         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59884         * sysdeps/powerpc/fpu_control.h: ... here.
59885         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59886         * sysdeps/powerpc/bits/fenvinline.h: ... here.
59887         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59888         * sysdeps/powerpc/bits/mathinline.h: ... here.
59890 2013-03-01  Roland McGrath  <roland@hack.frob.com>
59892         * elf/dl-hwcaps.c (_dl_important_hwcaps):
59893         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59894         to just [NEED_DL_SYSINFO_DSO].
59895         * elf/dl-support.c: Likewise.
59896         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59897         * elf/rtld.c (dl_main): Likewise.
59898         * elf/setup-vdso.h (setup_vdso): Likewise.
59899         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59900         * sysdeps/unix/sysv/linux/dl-sysdep.c
59901         (_dl_discover_osversion): Likewise.
59903 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
59905         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59906         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59908 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
59910         * NEWS: Mention libm performance improvements and non-x86 PI
59911         futex support.
59913         * csu/libc-start.c (__pthread_initialize_minimal): Change
59914         function arguments.
59915         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59917 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
59919         [BZ #13550]
59920         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59921         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59922         <bp-sym.h> and <bp-asm.h>.
59923         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59924         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59925         and <bp-asm.h>.
59926         (memcpy): Don't use BP_SYM.
59927         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59928         <bp-asm.h>.
59929         (__mpn_add_n): Don't use BP_SYM.
59930         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59931         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59932         and <bp-asm.h>.
59933         (__mpn_addmul_1): Don't use BP_SYM.
59934         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59935         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59936         <bp-sym.h>.
59937         (_setjmp): Don't use BP_SYM.
59938         (__novmx_setjmp): Likewise.
59939         (__GI__setjmp): Likewise.
59940         (__vmx_setjmp): Likewise.
59941         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59942         <bp-sym.h>.
59943         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59944         (__bzero): Don't use BP_SYM.
59945         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59946         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59947         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59948         <bp-sym.h> and <bp-asm.h>.
59949         (memcpy): Don't use BP_SYM.
59950         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59951         <bp-sym.h> and <bp-asm.h>.
59952         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59953         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59954         <bp-sym.h> and <bp-asm.h>.
59955         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59956         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59957         <bp-asm.h>.
59958         (__mpn_lshift): Don't use BP_SYM.
59959         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59960         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59961         <bp-asm.h>.
59962         (memset): Don't use BP_SYM.
59963         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59964         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59965         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59966         <bp-asm.h>.
59967         (__mpn_mul_1): Don't use BP_SYM.
59968         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59969         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59970         <bp-sym.h> and <bp-asm.h>.
59971         (memcmp): Don't use BP_SYM.
59972         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59973         <bp-sym.h> and <bp-asm.h>.
59974         (memcpy): Don't use BP_SYM.
59975         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59976         <bp-sym.h> and <bp-asm.h>.
59977         (memset): Don't use BP_SYM.
59978         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59979         <bp-sym.h> and <bp-asm.h>.
59980         (strncmp): Don't use BP_SYM.
59981         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59982         <bp-sym.h> and <bp-asm.h>.
59983         (memcpy): Don't use BP_SYM.
59984         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59985         <bp-sym.h> and <bp-asm.h>.
59986         (memset): Don't use BP_SYM.
59987         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59988         <bp-sym.h> and <bp-asm.h>.
59989         (__memchr): Don't use BP_SYM.
59990         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59991         <bp-sym.h> and <bp-asm.h>.
59992         (memcmp): Don't use BP_SYM.
59993         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59994         <bp-sym.h> and <bp-asm.h>.
59995         (memcpy): Don't use BP_SYM.
59996         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59997         <bp-sym.h> and <bp-asm.h>.
59998         (__mempcpy): Don't use BP_SYM.
59999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
60000         <bp-sym.h> and <bp-asm.h>.
60001         (__memrchr): Don't use BP_SYM.
60002         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
60003         <bp-sym.h> and <bp-asm.h>.
60004         (memset): Don't use BP_SYM.
60005         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
60006         <bp-sym.h> and <bp-asm.h>.
60007         (__rawmemchr): Don't use BP_SYM.
60008         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
60009         <bp-sym.h> and <bp-asm.h>.
60010         (__STRCMP): Don't use BP_SYM.
60011         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
60012         <bp-sym.h> and <bp-asm.h>.
60013         (strchr): Don't use BP_SYM.
60014         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
60015         <bp-sym.h> and <bp-asm.h>.
60016         (__strchrnul): Don't use BP_SYM.
60017         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
60018         <bp-sym.h> and <bp-asm.h>.
60019         (strlen): Don't use BP_SYM.
60020         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
60021         <bp-sym.h> and <bp-asm.h>.
60022         (strncmp): Don't use BP_SYM.
60023         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
60024         <bp-sym.h> and <bp-asm.h>.
60025         (__strnlen): Don't use BP_SYM.
60026         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
60027         <bp-asm.h>.
60028         (__mpn_rshift): Don't use BP_SYM.
60029         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60030         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
60031         <bp-sym.h> and <bp-asm.h>.
60032         (__sigsetjmp): Don't use BP_SYM.
60033         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
60034         (L(start_addresses)): Don't use BP_SYM.
60035         (_start): Likewise.
60036         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
60037         <bp-asm.h>.
60038         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
60039         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60040         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60041         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
60042         <bp-asm.h>.
60043         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
60044         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60045         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60046         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
60047         <bp-asm.h>.
60048         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60049         comments.
60050         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60051         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
60052         <bp-asm.h>.
60053         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
60054         FIXME comments.
60055         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60056         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
60057         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
60058         <bp-asm.h>.
60059         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
60060         comment.
60061         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
60062         and <bp-asm.h>.
60063         (strncmp): Don't use BP_SYM,
60064         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
60065         <bp-asm.h>.
60066         (__mpn_sub_n): Don't use BP_SYM.
60067         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60068         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
60069         and <bp-asm.h>.
60070         (__mpn_submul_1): Don't use BP_SYM.
60071         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
60073         <bp-sym.h> and <bp-asm.h>.
60074         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
60076         <bp-sym.h> and <bp-asm.h>.
60077         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
60078         comment.
60080 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60083         Use ZK to minimize writes to Z.
60084         (sub_magnitudes): Simplify code a bit.
60085         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60086         Use ZK to minimize writes to Z.
60087         (sub_magnitudes): Simplify code a bit.
60089 2013-02-27  Roland McGrath  <roland@hack.frob.com>
60091         * csu/gmon-start.c: Add special exception to license text.
60093 2013-02-27  Richard Henderson  <rth@redhat.com>
60095         * scripts/config.guess: Update from config.git.
60096         * scripts/config.sub: Likewise.
60098 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
60100         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60102         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60104         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60106         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60108         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60110 2013-02-26  Roland McGrath  <roland@hack.frob.com>
60112         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60113         [$(build-shared = yes].
60115 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60117         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60118         (__mul): Reduce iterations for calculating mantissa.
60120         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60121         MPTWO.
60122         (__mpranred): Likewise.
60124         [BZ #15160]
60125         * malloc/memusagestat.c (main): Draw graphs for heap and stack
60126         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60128 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
60130         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60131         Define __attribute__.
60133 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
60135         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60136         unused.
60137         * posix/regex_internal.h (__attribute): Remove.
60138         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60139         (re_string_context_at): Likewise.
60140         (bitset_not): Use __attribute__ and mark function as possibly
60141         unused.
60142         (bitset_merge): Likewise.
60143         (bitset_mask): Likewise.
60144         (re_string_char_size_at): Likewise.
60145         (re_string_wchar_at): Likewise.
60146         (re_string_elem_size_at): Likewise.
60148 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60150         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
60151         code.
60152         (cc32): Likewise.
60154         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
60155         (__acr): Likewise.
60156         (__cpy): Likewise.
60157         (norm): Likewise.
60158         (denorm): Likewise.
60159         (__dbl_mp): Likewise.
60160         (add_magnitudes): Likewise.
60161         (sub_magnitudes): Likewise.
60162         (__mul): Likewise.
60163         (__inv): Likewise.
60165         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60166         style.
60168         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
60169         style.
60171         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
60172         code.
60174         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
60175         up changes with default code.
60176         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
60177         Likewise.
60179 2013-02-24  Allan McRae  <allan@archlinux.org>
60181         * manual/socket.texi (The Internet Namespace): Order menu items
60182         to match that in the file.
60184         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
60185         node listing of the info page menu.
60187 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
60189         [BZ #13550]
60190         * sysdeps/i386/bp-asm.h: Remove file.
60191         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60192         (PARMS): Do not use macros from bp-asm.h.
60193         (S1): Likewise.
60194         (S2): Likewise.
60195         (SIZE): Likewise.
60196         (__mpn_add_n): Do not use BP_SYM
60197         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
60198         "bp-asm.h".
60199         (PARMS): Do not use macros from bp-asm.h.
60200         (S1): Likewise.
60201         (SIZE): Likewise.
60202         (__mpn_addmul_1): Do not use BP_SYM
60203         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
60204         "bp-asm.h".
60205         (PARMS): Do not use macros from bp-asm.h.
60206         (SIGMSK): Likewise.
60207         (_setjmp): Likewise.  Do not use BP_SYM.
60208         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
60209         "bp-asm.h".
60210         (PARMS): Do not use macros from bp-asm.h.
60211         (SIGMSK): Likewise.
60212         (setjmp): Likewise.  Do not use BP_SYM.
60213         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
60214         "bp-asm.h".
60215         (PARMS): Do not use macros from bp-asm.h.
60216         (__frexp): Do not use BP_SYM.
60217         (frexp): Likewise.
60218         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
60219         "bp-asm.h".
60220         (PARMS): Do not use macros from bp-asm.h.
60221         (__frexpf): Do not use BP_SYM.
60222         (frexpf): Likewise.
60223         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
60224         "bp-asm.h".
60225         (PARMS): Do not use macros from bp-asm.h.
60226         (__frexpl): Do not use BP_SYM.
60227         (frexpl): Likewise.
60228         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
60229         "bp-asm.h".
60230         (PARMS): Do not use macros from bp-asm.h.
60231         (__remquo): Do not use BP_SYM.
60232         (remquo): Likewise.
60233         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
60234         "bp-asm.h".
60235         (PARMS): Do not use macros from bp-asm.h.
60236         (__remquof): Do not use BP_SYM.
60237         (remquof): Likewise.
60238         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
60239         "bp-asm.h".
60240         (PARMS): Do not use macros from bp-asm.h.
60241         (__remquol): Do not use BP_SYM.
60242         (remquol): Likewise.
60243         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
60244         "bp-asm.h".
60245         (PARMS): Do not use macros from bp-asm.h.
60246         (DEST): Likewise.
60247         (SRC): Likewise.
60248         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
60249         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
60250         "bp-asm.h".
60251         (PARMS): Do not use macros from bp-asm.h.
60252         (strlen): Do not use BP_SYM.
60253         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
60254         "bp-asm.h".
60255         (PARMS): Do not use macros from bp-asm.h.
60256         (S1): Likewise.
60257         (S2): Likewise.
60258         (SIZE): Likewise.
60259         (__mpn_add_n): Do not use BP_SYM.
60260         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
60261         "bp-asm.h".
60262         (PARMS): Do not use macros from bp-asm.h.
60263         (S1): Likewise.
60264         (SIZE): Likewise.
60265         (__mpn_addmul_1): Do not use BP_SYM.
60266         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
60267         weak_alias.
60268         (bzero): Likewise.
60269         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
60270         "bp-asm.h".
60271         (PARMS): Do not use macros from bp-asm.h.
60272         (S): Likewise.
60273         (SIZE): Likewise.
60274         (__mpn_lshift): Do not use BP_SYM.
60275         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
60276         "bp-asm.h".
60277         (PARMS): Do not use macros from bp-asm.h.
60278         (DEST): Likewise.
60279         (SRC): Likewise.
60280         (LEN): Likewise.
60281         (memcpy): Likewise.  Do not use BP_SYM.
60282         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
60283         libc_hidden_def and weak_alias.
60284         (mempcpy): Do not use BP_SYM in weak_alias.
60285         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
60286         "bp-asm.h".
60287         (PARMS): Do not use macros from bp-asm.h.
60288         (DEST): Likewise.
60289         (LEN): Likewise.
60290         [!BZERO_P] (CHR): Likewise.
60291         (memset): Likewise.  Do not use BP_SYM.
60292         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
60293         "bp-asm.h".
60294         (PARMS): Do not use macros from bp-asm.h.
60295         (S1): Likewise.
60296         (SIZE): Likewise.
60297         (__mpn_mul_1): Do not use BP_SYM.
60298         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
60299         "bp-asm.h".
60300         (PARMS): Do not use macros from bp-asm.h.
60301         (S): Likewise.
60302         (SIZE): Likewise.
60303         (__mpn_rshift): Do not use BP_SYM.
60304         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
60305         "bp-asm.h".
60306         (PARMS): Do not use macros from bp-asm.h.
60307         (STR): Likewise.
60308         (CHR): Likewise.
60309         (strchr): Likewise.  Do not use BP_SYM.
60310         (index): Do not use BP_SYM in weak_alias.
60311         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
60312         "bp-asm.h".
60313         (PARMS): Do not use macros from bp-asm.h.
60314         (DEST): Likewise.
60315         (SRC): Likewise.
60316         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
60317         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60318         "bp-asm.h".
60319         (PARMS): Do not use macros from bp-asm.h.
60320         (strlen): Do not use BP_SYM.
60321         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60322         "bp-asm.h".
60323         (PARMS): Do not use macros from bp-asm.h.
60324         (S1): Likewise.
60325         (S2): Likewise.
60326         (SIZE): Likewise.
60327         (__mpn_sub_n): Do not use BP_SYM.
60328         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60329         "bp-asm.h".
60330         (PARMS): Do not use macros from bp-asm.h.
60331         (S1): Likewise.
60332         (SIZE): Likewise.
60333         (__mpn_submul_1): Do not use BP_SYM.
60334         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60335         "bp-asm.h".
60336         (PARMS): Do not use macros from bp-asm.h.
60337         (S1): Likewise.
60338         (S2): Likewise.
60339         (SIZE): Likewise.
60340         (__mpn_add_n): Do not use BP_SYM.
60341         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60342         weak_alias.
60343         (bzero): Likewise.
60344         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60345         "bp-asm.h".
60346         (PARMS): Do not use macros from bp-asm.h.
60347         (BLK2): Likewise.
60348         (LEN): Likewise.
60349         (memcmp): Do not use BP_SYM.
60350         (bcmp): Do not use BP_SYM in weak_alias.
60351         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60352         "bp-asm.h".
60353         (PARMS): Do not use macros from bp-asm.h.
60354         (DEST): Likewise.
60355         (SRC): Likewise.
60356         (LEN): Likewise.
60357         (memcpy): Likewise.  Do not use BP_SYM.
60358         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60359         "bp-asm.h".
60360         (PARMS): Do not use macros from bp-asm.h.
60361         (DEST): Likewise.
60362         (SRC): Likewise.
60363         (LEN): Likewise.
60364         (memmove): Likewise.  Do not use BP_SYM.
60365         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60366         "bp-asm.h".
60367         (PARMS): Do not use macros from bp-asm.h.
60368         (DEST): Likewise.
60369         (SRC): Likewise.
60370         (LEN): Likewise.
60371         (__mempcpy): Likewise.  Do not use BP_SYM.
60372         (mempcpy): Do not use BP_SYM in weak_alias.
60373         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60374         "bp-asm.h".
60375         (PARMS): Do not use macros from bp-asm.h.
60376         (DEST): Likewise.
60377         (LEN): Likewise.
60378         [!BZERO_P] (CHR): Likewise.
60379         (memset): Likewise.  Do not use BP_SYM.
60380         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60381         "bp-asm.h".
60382         (PARMS): Do not use macros from bp-asm.h.
60383         (STR2): Likewise.
60384         (strcmp): Do not use BP_SYM.
60385         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60386         "bp-asm.h".
60387         (PARMS): Do not use macros from bp-asm.h.
60388         (STR): Likewise.
60389         (DELIM): Likewise.
60390         [USE_AS_STRTOK_R] (SAVE): Likewise.
60391         (FUNCTION): Likewise.  Do not use BP_SYM.
60392         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60393         aliases.
60394         (strtok_r): Likewise.
60395         (__GI___strtok_r): Likewise.
60396         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60397         (PARMS): Do not use macros from bp-asm.h.
60398         (S): Likewise.
60399         (SIZE): Likewise.
60400         (__mpn_lshift): Do not use BP_SYM.
60401         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60402         (PARMS): Do not use macros from bp-asm.h.
60403         (STR): Likewise.
60404         (CHR): Likewise.
60405         (__memchr): Do not use BP_SYM.
60406         (memchr): Do not use BP_SYM in weak_alias.
60407         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60408         (PARMS): Do not use macros from bp-asm.h.
60409         (BLK2): Likewise.
60410         (LEN): Likewise.
60411         (memcmp): Do not use BP_SYM.
60412         (bcmp): Do not use BP_SYM in weak_alias.
60413         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60414         (PARMS): Do not use macros from bp-asm.h.
60415         (S1): Likewise.
60416         (SIZE): Likewise.
60417         (__mpn_mul_1): Do not use BP_SYM.
60418         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60419         "bp-asm.h".
60420         (PARMS): Do not use macros from bp-asm.h.
60421         (STR): Likewise.
60422         (CHR): Likewise.
60423         (__rawmemchr): Do not use BP_SYM.
60424         (rawmemchr): Do not use BP_SYM in weak_alias.
60425         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60426         (PARMS): Do not use macros from bp-asm.h.
60427         (S): Likewise.
60428         (SIZE): Likewise.
60429         (__mpn_rshift): Do not use BP_SYM.
60430         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60431         (PARMS): Do not use macros from bp-asm.h.
60432         (SIGMSK): Likewise.
60433         (__sigsetjmp): Likewise.  Do not use BP_SYM.
60434         * sysdeps/i386/start.S: Do not include "bp-sym.h".
60435         (_start): Do not use BP_SYM.
60436         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60437         (PARMS): Do not use macros from bp-asm.h.
60438         (DEST): Likewise.
60439         (SRC): Likewise.
60440         (__stpcpy): Likewise.  Do not use BP_SYM.
60441         (stpcpy): Do not use BP_SYM in weak_alias.
60442         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60443         "bp-asm.h".
60444         (PARMS): Do not use macros from bp-asm.h.
60445         (DEST): Likewise.
60446         (SRC): Likewise.
60447         (LEN): Likewise.
60448         (__stpncpy): Likewise.  Do not use BP_SYM.
60449         (stpncpy): Do not use BP_SYM in weak_alias.
60450         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60451         (PARMS): Do not use macros from bp-asm.h.
60452         (STR): Likewise.
60453         (CHR): Likewise.
60454         (strchr): Likewise.  Do not use BP_SYM.
60455         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60456         "bp-asm.h".
60457         (PARMS): Do not use macros from bp-asm.h.
60458         (STR): Likewise.
60459         (CHR): Likewise.
60460         (__strchrnul): Likewise.  Do not use BP_SYM.
60461         (strchrnul): Do not use BP_SYM in weak_alias.
60462         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60463         "bp-asm.h".
60464         (PARMS): Do not use macros from bp-asm.h.
60465         (STOP): Likewise.
60466         (strcspn): Do not use BP_SYM.
60467         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60468         "bp-asm.h".
60469         (PARMS): Do not use macros from bp-asm.h.
60470         (STR): Likewise.
60471         (STOP): Likewise.
60472         (strpbrk): Likewise.  Do not use BP_SYM.
60473         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60474         "bp-asm.h".
60475         (PARMS): Do not use macros from bp-asm.h.
60476         (STR): Likewise.
60477         (CHR): Likewise.
60478         (strrchr): Likewise.  Do not use BP_SYM.
60479         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60480         (PARMS): Do not use macros from bp-asm.h.
60481         (SKIP): Likewise.
60482         (strspn): Do not use BP_SYM.
60483         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60484         (PARMS): Do not use macros from bp-asm.h.
60485         (STR): Likewise.
60486         (DELIM): Likewise.
60487         (SAVE): Likewise.
60488         (FUNCTION): Likewise.  Do not use BP_SYM.
60489         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60490         aliases.
60491         (strtok_r): Likewise.
60492         (__GI___strtok_r): Likewise.
60493         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60494         (PARMS): Do not use macros from bp-asm.h.
60495         (S1): Likewise.
60496         (S2): Likewise.
60497         (SIZE): Likewise.
60498         (__mpn_sub_n): Do not use BP_SYM.
60499         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60500         "bp-asm.h".
60501         (PARMS): Do not use macros from bp-asm.h.
60502         (S1): Likewise.
60503         (SIZE): Likewise.
60504         (__mpn_submul_1): Do not use BP_SYM.
60505         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60506         <bp-sym.h>.
60507         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60508         and <bp-asm.h>.
60509         (PARMS): Do not use macros from bp-asm.h.
60510         (FLAGS): Likewise.
60511         (PTID): Likewise.
60512         (TLS): Likewise.
60513         (CTID): Likewise.
60514         (__clone): Do not use BP_SYM.
60515         (clone): Do not use BP_SYM in weak_alias.
60516         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60517         and <bp-asm.h>.
60518         (PARMS): Do not use macros from bp-asm.h.
60519         (LEN): Likewise.
60520         (__mmap64): Do not use BP_SYM.
60521         (mmap64): Do not use BP_SYM in weak_alias.
60522         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60523         <bp-sym.h> and <bp-asm.h>.
60524         (PARMS): Do not use macros from bp-asm.h.
60525         (__posix_fadvise64_l64): Do not use BP_SYM.
60526         * sysdeps/unix/sysv/linux/i386/semtimedop.S
60527         (PARMS): Do not use macros from bp-asm.h.
60528         (NSOPS): Likewise.
60529         (semtimedop): Do not use BP_SYM.
60530         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60531         and <bp-asm.h>.
60533 2013-02-21  Allan McRae  <allan@archlinux.org>
60535         * manual/message.texi (Charset conversion in gettext):
60536         Move @end statement to beginning of line.
60538 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60541         static.
60542         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60543         Likewise.
60545         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60546         (denorm): Likewise.
60547         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60548         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60550 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60552         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60553         tail-call to the resolved function if pltexit isn't needed.
60555 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
60557         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60558         or Y being zero as being unlikely.
60559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60560         Likewise.
60562 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
60564         * manual/nss.texi (System Databases and Name Service Switch):
60565         Remove frobnicate @pxref.
60567 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60569         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60570         __attribute__ ((unused)) to __attribute__ ((__unused__)).
60572 2013-02-20  Petr Machata  <pmachata@redhat.com>
60574         * elf/elf.h (R_ARM_TARGET1): New macro.
60575         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60576         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60577         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60578         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60579         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60580         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60581         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60582         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60583         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60584         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60585         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60586         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60587         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60588         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60589         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60590         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60591         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60592         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60593         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60594         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60595         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60596         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60597         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60598         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60599         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60600         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60601         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60602         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60603         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60604         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60605         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60606         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60607         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60608         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60609         (R_ARM_THM_GOT_BREL12): Likewise.
60610         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60611         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60612         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60613         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60614         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60615         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60616         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60617         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60618         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60620 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
60622         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60623         __attribute_used__ to __attribute__ ((unused)).
60625 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60627         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60628         powerpc mpa.c.
60629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60630         comment formatting.
60631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60633 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
60635         [BZ #13550]
60636         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60637         Remove macro.
60638         (ENTER): Remove both macro definitions.
60639         (LEAVE): Likewise.
60640         (CHECK_BOUNDS_LOW): Likewise.
60641         (CHECK_BOUNDS_HIGH): Likewise.
60642         (CHECK_BOUNDS_BOTH): Likewise.
60643         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60644         (RETURN_BOUNDED_POINTER): Likewise.
60645         (RETURN_NULL_BOUNDED_POINTER): Likewise.
60646         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60647         (POP_ERRNO_LOCATION_RETURN): Likewise.
60648         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60649         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60650         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60651         macros.
60652         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60653         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60654         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60655         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60656         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60657         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60658         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60659         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60660         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60661         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60662         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60663         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60664         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60665         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60666         removed macros.
60667         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60668         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60669         macros.
60670         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60671         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60672         * sysdeps/i386/i586/memset.S (memset): Likewise.
60673         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60674         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60675         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60676         macros.
60677         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60678         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60679         Change uses of L(2) to L(out).
60680         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60681         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60682         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60683         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60684         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60685         removed macros.
60686         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60687         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60688         macros.
60689         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60690         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60691         (RETURN): Do not use macro LEAVE.
60692         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60693         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60694         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60695         * sysdeps/i386/i686/memset.S (memset): Likewise.
60696         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60697         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60698         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60699         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60700         Likewise.
60701         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60702         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
60703         L(1_2) and L(1_3) into L(1).
60704         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60705         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60706         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60707         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60708         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60709         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60710         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60711         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60712         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60713         macros.
60714         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60715         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60716         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60717         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60718         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60719         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60720         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60721         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60722         * sysdeps/i386/strcspn.S (strcspn): Likewise.
60723         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60724         * sysdeps/i386/strrchr.S (strrchr): Likewise.
60725         * sysdeps/i386/strspn.S (strspn): Likewise.
60726         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60727         conditional code.
60728         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60729         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60730         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60731         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
60732         L(1_3) into L(1_1).
60733         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60734         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60735         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60736         macros.
60737         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60739 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
60741         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60742         macro.
60744 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60746         * math/atest-exp.c (exp_mpn): Remove ROUND.
60747         * math/atest-exp2.c (exp_mpn): Likewise.
60748         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60750         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60751         * stdlib/tst-tls-atexit-lib.c: Likewise.
60752         * stdlib/tst-tls-atexit.c: Likewise.
60754 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60756         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60757         and __attribute_alloc_size__.
60759 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60761         * include/programs/xmalloc.h: Change __attribute_alloc_size to
60762         __attribute_alloc_size__.
60763         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60764         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60766 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
60768         * include/programs/xmalloc.h: New file.
60769         * catgets/gencat.c: Include it.
60770         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60771         * elf/pldd.c: Likewise.
60772         * iconv/iconv_charmap.c: Likewise.
60773         * iconv/iconvconfig.c: Likewise.
60774         * iconv/strtab.c: Likewise.
60775         * locale/programs/locale.c: Likewise.
60776         * locale/programs/localedef.h: Likewise.
60777         * locale/programs/simple-hash.c: Likewise.
60778         * nscd/nscd.h: Likewise.
60779         * nss/makedb.c: Likewise.
60780         * sysdeps/generic/ldconfig.h: Likewise.
60782 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60784         * Versions.def: Add GLIBC_2.18.
60785         * include/link.h (struct link_map): New member l_tls_dtor_count.
60786         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60787         (__call_tls_dtors): Likewise.
60788         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60789         __cxa_thread_atexit_impl.
60790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60791         Likewise.
60792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60793         Likewise.
60794         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60795         Likewise.
60796         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60797         Likewise.
60798         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60800         Likewise.
60801         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60802         Likewise.
60803         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60804         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60805         Likewise.
60806         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60807         (tests): Add test case tst-tls-atexit.
60808         (modules-names): Add shared library for tst-tls-atexit.
60809         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60810         (GLIBC_PRIVATE): Add __call_tls_dtors.
60811         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60812         for libstdc++.
60813         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60814         * stdlib/tst-tls-atexit.c: New test case.
60815         * stdlib/tst-tls-atexit-lib.c: New test case.
60817         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60819         * elf/Versions (ld): Add _dl_find_dso_for_object.
60820         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60821         * elf/dl-open.c (_dl_find_dso_for_object): New function.
60822         (dl_open_worker): Use _dl_find_dso_for_object.
60823         * elf/dl-sym.c (do_sym): Likewise.
60824         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60826 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60828         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60829         Syntactic changes only.
60830         (_dl_runtime_profile): Do a tail-call to the resolved function.
60832 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
60834         [BZ #13550]
60835         * sysdeps/x86_64/bp-asm.h: Remove file.
60836         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60837         <bp-sym.h> and <bp-asm.h>.
60838         (__clone): Do not use BP_SYM.
60839         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60840         <bp-sym.h> and <bp-asm.h>.
60841         * sysdeps/unix/x86_64/sysdep.S: Likewise.
60842         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60843         "bp-asm.h".
60844         (_setjmp): Do not use BP_SYM.
60845         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60846         "bp-asm.h".
60847         (setjmp): Do not use BP_SYM.
60848         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60849         libc_hidden_def.
60850         (mempcpy): Do not use BP_SYM in weak_alias.
60851         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60852         "bp-asm.h".
60853         (strchr): Do not use BP_SYM.
60854         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60855         "bp-asm.h".
60856         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60857         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60858         (_start): Do not use BP_SYM.
60859         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60860         "bp-asm.h".
60861         (strcat): Do not use BP_SYM.
60862         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60863         "bp-asm.h".
60864         (STRCMP): Do not use BP_SYM.
60865         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60866         "bp-asm.h".
60867         (STRCPY): Do not use BP_SYM.
60868         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60869         "bp-asm.h".
60870         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60871         "bp-asm.h".
60872         (FUNCTION): Do not use BP_SYM.
60873         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60874         weak_alias.
60875         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60877 2013-02-17  Andreas Jaeger  <aj@suse.de>
60879         * time/Versions: Sort entries.
60880         * string/Versions: Likewise.
60881         * resolv/Versions: Likewise.
60882         * posix/Versions: Likewise.
60883         * iconv/Versions: Likewise.
60884         * elf/Versions: Likewise.
60885         * wcsmbs/Versions: Likewise.
60887 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
60889         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60890         loop termination condition.
60892         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60893         variable to calculate EZ.
60894         (__sqr): Likewise.
60896         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60897         the lower precision input.
60899 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
60901         [BZ #13550]
60902         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60903         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60904         (run-via-rtld-prefix): Do not handle %-bp tests.
60905         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60906         (all-object-suffixes): Remove .ob.
60907         (bppfx): Remove variable.
60908         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60909         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60910         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60911         [$(build-bounded) = yes] (libtype.ob): Likewise.
60912         * Makerules (elide-routines.ob): Remove variable.
60913         (do-tests-clean): Do not handle *-bp.out.
60914         (common-mostlyclean): Do not handle *-bp and *-bp.out.
60915         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60916         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60917         (tests): Do not include $(tests-bp.out).
60918         (xtests): Do not include $(xtests-bp.out).
60919         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60920         [$(build-bounded) = yes] ($(addprefix
60921         $(objpfx),$(binaries-bounded))): Remove rule.
60922         ($(objpfx)%-bp.out): Remove rule.
60923         * config.make.in (build-bounded): Remove variable.
60924         * crypt/Makefile [$(build-bounded) = yes]
60925         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60926         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60927         append to variable.
60928         [$(build-bounded) = yes] (install-lib): Likewise.
60929         [$(build-bounded) = yes] (generated): Likewise.
60930         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60931         Remove rule.
60932         * intl/Makefile [$(build-bounded) = yes]
60933         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60934         * math/Makefile [$(build-bounded) = yes]
60935         ($(tests:%=$(objpfx)%-bp): Likewise.
60936         * misc/Makefile [$(build-bounded) = yes]
60937         ($(objpfx)tst-tsearch-bp): Likewise.
60938         * nptl/Makeconfig (bounded-thread-library): Remove variable.
60939         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60940         Remove dependency.
60941         * string/Makefile (o-objects.ob): Remove variable.
60942         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60943         (CFLAGS-.ob): Remove variable.
60944         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60945         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60946         both definitions of variable.
60947         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60948         (ASFLAGS-.ob): Remove variable.
60950 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
60952         [BZ #13550]
60953         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60954         Remove __BOUNDED_POINTERS__ from condition.
60955         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60956         * string/bits/string2.h [!__NO_STRING_INLINES &&
60957         !__BOUNDED_POINTERS__]: Likewise.
60958         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60959         Likewise.
60960         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60961         Remove conditional code.
60962         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60963         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60964         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60965         condition.
60967         [BZ #13550]
60968         * csu/libc-start.c: Do not include <bp-sym.h>.
60969         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60970         * elf/dl-open.c: Do not include <bp-sym.h>.
60971         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60972         * math/fegetenv.c: Do not include <bp-sym.h>.
60973         (fegetenv): Do not use BP_SYM in versioned symbols.
60974         * nptl/sysdeps/pthread/bits/libc-lockP.h
60975         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60976         <bp-sym.h>.
60977         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60978         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60979         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60980         (__pthread_mutex_destroy): Likewise.
60981         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60982         (__pthread_mutex_lock): Likewise.
60983         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60984         (__pthread_mutex_trylock): Likewise.
60985         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60986         (__pthread_mutex_unlock): Likewise.
60987         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60988         (__pthread_mutexattr_init): Likewise.
60989         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60990         (__pthread_mutexattr_destroy): Likewise.
60991         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60992         (__pthread_mutexattr_settype): Likewise.
60993         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60994         (__pthread_rwlock_init): Likewise.
60995         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60996         (__pthread_rwlock_destroy): Likewise.
60997         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60998         (__pthread_rwlock_rdlock): Likewise.
60999         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61000         (__pthread_rwlock_tryrdlock): Likewise.
61001         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61002         (__pthread_rwlock_wrlock): Likewise.
61003         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61004         (__pthread_rwlock_trywrlock): Likewise.
61005         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61006         (__pthread_rwlock_unlock): Likewise.
61007         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61008         (__pthread_key_create): Likewise.
61009         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61010         (__pthread_setspecific): Likewise.
61011         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61012         (__pthread_getspecific): Likewise.
61013         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
61014         Likewise.
61015         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61016         (_pthread_cleanup_push_defer): Likewise.
61017         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61018         (_pthread_cleanup_pop_restore): Likewise.
61019         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
61020         (pthread_setcancelstate): Likewise.
61021         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
61022         <bp-sym.h>.
61023         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
61024         (memchr): Do not use BP_SYM in weak_alias.
61025         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
61026         (fegetenv): Do not use BP_SYM in versioned symbols.
61027         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
61028         (fesetenv): Do not use BP_SYM in versioned symbols.
61029         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61030         (feupdateenv): Do not use BP_SYM in versioned symbols.
61031         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61032         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61033         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
61034         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
61035         (open64): Do not use BP_SYM in weak_alias.
61036         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
61037         (fegetenv): Do not use BP_SYM in versioned symbols.
61038         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
61039         (fesetenv): Do not use BP_SYM in versioned symbols.
61040         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
61041         (feupdateenv): Do not use BP_SYM in versioned symbols.
61042         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
61043         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
61044         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
61045         (feraiseexcept): Do not use BP_SYM in versioned symbols.
61046         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
61047         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
61048         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
61049         <bp-sym.h>.
61050         (__libc_start_main): Do not use BP_SYM.
61052 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
61055         redundant return line.
61056         (norm): Likewise.
61057         (denorm): Likewise.
61058         (dbl_mp): Likewise.
61059         (sub_magnitudes): Likewise.
61060         (__add): Likewise.
61061         (__sub): Likewise.
61062         (__mul): Likewise.
61063         (__inv): Likewise.
61064         (__dvd): Likewise.
61065         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
61066         (norm): Likewise.
61067         (denorm): Likewise.
61068         (dbl_mp): Likewise.
61069         (sub_magnitudes): Likewise.
61070         (__add): Likewise.
61071         (__sub): Likewise.
61072         (__mul): Likewise.
61073         (__inv): Likewise.
61074         (__dvd): Likewise.
61076         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61077         instead of __mul.
61078         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61079         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61080         (cc32): Likewise.
61082         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61083         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61084         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61085         of __mul for squares.
61086         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61087         function
61088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61089         Likewise.
61090         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61091         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61093 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
61095         [BZ #13550]
61096         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61097         code.
61098         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61099         prototype or function definition.  Rename ubp_* variables and
61100         parameters.  Remove argv definitions conditional on
61101         [__BOUNDED_POINTERS__].
61102         * debug/backtrace.c (__backtrace): Do not use __unbounded.
61103         * elf/dl-runtime.c (_dl_fixup): Likewise.
61104         * include/set-hooks.h (RUN_HOOK): Likewise.
61105         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61106         definition.
61107         * string/strcpy.c (strcpy): Do not use __unbounded.
61108         * sysdeps/generic/frame.h (struct layout): Likewise.
61109         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61110         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61111         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61112         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61113         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61114         (__backtrace): Likewise.
61115         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61116         use __ptrvalue.
61117         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61118         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61119         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61120         Likewise.
61121         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61122         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61123         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61124         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61125         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61126         Do not use __unbounded.
61127         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61128         Rename __unboundedrlimits parameter to rlimits in prototype.
61129         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61130         Do not use __unbounded.
61131         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61132         not use __ptrvalue.
61133         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61134         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61135         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61136         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
61137         __ptrvalue or __unbounded.
61138         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
61139         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
61140         use __unbounded.
61141         (__new_msgctl): Do not use __ptrvalue.
61142         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
61143         __unbounded.
61144         (__libc_msgrcv): Do not use __ptrvalue.
61145         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
61146         startup_info): Do not use __unbounded.
61147         (__libc_start_main): Likewise.  Rename ubp_* variables and
61148         parameters.  Remove argv definitions conditional on
61149         [__BOUNDED_POINTERS__].
61150         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
61151         __ptrvalue.
61152         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61153         use __unbounded.
61154         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
61155         or __ptrvalue.
61156         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
61157         use __unbounded.
61158         (__new_shmctl): Do not use __ptrvalue.
61159         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
61160         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
61161         Likewise.
61162         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
61163         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
61164         (__libc_sigaction): Likewise.
61165         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
61166         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
61167         Likewise.
61168         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61170 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
61172         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
61174         * string/mempcpy.c: Implement by calling memcpy.
61176 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
61180         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
61181         evaluation.
61183         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
61184         values in the mantissa.
61186         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
61187         minimize writes to Z.
61188         (sub_magnitudes): Simplify code a bit.
61190 2013-02-12  Roland McGrath  <roland@hack.frob.com>
61192         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
61193         from the message.  The linker prefixes all warnings with that already.
61195 2013-02-12  Andreas Schwab  <schwab@suse.de>
61197         [BZ #15078]
61198         * posix/regexec.c (extend_buffers): Add parameter min_len.
61199         (check_matching): Pass minimum needed length.
61200         (clean_state_log_if_needed): Likewise.
61201         (get_subexp): Likewise.
61202         * posix/Makefile (tests): Add bug-regex34.
61203         (bug-regex34-ENV): Define.
61204         * posix/bug-regex34.c: New file.
61206         [BZ #11561]
61207         * posix/regcomp.c (parse_bracket_exp): When looking up collating
61208         elements compare against the byte sequence of it, not its name.
61209         * posix/Makefile (tests): Add bug-regex35.
61210         (bug-regex35-ENV): Define.
61211         * posix/bug-regex35.c: New file.
61213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
61215         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
61216         comment.
61217         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
61218         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
61219         (CHECK_EOL): Add undef.
61221 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
61223         * bits/stdlib-bsearch.h: New file.
61224         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
61225         * stdlib/stdlib.h: Likewise.
61227 2013-02-11  Roland McGrath  <roland@hack.frob.com>
61229         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
61230         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
61231         declaration.
61232         * manual/search.texi (Array Search Function): Add missing const in
61233         lfind prototype.
61234         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
61235         declaration to use rlim_t.
61236         (Basic Scheduling Functions): Remove erroneous const from
61237         sched_getparam prototype.  Remove erroneous * from
61238         sched_get_priority_max and sched_get_priority_min prototypes.
61239         (Resource Usage): Fix summary @comment on vtimes to refer to
61240         sys/vtimes.h rather than vtimes.h.
61241         Add missing *s in vtimes prototype.
61242         (Limits on Resources): Fix ulimit prototype to return long int.
61243         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
61244         prototypes to use long int rather than double.
61245         (BSD Random): Fix initstate and setstate to use char *, not void *.
61246         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
61247         prototype to make second argument 'struct aiocb64 *const[]'.
61248         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
61249         (Status of AIO Operations): Remove erroneous const in aio_return and
61250         aio_return64 prototypes.
61251         (Synchronizing I/O): Fix sync prototype to return void.
61252         * manual/startup.texi (Suboptions): Remove an erroneous const in
61253         getsubopt prototype.
61254         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
61255         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
61256         use size_t rather than int.
61257         (Scanning All Users): Likewise for getpwent_r.
61258         (Setting Groups): Add missing const to setgroups prototype.
61259         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
61260         * manual/socket.texi (Host Names): Fix gethostbyaddr and
61261         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
61262         'const void *' rather than 'const char *'.
61263         (Host Address Functions): Likewise for inet_ntop.
61264         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
61265         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
61266         ssize_t for return value.
61267         (Sending Data): Likewise for send, sendto, sendmsg.
61268         (Socket Option Functions): Add a missing const in setsockopt prototype.
61269         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
61270         use wchar_t for the argument.
61271         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
61272         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
61273         take no arguments.
61274         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
61275         double/float/long double for second argument.
61276         Fix return types of significand, significandf, significandl.
61277         * manual/filesys.texi (Setting Permissions): Use mode_t for second
61278         argument in fchmod prototype.
61279         (File Owner): Use uid_t and gid_t in fchown prototype.
61280         (File Times): Add const to utimes, futimes, and lutimes prototypes.
61281         (Making Special Files): Use mode_t and dev_t in mknod prototype.
61282         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
61283         use 'const struct dirent **' as argument types to CMP function pointer
61284         argument.
61285         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
61286         (File Times): Fix summary magic @comment for struct utimbuf and utime
61287         to refer to utime.h, not time.h.
61288         * manual/string.texi (Argz Functions): Add missing const in
61289         argz_extract and argz_next prototypes.
61290         (Finding Tokens in a String): Likewise for basename.
61291         (String/Array Comparison): Fix typo in wcscasecmp prototype.
61292         (Copying and Concatenation): Fix typo in wmemmove prototype.
61293         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
61294         (Signal Stack): Remove erroneous const in sigstack prototype.
61295         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
61296         prototype.
61297         (Simple Calendar Time): Likewise for stime.
61298         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
61299         prototype.
61300         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
61301         say sys/sysctl.h instead.
61302         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
61303         and vsyslog prototypes.
61305 2013-02-11  Tom de Vries  <tom@codesourcery.com>
61307         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61308         Remove.
61310 2013-02-11  Roland McGrath  <roland@hack.frob.com>
61312         * misc/sys/mman.h: Fix typo in mremap comment.
61314 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61316         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61317         the '\0' terminator.
61319 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61321         [BZ #13550]
61322         * debug/segfault.c: Don't include <bp-checks.h>.
61323         * sysdeps/generic/bp-checks.h: Remove file.
61324         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61325         (__GETDENTS): Don't use CHECK_N.
61326         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61327         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61328         (__getgroups): Don't use CHECK_N.
61329         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61330         (setgroups): Don't use CHECK_N.
61331         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61332         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61333         (__libc_msgrcv): Don't use CHECK_N.
61334         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61335         (__libc_msgsnd): Don't use CHECK_N.
61336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61337         <bp-checks.h>.
61338         (__libc_pread): Don't use CHECK_N.
61339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61340         include <bp-checks.h>.
61341         (__libc_pread64): Don't use CHECK_N.
61342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61343         include <bp-checks.h>.
61344         (__libc_pwrite): Don't use CHECK_N.
61345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61346         include <bp-checks.h>.
61347         (__libc_pwrite64): Don't use CHECK_N.
61348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61349         <bp-checks.h>.
61350         (__libc_pread): Don't use CHECK_N.
61351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61352         include <bp-checks.h>.
61353         (__libc_pread64): Don't use CHECK_N.
61354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61355         include <bp-checks.h>.
61356         (__libc_pwrite): Don't use CHECK_N.
61357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61358         include <bp-checks.h>.
61359         (__libc_pwrite64): Don't use CHECK_N.
61360         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61361         (do_pread): Don't use CHECK_N.
61362         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61363         (do_pread64): Don't use CHECK_N.
61364         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61365         (do_pwrite): Don't use CHECK_N.
61366         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61367         (do_pwrite64): Don't use CHECK_N.
61368         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61369         (__libc_readv): Don't use CHECK_N.
61370         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61371         (semop): Don't use CHECK_N.
61372         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61373         <bp-checks.h>.
61374         (semtimedop): Don't use CHECK_N.
61375         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61376         (__libc_pread): Don't use CHECK_N.
61377         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61378         <bp-checks.h>.
61379         (__libc_pread64): Don't use CHECK_N.
61380         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61381         <bp-checks.h>.
61382         (__libc_pwrite): Don't use CHECK_N.
61383         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61384         <bp-checks.h>.
61385         (__libc_pwrite64): Don't use CHECK_N.
61386         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61387         <bp-checks.h>.
61388         (__libc_msgrcv): Don't use CHECK_N.
61389         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61390         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
61391         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61392         (__libc_writev): Don't use CHECK_N.
61394 2013-02-08  Roland McGrath  <roland@hack.frob.com>
61396         * string/strcpy.c: Removed unused variable.
61398         * Makeconfig (+sysdep-includes): Define with := rather than =.
61399         Use an existing include/ subdir of each sysdeps dir before it.
61401 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61403         * nscd/connection.c (register_traced_file): Comment function.
61404         [HAVE_INOTIFY] (union __inev): Define.
61405         [HAVE_INOTIFY] (inotify_check_files): New function.
61406         [HAVE_INOTIFY] (clear_db_cache): Likewise.
61407         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61408         clear_db_cache.
61409         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61411 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61413         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61414         loaded if not already and that a failure is permanent.
61416 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
61418         [BZ #15006]
61419         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61420         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61422 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
61424         [BZ #13550]
61425         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61426         (CHECK_1_NULL_OK): Likewise.
61427         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61428         (__fxstat): Do not use CHECK_1.
61429         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61430         <bp-checks.h>.
61431         (___fxstat64): Do not use CHECK_1.
61432         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61433         <bp-checks.h>.
61434         (__fxstatat): Do not use CHECK_1.
61435         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61436         <bp-checks.h>.
61437         (__fxstatat64): Do not use CHECK_1.
61438         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61439         <bp-checks.h>.
61440         (__fxstat): Do not use CHECK_1.
61441         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61442         <bp-checks.h>.
61443         (__fxstatat): Do not use CHECK_1.
61444         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61445         <bp-checks.h>.
61446         (__getresgid): Do not use CHECK_1.
61447         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61448         <bp-checks.h>.
61449         (__getresuid): Do not use CHECK_1.
61450         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61451         <bp-checks.h>.
61452         (__lxstat): Do not use CHECK_1.
61453         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61454         <bp-checks.h>.
61455         (__old_msgctl): Do not use CHECK_1.
61456         (__new_msgctl): Likewise.
61457         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61458         <bp-checks.h>.
61459         (__new_setrlimit): Do not use CHECK_1.
61460         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61461         <bp-checks.h>.
61462         (__old_shmctl): Do not use CHECK_1.
61463         (__new_shmctl): Likewise.
61464         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61465         <bp-checks.h>.
61466         (__xstat): Do not use CHECK_1.
61467         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61468         (__lxstat): Do not use CHECK_1.
61469         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61470         <bp-checks.h>.
61471         (___lxstat64): Do not use CHECK_1.
61472         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61473         (__old_msgctl): Do not use CHECK_1.
61474         (__new_msgctl): Likewise.
61475         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61476         <bp-checks.h>.
61477         (__gettimeofday): Do not use CHECK_1.
61478         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61479         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61480         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61481         <bp-checks.h>.
61482         (__gettimeofday): Do not use CHECK_1.
61483         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61484         (__old_shmctl): Do not use CHECK_1_NULL_OK.
61485         (__new_shmctl): Do not use CHECK_1.
61486         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61487         <bp-checks.h>.
61488         (do_sigtimedwait): Do not use CHECK_1.
61489         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61490         <bp-checks.h>.
61491         (do_sigwaitinfo): Do not use CHECK_1.
61492         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61493         <bp-checks.h>.
61494         (msgctl): Do not use CHECK_1.
61495         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61496         <bp-checks.h>.
61497         (shmctl): Do not use CHECK_1.
61498         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61499         (ustat): Do not use CHECK_1.
61500         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61501         <bp-checks.h>.
61502         (__fxstat): Do not use CHECK_1.
61503         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61504         <bp-checks.h>.
61505         (__fxstatat): Do not use CHECK_1.
61506         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61507         <bp-checks.h>.
61508         (__lxstat): Do not use CHECK_1.
61509         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61510         <bp-checks.h>.
61511         (__xstat): Do not use CHECK_1.
61512         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61513         (__xstat): Do not use CHECK_1.
61514         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61515         (___xstat64): Do not use CHECK_1.
61517         [BZ #13550]
61518         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61519         definitions.
61520         (CHECK_BOUNDS_HIGH): Likewise.
61521         * string/strcpy.c: Do not include <bp-checks.h>.
61522         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61524 2013-02-07  Roland McGrath  <roland@hack.frob.com>
61526         * nscd/nscd-client.h (__nscd_drop_map_ref):
61527         Add __attribute__ ((unused)).
61528         * nis/nss-nisplus.h (niserr2nss): Likewise.
61530         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61531         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61533         * csu/libc-tls.c (init_static_tls, init_slotinfo):
61534         Remove inline keyword.
61535         * include/rounding-mode.h (round_away): Likewise.
61536         * libio/wfileops.c (adjust_wide_data): Likewise.
61537         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61538         (__m128i_strloadu_tolower): Likewise.
61539         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61540         (__m128i_strloadu_tolower): Likewise.
61541         * time/mktime.c (ydhms_diff): Likewise.
61542         * locale/elem-hash.h (elem_hash): Likewise.
61543         * locale/setlocale.c (setdata): Likewise.
61544         * posix/regex_internal.h (re_string_char_size_at): Likewise.
61545         (re_string_wchar_at): Likewise.
61546         (bitset_not, bitset_merge, bitset_mask): Likewise.
61547         [!(__GNUC__ > 3)] (inline): Remove macro.
61548         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61549         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61550         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61551         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61552         * string/memcmp.c (memcmp_bytes): Likewise.
61553         * locale/programs/locarchive.c (compute_hashval): Likewise.
61554         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61555         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61556         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61557         * nss/getent.c (print_rpc, print_protocols): Likewise.
61558         (print_passwd, print_group, print_aliases): Likewise.
61559         * nis/nss-nisplus.h (niserr2nss): Likewise.
61560         * nscd/connections.c (restart_p): Likewise.
61561         Change return type to bool.
61563 2013-02-05  Roland McGrath  <roland@hack.frob.com>
61565         * Makeconfig (all-Depend-files): Add existing
61566         $(sorted-subdirs:=/Depend) files.
61567         (all-subdirs): Remove nss.
61568         * sysdeps/unix/inet/Subdirs: Add it here instead.
61569         * hesiod/Depend: New file.
61571         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61572         instead of calling alloca.
61574         * io/lseek.c (__lseek): Rename to __libc_lseek.
61575         Define __lseek as an alias.
61577         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61579 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
61581         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61582         else clause and remove check for non-standard endianness.
61584 2013-02-04  David S. Miller  <davem@davemloft.net>
61586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61588 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
61590         [BZ #13550]
61591         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61592         (__ubp_memchr): Remove prototype.
61593         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61594         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61595         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61596         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61597         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61598         Remove alias.
61599         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61600         (__ubp_memchr): Likewise.
61601         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61602         (__ubp_memchr): Likewise.
61603         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61604         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61605         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61606         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61607         CHECK_STRING.
61608         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61609         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61610         (__getcwd): Do not use CHECK_STRING.
61611         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61612         <bp-checks.h>.
61613         (__real_chown): Do not use CHECK_STRING.
61614         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61615         <bp-checks.h>.
61616         (fchownat): Do not use CHECK_STRING.
61617         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61618         CHECK_STRING.
61619         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61620         <bp-checks.h>.
61621         (__lchown): Do not use CHECK_STRING.
61622         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61623         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61624         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61625         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61627         include <bp-checks.h>.
61628         (truncate64): Do not use CHECK_STRING.
61629         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61630         <bp-checks.h>.
61631         (__real_chown): Do not use CHECK_STRING.
61632         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61633         <bp-checks.h>.
61634         (__lchown): Do not use CHECK_STRING.
61635         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61636         <bp-checks.h>.
61637         (__chown): Do not use CHECK_STRING.
61638         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61639         <bp-checks.h>.
61640         (truncate64): Do not use CHECK_STRING.
61641         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61642         Likewise.
61643         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61644         (__xmknod): Do not use CHECK_STRING.
61645         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61646         <bp-checks.h>.
61647         (__xmknodat): Do not use CHECK_STRING.
61648         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61649         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61651 2013-02-04  Andreas Schwab  <schwab@suse.de>
61653         [BZ #14142]
61654         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61655         * include/netdb.h: Likewise for h_errno.
61656         * elf/tst-stackguard1.c: Include <tls.h>.
61658 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
61660         * elf/link.h (struct link_map): Extend the l_addr comment.
61661         * include/link.h (struct link_map): Likewise.
61663 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
61665         [BZ #13550]
61666         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61667         (BOUNDED_1): Remove macro.
61668         * debug/backtrace.c: Don't include <bp-checks.h>.
61669         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61670         (__backtrace): Likewise.
61671         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61672         <bp-checks.h>.
61673         (__backtrace): Don't use BOUNDED_1.
61674         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61675         <bp-checks.h>.
61676         (__backtrace): Don't use BOUNDED_1.
61677         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61678         (__backtrace): Don't use BOUNDED_1.
61679         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61680         (shmat): Don't use BOUNDED_N.
61682 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
61684         [BZ #13550]
61685         * sysdeps/generic/bp-start.h: Remove file.
61686         * csu/libc-start.c: Don't include <bp-start.h>.
61687         (LIBC_START_MAIN): Set up __environ directly instead of using
61688         INIT_ARGV_and_ENVIRON.
61689         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61690         <bp-start.h>.
61692         [BZ #13550]
61693         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61694         definitions.
61695         (CHECK_FCNTL): Likewise.
61696         (CHECK_N_PAGES): Likewise.
61698         [BZ #13550]
61699         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61700         definitions.
61701         (CHECK_SIGSET_NULL_OK): Likewise.
61702         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61703         <bp-checks.h>.
61704         (sigpending): Don't use CHECK_SIGSET.
61705         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61706         <bp-checks.h>.
61707         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61708         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61709         <bp-checks.h>.
61710         (do_sigsuspend): Don't use CHECK_SIGSET.
61711         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61712         use CHECK_SIGSET.
61713         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61714         (do_sigwait): Don't use CHECK_SIGSET.
61715         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61716         use CHECK_SIGSET.
61717         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61718         include <bp-checks.h>.
61719         (sigpending): Don't use CHECK_SIGSET.
61720         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61721         include <bp-checks.h>.
61722         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61723         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61724         <bp-checks.h>.
61725         (sigpending): Don't use CHECK_SIGSET.
61726         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61727         <bp-checks.h>.
61728         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61730         [BZ #13550]
61731         * sysdeps/generic/bp-semctl.h: Remove file.
61732         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61733         <bp-checks.h> and <bp-semctl.h>.
61734         (__old_semctl): Don't use CHECK_SEMCTL.
61735         (__new_semctl): Likewise.
61736         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61737         and <bp-semctl.h>.
61738         (__old_semctl): Don't use CHECK_SEMCTL.
61739         (__new_semctl): Likewise.
61740         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61741         <bp-checks.h> and <bp-semctl.h>.
61742         (__old_semctl): Don't use CHECK_SEMCTL.
61743         (__new_semctl): Likewise.
61744         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61745         <bp-checks.h> and <bp-semctl.h>.
61746         (semctl): Don't use CHECK_SEMCTL.
61748         [BZ #13550]
61749         * Makerules (elide-bp-thunks): Remove variable.
61750         (elide-routines.oS): Don't use $(elide-bp-thunks).
61751         (elide-routines.os): Likewise.
61752         (elide-routines.o): Likewise.
61753         (elide-routines.op): Likewise.
61754         (elide-routines.og): Likewise.
61755         (objects): Don't use $(bp-thunks).
61756         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61757         include.
61758         (common-generated): Do not add s-proto-bp.d.
61759         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61760         (int): Likewise.
61761         (typ): Likewise.
61762         Do not generate makefile rules for bounded-pointer thunks.
61763         * sysdeps/generic/bp-thunks.h: Remove file.
61764         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61765         * sysdeps/unix/s-proto-bp.S: Likewise.
61767         [BZ #15062]
61768         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61769         parts of result separately when argument is not close to line from
61770         -i to i and one part of argument is small.
61771         * math/k_casinhf.c (__kernel_casinhf): Likewise.
61772         * math/k_casinhl.c (__kernel_casinhl): Likewise.
61773         * math/libm-test.inc (cacos_test): Add more tests.
61774         (casin_test): Likewise.
61775         (casinh_test): Likewise.
61776         * sysdeps/i386/fpu/libm-test-ulps: Update.
61777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61779 2013-01-31  David S. Miller  <davem@davemloft.net>
61781         * po/de.po: Update from translation team.
61783 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
61785         * time/tzfile.c: Include stdint.h for SIZE_MAX.
61787 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
61789         * configure.in (_AC_PROG_CC_C89): New definition.
61790         * configure: Regenerate.
61792         * configure.in (AC_PROG_CPP): New definition.
61793         * configure: Regenerate.
61795 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61797         * debug/tst-backtrace.h: New file.
61798         * debug/tst-backtrace2.c: Include tst-backtrace.h.
61799         (ret): Remove variable.
61800         (x): Likewise.
61801         (FAIL): Remove macro.
61802         (NO_INLINE): Likewise.
61803         (fn1): Use match function instead of strstr.
61804         * debug/tst-backtrace3.c: Include tst-backtrace.h.
61805         (ret): Remove variable.
61806         (x): Likewise.
61807         (FAIL): Remove macro.
61808         (NO_INLINE): Likewise.
61809         (fn): Use match function instead of strstr.
61810         * debug/tst-backtrace4.c: Include tst-backtrace.h.
61811         (ret): Remove variable.
61812         (x): Likewise.
61813         (FAIL): Remove macro.
61814         (NO_INLINE): Likewise.
61815         (handle_signal): Use match function instead of strstr.
61816         * debug/tst-backtrace5.c: Include tst-backtrace.h.
61817         (ret): Remove variable.
61818         (x): Likewise.
61819         (FAIL): Remove macro.
61820         (NO_INLINE): Likewise.
61821         (handle_signal): Use match function instead of strstr.
61823 2013-01-23  Roland McGrath  <roland@hack.frob.com>
61825         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61827 2013-01-23  David S. Miller  <davem@davemloft.net>
61829         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61830         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61831         argument of CAS if possible.
61832         * sysdeps/sparc/sparc64/bits/atomic.h
61833         (__arch_compare_and_exchange_val_32_acq): Likewise.
61834         (__arch_compare_and_exchange_val_64_acq): Likewise.
61836 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
61838         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61839         * sysdeps/posix/ulimit.c: ... this.
61840         Include <limits.h>.
61841         * sysdeps/unix/bsd/ulimit.c: Remove file.
61843 2013-01-23  Adam Conrad  <adconrad@0c3.net>
61845         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61846         (LDFLAGS-tst-array5): Likewise.
61848 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
61850         [BZ #15036]
61851         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61852         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61853         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61854         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61856 2013-01-21  David S. Miller  <davem@davemloft.net>
61858         * sysdeps/sparc/backtrace.c: New file.
61859         * sysdeps/sparc/sparc32/backtrace.h: New file.
61860         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61861         * sysdeps/sparc/sparc64/backtrace.h: New file.
61862         * sysdeps/sparc/sparc64/backtrace.c: Delete.
61863         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61864         -funwind-tables.
61866 2013-01-21  Andreas Schwab  <schwab@suse.de>
61868         [BZ #15020]
61869         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61870         closed its stdout.
61872 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
61874         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61875         "mpa2.h".
61876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61878 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
61879             Mark Mitchell  <mark@codesourcery.com>
61880             Tom de Vries  <tom@codesourcery.com>
61881             Paul Pluzhnikov  <ppluzhnikov@google.com>
61883         * debug/tst-backtrace2.c: New file.
61884         * debug/tst-backtrace3.c: Likewise.
61885         * debug/tst-backtrace4.c: Likewise.
61886         * debug/tst-backtrace5.c: Likewise.
61887         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61888         (CFLAGS-tst-backtrace3.c): Likewise.
61889         (CFLAGS-tst-backtrace4.c): Likewise.
61890         (CFLAGS-tst-backtrace5.c): Likewise.
61891         (LDFLAGS-tst-backtrace2): Likewise.
61892         (LDFLAGS-tst-backtrace3): Likewise.
61893         (LDFLAGS-tst-backtrace4): Likewise.
61894         (LDFLAGS-tst-backtrace5): Likewise.
61895         (tests): Add new tests tst-backtrace2, tst-backtrace3,
61896         tst-backtrace4 and tst-backtrace5.
61898 2013-01-18  Anton Blanchard  <anton@samba.org>
61899             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61901         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61902         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61903         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61904         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61906         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61907         "+r" and remove output regs list as redundant.  Add explicit inline
61908         asm to specify register of return val to work around compiler codegen
61909         bug.  Remove (int) cast on return value.  Add return type parameter to
61910         use in macro so that this macro does not truncate return value for
61911         64-bit values.
61912         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61913         pass to INTERNAL_VSYSCALL_NCS.
61914         (INLINE_VSYSCALL): Add 'long int' as return type to
61915         INTERNAL_VSYSCALL_NCS macro invocation.
61916         (INTERNAL_VSYSCALL): Add 'long int' as return type to
61917         INTERNAL_VSYSCALL_NCS macro invocation.
61918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61920 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61922         [BZ #14496]
61923         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61924         Fix application of SIMD FP exception mask.
61926         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61927         mp_no from a power of two.
61928         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61929         __mpexp_twomm1.  Use __pow_mp.
61931         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61932         multiplication.
61934 2013-01-17  David S. Miller  <davem@davemloft.net>
61936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61938 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61940         [BZ #15023]
61941         * include/complex.h: Condition contents on [!_COMPLEX_H].
61942         (__kernel_casinhf): New prototype.
61943         (__kernel_casinh): Likewise.
61944         (__kernel_casinhl): Likewise.
61945         * math/Makefile (libm_calls): Add k_casinh.
61946         * math/k_casinh.c: New file.
61947         * math/k_casinhf.c: Likewise.
61948         * math/k_casinhl.c: Likewise.
61949         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61950         finite nonzero arguments.
61951         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61952         finite nonzero arguments.
61953         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61954         finite nonzero arguments.
61955         * math/s_casinh.c: Do not include <float.h>.
61956         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61957         * math/s_casinhf.c: Do not include <float.h>.
61958         (__casinhf): Move code for finite nonzero arguments to
61959         k_casinhf.c.
61960         * math/s_casinhl.c: Do not include <float.h>.
61961         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61962         redefine.
61963         (__casinhl): Move code for finite nonzero arguments to
61964         k_casinhl.c.
61965         * math/libm-test.inc (cacos_test): Add more tests.
61966         * sysdeps/i386/fpu/libm-test-ulps: Update.
61967         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61969 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
61971         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61972         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61973         [!HAVE_MREMAP]: Remove [defined linux] case.
61974         * malloc/arena.c: Do not include <malloc-sysdep.h>.
61976 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
61978         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61980 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
61982         * elf/elf.h (R_386_SIZE32): New relocation.
61983         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61984         R_386_SIZE32.
61985         (elf_machine_rela): Likewise.
61986         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61987         R_X86_64_SIZE64 and R_X86_64_SIZE32.
61989 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
61991         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61992         (FP_FAST_FMA): Do not define.
61993         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61994         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61995         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61996         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61997         !_SOFT_FLOAT]: Likewise.
61998         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61999         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
62000         value.
62001         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
62002         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
62003         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
62004         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
62005         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
62006         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
62007         file.
62009 2013-01-16  Andreas Schwab  <schwab@suse.de>
62011         [BZ #14327]
62012         * include/stdlib.h (__mktemp): Add declaration.
62013         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
62014         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
62016 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
62018         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
62019         definitions.
62020         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62021         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
62022         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
62023         definitions here.
62024         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
62025         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
62026         definitions.
62027         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
62028         and ONE.
62029         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
62030         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
62031         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
62032         definitions.
62033         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
62034         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
62035         definitions.
62036         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62038         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
62040 2013-01-15  David S. Miller  <davem@davemloft.net>
62042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62043         trunc{,f} to libm-sysdep_routes.
62044         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
62046         file.
62047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
62048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
62049         file.
62050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
62051         file.
62052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
62053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
62054         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
62055         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
62056         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
62057         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
62058         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
62059         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
62061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62062         nearbyint{,f} to libm-sysdep_routes.
62063         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
62065         New file.
62066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
62067         file.
62068         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
62069         New file.
62070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
62071         file.
62072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
62073         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
62074         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
62075         file.
62076         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62077         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62078         file.
62079         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62080         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62081         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62083         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62084         libc_feholdexcept and libc_fesetenv.
62086 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
62088         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62090 2013-01-14  David S. Miller  <davem@davemloft.net>
62092         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62093         (SPARC_ASM_VIS2_IFUNC): Likewise.
62094         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62096         use of 'siam' instruction.
62097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62098         Likewise.
62099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62100         Likewise.
62101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62102         Likewise.
62103         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62104         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62105         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62106         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62108         file.
62109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62110         file.
62111         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62112         file.
62113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62114         file.
62115         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62116         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62117         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62118         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62120         new VIS2 routines.
62121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62124         Likewise.
62125         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62126         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62130         routines to libm-sysdep_routines.
62131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62134         fdim/fdimf to libm-sysdep_routines.
62135         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62136         file.
62137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
62138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
62139         file.
62140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
62141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
62142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
62143         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
62144         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
62145         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
62146         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
62148 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
62150         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
62151         to optimize copies.
62153         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
62154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62155         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
62158         local variable MPTWO.
62159         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62160         Likewise.
62162 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62164         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
62165         GLOB_NOESCAPE.
62167 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62169         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
62171 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
62173         * manual/pattern.texi (glob_t): Document gl_flags.
62174         (glob64_t): Likewise.
62176 2013-01-11  David S. Miller  <davem@davemloft.net>
62178         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
62179         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
62180         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
62181         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
62182         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
62183         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
62184         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
62185         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
62186         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
62187         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
62188         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
62189         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
62190         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
62192         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62193         sparc V9 rather than using V8 code.
62194         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62195         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62197         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62198         Move to...
62199         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
62200         Here.
62202 2013-01-11  Roland McGrath  <roland@hack.frob.com>
62204         [BZ #14941]
62205         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
62206         not in the main loop.
62207         * configure: Regenerated.
62209 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
62211         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
62212         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
62213         to just #else.
62214         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
62215         [!__GLIBC_HAVE_LONG_LONG] case.
62216         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
62217         condition to just #else.
62218         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
62219         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
62220         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
62221         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
62222         unconditional.
62223         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
62224         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62225         #elif condition to just #else.
62226         * sysdeps/unix/sysv/linux/sys/sysmacros.h
62227         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
62228         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62229         #elif condition to just #else.
62231 2013-01-11  Steve Ellcey  <sellcey@mips.com>
62233         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
62234         (EF_MIPS_ARCH_64): Fix value.
62235         (EF_MIPS_ARCH_32R2): New.
62236         (EF_MIPS_ARCH_64R2): New.
62238 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
62240         * Makeconfig (+link-pie-before-libc): New.
62241         (+link-pie-after-libc): Likewise.
62242         (+link-pie-tests): Likewise.
62243         (+link-pie): Rewritten.
62244         (link-before-libc): Remove $(config-LDFLAGS).
62245         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
62246         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
62247         (config-LDFLAGS): Renamed to ...
62248         (rtld-LDFLAGS): This.
62249         (rtld-tests-LDFLAGS): New macro.
62250         (link-libc-rpath-link): Likewise.
62251         (link-libc-tests-rpath-link): Likewise.
62252         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
62253         (link-libc): Prepand $(link-libc-rpath-link).
62254         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
62255         (test-program-prefix): New macro.
62256         (test-via-rtld-prefix): Likewise.
62257         (test-program-cmd): Likewise.
62258         (host-test-program-cmd): Likewise.
62259         * Makefile ($(common-objpfx)testrun.sh): Replace
62260         $(run-program-prefix) with $(test-program-prefix).
62261         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
62262         $(rtld-LDFLAGS).
62263         ($(common-objpfx)shlib.lds): Likewise.
62264         (build-module-helper): Likewise.
62265         ($(common-objpfx)format.lds): Likewise.
62266         * Rules (binaries-pie-tests): New.
62267         (binaries-pie-notests): Likewise.
62268         (binaries-pie): Rewritten.
62269         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
62270         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
62271         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
62272         (make-test-out): Replace $(host-built-program-cmd) with
62273         $(host-test-program-cmd).
62274         * config.make.in (build-hardcoded-path-in-tests): New variable.
62275         * configure.in (--enable-hardcoded-path-in-tests): New configure
62276         option.
62277         (hardcoded_path_in_tests): New AC_SUBST.
62278         * configure: Regenerated.
62279         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
62280         $(built-program-cmd) with $(test-program-cmd).
62281         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
62282         (test_program_cmd): This.
62283         * elf/Makefile ($(objpfx)order.out): Run test with
62284         $(test-program-prefix).
62285         ($(objpfx)order2.out): Likewise.
62286         ($(objpfx)tst-initorder.out): Likewise.
62287         ($(objpfx)tst-initorder2.out): Likewise.
62288         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
62289         $(test-program-cmd).
62290         ($(objpfx)tst-array1-static.out): Likewise.
62291         ($(objpfx)tst-array2.out): Likewise.
62292         ($(objpfx)tst-array3.out): Likewise.
62293         ($(objpfx)tst-array4.out): Likewise.
62294         ($(objpfx)tst-array5.out): Likewise.
62295         ($(objpfx)tst-array5-static.out): Likewise.
62296         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
62297         $(test-program-cmd).
62298         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
62299         $(run-program-prefix) with $(test-program-prefix).
62300         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
62301         (test_program_prefix): This.
62302         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
62303         $(run-program-prefix) with $(test-program-prefix).
62304         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
62305         (test_program_prefix): This.
62306         * iconvdata/tst-tables.sh: Likewise.
62307         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62308         $(run-program-prefix) with $(test-program-prefix).
62309         ($(objpfx)tst-translit.out): Likewise.
62310         ($(objpfx)tst-gettext2.out): Likewise.
62311         ($(objpfx)tst-gettext4.out): Likewise.
62312         ($(objpfx)tst-gettext6.out): Likewise.
62313         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62314         (test_program_prefix): This.
62315         * intl/tst-gettext2.sh: Likewise.
62316         * intl/tst-gettext4.sh  Likewise.
62317         * intl/tst-gettext6.sh: Likewise.
62318         * intl/tst-translit.sh: Likewise.
62319         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62320         with $(test-program-cmd).
62321         * libio/Makefile ($(objpfx)test-freopen.out): Replace
62322         $(run-program-prefix) with $(test-program-prefix).
62323         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62324         (test_program_prefix): This.
62325         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62326         $(run-program-prefix) with $(test-program-prefix).
62327         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62328         (test_program_prefix): This.
62329         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62330         * posix/Makefile ($(objpfx)globtest.out): Replace
62331         $(run-via-rtld-prefix) and $(test-wrapper) with
62332         $(test-program-prefix) and $(test-via-rtld-prefix).
62333         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62334         $(test-program-prefix).
62335         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62336         $(host-test-program-cmd).
62337         (tst-spawn-ARGS): Likewise.
62338         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62339         $(test-program-prefix).
62340         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62341         (test_via_rtld_prefix): This.
62342         (test_wrapper): Renamed to ...
62343         (test_program_prefix): This.
62344         (run_program_prefix): Replaced by test_program_prefix.
62345         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62346         (test_program_prefix): This.
62347         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62348         with $(host-test-program-cmd).
62349         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62350         $(run-program-prefix) with $(test-program-prefix).
62351         ($(objpfx)tst-printf.out): Likewise.
62352         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62353         $(test-program-cmd).
62354         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62355         (test_program_prefix): This.
62356         * stdio-common/tst-unbputc.sh: Likewise.
62357         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62358         $(run-program-prefix) with $(test-program-prefix).
62359         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62360         (test_program_prefix): This.
62361         * string/Makefile ($(objpfx)tst-svc.out):  Replace
62362         $(built-program-cmd) with $(test-program-cmd).
62364 2013-01-11  Andreas Jaeger  <aj@suse.de>
62366         [BZ #15003]
62367         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62368         value. Sync with Linux 3.7.
62370 2013-01-10  David S. Miller  <davem@davemloft.net>
62372         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62373         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62374         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62376 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62378         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62379         never set.
62380         * configure: Regenerated.
62382 2013-01-10  David S. Miller  <davem@davemloft.net>
62384         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62385         sparc V9 rather than using V8 code.
62386         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62387         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62389 2013-01-10  Roland McGrath  <roland@hack.frob.com>
62391         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62392         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62393         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62394         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62395         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62396         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62397         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62398         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62399         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62400         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62401         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62402         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62403         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62404         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62405         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62406         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62407         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62408         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62409         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62410         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62411         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62412         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62413         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62414         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62415         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62416         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62417         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62419 2013-01-10  David S. Miller  <davem@davemloft.net>
62421         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62423 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62425         * posix/Makefile (tests-static): New variable.
62426         (tests): Add $(tests-static).
62427         (tst-exec-static-ARGS): New variable.
62428         (tst-spawn-static-ARGS): Likewise.
62429         * posix/tst-exec-static.c: New file.
62430         * posix/tst-spawn-static.c: Likewise.
62431         * posix/tst-exec.c: Support run directly.
62432         * posix/tst-spawn.c: Likewise.
62434 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
62436         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62437         long.
62438         * math/bits/mathcalls.h (llrint): Likewise.
62439         (llround): Likewise.
62440         * stdlib/stdlib.h (struct drand48_data): Likewise.
62441         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62442         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62443         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62444         Likewise.
62445         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62446         Likewise.
62447         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62448         (elf_greg_t): Likewise.
62449         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62450         (__jmp_buf): Likewise.
62451         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62452         definitions.
62453         (llrint): Likewise, for all definitions.
62454         (llrintl): Likewise.
62456         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62457         Remove [__GNUC__] condition.
62458         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62459         condition to just [__USE_ISOC99].
62460         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62462 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
62464         [BZ #14200]
62465         * sysdeps/unix/sysv/linux/x86/bits/environments.h
62466         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62467         defined.
62468         (_POSIX_V6_ILP32_OFF32): Likewise.
62469         (_XBS5_ILP32_OFF32): Likewise.
62470         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62471         (__ILP32_OFFBIG_LDFLAGS): Likewise.
62473 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62475         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62477         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62478         doubles __mpexp_twomm1.  Adjust usage.
62479         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62480         Remove.
62482 2013-01-10  Andreas Schwab  <schwab@suse.de>
62484         [BZ #14964]
62485         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62486         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62488 2013-01-09  David S. Miller  <davem@davemloft.net>
62490         [BZ #15003]
62491         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62492         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62493         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62494         (TCP_FASTOPEN): Define.
62495         (tcp_repair_opt): New structure.
62496         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62497         enum values.
62498         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62499         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62500         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62501         (tcp_cookie_transactions): New structure.
62503 2013-01-09  Anton Blanchard  <anton@samba.org>
62505         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62506         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62507         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62508         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62510 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
62512         * include/features.h (__USE_ANSI): Remove.
62514 2013-01-09  Roland McGrath  <roland@hack.frob.com>
62516         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62518         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62520 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
62522         * sysdeps/s390/fpu/libm-test-ulps: Update.
62524         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62526         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62527         (__acr): Likewise.
62528         (__cpy): Likewise.
62529         (norm): Likewise.
62530         (denorm): Likewise.
62531         (__mp_dbl): Likewise.
62532         (__dbl_mp): Likewise.
62533         (add_magnitudes): Likewise.
62534         (sub_magnitudes): Likewise.
62535         (__add): Likewise.
62536         (__sub): Likewise.
62537         (__mul): Likewise.
62538         (__inv): Likewise.
62539         (__dvd): Likewise.
62540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62541         (__acr): Likewise.
62542         (__cpy): Likewise.
62543         (norm): Likewise.
62544         (denorm): Likewise.
62545         (__mp_dbl): Likewise.
62546         (__dbl_mp): Likewise.
62547         (add_magnitudes): Likewise.
62548         (sub_magnitudes): Likewise.
62549         (__add): Likewise.
62550         (__sub): Likewise.
62551         (__mul): Likewise.
62552         (__inv): Likewise.
62553         (__dvd): Likewise.
62554         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62555         (__acr): Likewise.
62556         (__cpy): Likewise.
62557         (norm): Likewise.
62558         (denorm): Likewise.
62559         (__mp_dbl): Likewise.
62560         (__dbl_mp): Likewise.
62561         (add_magnitudes): Likewise.
62562         (sub_magnitudes): Likewise.
62563         (__add): Likewise.
62564         (__sub): Likewise.
62565         (__mul): Likewise.
62566         (__inv): Likewise.
62567         (__dvd): Likewise.
62569 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
62571         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62572         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62573         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62574         2 && __USE_EXTERN_INLINES]: Likewise.
62576 2013-01-08  Andreas Jaeger  <aj@suse.de>
62578         [BZ# 14985]
62579         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62580         Remove.
62581         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62582         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62584 2013-01-07  Anton Blanchard  <anton@samba.org>
62586         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62587         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62588         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62589         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62590         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62591         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62592         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62593         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62594         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62595         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62596         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62597         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62598         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62599         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62600         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62601         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62602         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62603         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62604         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62605         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62606         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62607         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62608         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62609         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62610         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62611         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62612         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62613         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62614         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62615         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62616         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62617         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62618         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62619         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62620         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62621         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62622         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62623         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62624         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62625         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62626         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62627         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62628         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62630 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
62632         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62633         (__MALLOC_PMT): Likewise.
62634         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62635         [__GNUC__], only on [_LIBC].
62636         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62637         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62638         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62639         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62640         forward declaration.
62641         (realloc_hook_ini): Likewise.
62642         (memalign_hook_ini): Likewise.
62643         (__libc_memalign): Do not use __MALLOC_PMT in variable
62644         declaration.
62645         (__libc_valloc): Likewise.
62646         (__libc_pvalloc): Likewise.
62647         (__libc_calloc): Likewise.
62648         (__posix_memalign): Likewise.
62650         [BZ #14996]
62651         * math/s_casinh.c: Include <float.h>.
62652         (__casinh): Do not do computation with squaring and square root
62653         for large arguments.
62654         * math/s_casinhf.c: Include <float.h>.
62655         (__casinhf): Do not do computation with squaring and square root
62656         for large arguments.
62657         * math/s_casinhl.c: Include <float.h>.
62658         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62659         (__casinhl): Do not do computation with squaring and square root
62660         for large arguments.
62661         * math/libm-test.inc (casin_test): Add more tests.
62662         (casinh_test): Likewise.
62663         * sysdeps/i386/fpu/libm-test-ulps: Update.
62664         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62666 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
62668         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62669         (__x86_64_raw_data_cache_size): Likewise.
62670         (__x86_64_data_cache_size_half): Likewise.
62671         (__x86_64_raw_data_cache_size_half): Likewise.
62672         (__x86_64_shared_cache_size): Likewise.
62673         (__x86_64_raw_shared_cache_size): Likewise.
62674         (__x86_64_shared_cache_size_half): Likewise.
62675         (__x86_64_raw_shared_cache_size_half): Likewise.
62676         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62677         to ...
62678         (__x86_data_cache_size): This.
62679         (__x86_64_raw_data_cache_size): Renamed to ...
62680         (__x86_raw_data_cache_size): This.
62681         (__x86_64_data_cache_size_half): Renamed to ...
62682         (__x86_data_cache_size_half): This.
62683         (__x86_64_raw_data_cache_size_half): Renamed to ...
62684         (__x86_raw_data_cache_size_half): This.
62685         (__x86_64_shared_cache_size): Renamed to ...
62686         (__x86_shared_cache_size): This.
62687         (__x86_64_raw_shared_cache_size): Renamed to ...
62688         (__x86_raw_shared_cache_size): This.
62689         (__x86_64_shared_cache_size_half): Renamed to ...
62690         (__x86_shared_cache_size_half): This.
62691         (__x86_64_raw_shared_cache_size_half): Renamed to ...
62692         (__x86_raw_shared_cache_size_half): This.
62693         * sysdeps/x86_64/memcpy.S: Updated.
62694         * sysdeps/x86_64/memset.S: Likewise.
62695         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62696         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62697         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62699 2013-01-04  David S. Miller  <davem@davemloft.net>
62701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62703 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
62705         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62706         1 to avoid redefinition warning.
62707         (__USE_GNU): Don't define.
62708         (init_signaling_nan): Protoize.
62710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62712 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62714         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62715         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62716         (__cpymn): Likewise.
62717         (norm): Remove commented code.
62718         (denorm): Likewise.
62719         (__mp_dbl): Likewise.
62720         (__inv): Likewise.
62721         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62722         (__cpymn): Likewise.
62723         (norm): Remove commented code.
62724         (denorm): Likewise.
62725         (__mp_dbl): Likewise.
62726         (__inv): Likewise.
62728         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62729         mp_no value for 1.0 and 2.0.
62730         (norm): Use RADIXI instead of radixi.d.
62731         (denorm): Likewise.
62732         (__mul): Use 0.0 instead of zero.d.
62733         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62734         mp_no value for 1.0 and 2.0.
62735         (norm): Use RADIXI instead of radixi.d.
62736         (denorm): Likewise.
62737         (__mul): Use 0.0 instead of zero.d.
62739 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
62741         [BZ #14994]
62742         * math/s_casinh.c (__casinh): Reduce finite argument to first
62743         quadrant then set signs of results at the end.
62744         * math/s_casinhf.c (__casinhf): Likewise.
62745         * math/s_casinhl.c (__casinhl): Likewise.
62746         * math/libm-test.inc (casin_test): Add more tests.
62747         (casinh_test): Likewise.
62748         * sysdeps/i386/fpu/libm-test-ulps: Update.
62749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62751 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62753         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62755         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62757         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62758         declarations.
62759         (denorm): Likewise.
62760         (__mp_dbl): Likewise.
62761         (__inv): Likewise.
62763         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62764         and adjust the header comment.
62766         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62767         variable name from declaration.
62769 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
62771         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62772         Initialize COMMON_CPUID_INDEX_7 element.
62773         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62774         (CPUID_RTM): Likewise.
62775         (HAS_RTM): Likewise.
62776         (COMMON_CPUID_INDEX_7): New enum.
62778 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
62780         [BZ #14981]
62781         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62782         size is zero, record memory as freed.
62784 2013-01-03  Andreas Jaeger  <aj@suse.de>
62786         * po/ia.po: Add new Interlingua translation.
62788 2012-01-03  Allan McRae  <allan@archlinux.org>
62790         * locale/programs/localedef.c: Fix description of '--posix' flag.
62792 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
62794         * NEWS: Update dates in second copyright notice.
62795         * README: Update copyright dates in example.
62796         * manual/libc.texinfo: Update copyright dates.
62797         * scripts/test-installation.pl: Update copyright date in --version
62798         output.
62800         * hurd/ctty-input.c: Fix copyright notice formatting.
62801         * hurd/ctty-output.c: Likewise.
62802         * hurd/dtable.c: Likewise.
62803         * hurd/hurd-raise.c: Likewise.
62804         * hurd/hurdprio.c: Likewise.
62805         * hurd/msgportdemux.c: Likewise.
62806         * misc/sys/file.h: Likewise.
62807         * misc/sys/ioctl.h: Likewise.
62808         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62809         * sysdeps/mach/hurd/chdir.c: Likewise.
62810         * sysdeps/mach/hurd/fchdir.c: Likewise.
62811         * sysdeps/mach/hurd/rename.c: Likewise.
62812         * sysdeps/mach/hurd/rmdir.c: Likewise.
62813         * sysdeps/mach/hurd/seekdir.c: Likewise.
62814         * sysdeps/mach/hurd/setsid.c: Likewise.
62815         * sysdeps/posix/wait3.c: Likewise.
62817         * All files with FSF copyright notices: Update copyright dates
62818         using scripts/update-copyrights.
62819         * intl/plural.c: Regenerated.
62820         * locale/programs/charmap-kw.h: Likewise.
62821         * locale/programs/locfile-kw.h: Likewise.
62823 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
62825         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62826         four values.
62828         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62829         calculation loop and add branch prediction.
62831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62832         check access beyond bounds of m1np.
62834         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62835         MPTWO.
62836         (__inv): Remove local variable MPTWO to use the global
62837         constant.
62838         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62839         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62840         variable MPTWO.
62841         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62842         MP3HALFS static const.
62844 2013-01-01  David S. Miller  <davem@davemloft.net>
62846         * po/ca.po: Update from translation team.
62848 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
62850         * scripts/update-copyrights: New file.
62851         * Makeconfig: Reformat copyright notice.
62852         * ctype/ctype.h: Likewise.
62853         * debug/swprintf_chk.c: Likewise.
62854         * elf/dl-cache.c: Likewise.
62855         * elf/dl-debug.c: Likewise.
62856         * elf/dl-object.c: Likewise.
62857         * grp/initgroups.c: Likewise.
62858         * hurd/Makefile: Likewise.
62859         * hurd/hurd/signal.h: Likewise.
62860         * hurd/hurdfault.c: Likewise.
62861         * hurd/hurdioctl.c: Likewise.
62862         * hurd/hurdlookup.c: Likewise.
62863         * hurd/intr-msg.c: Likewise.
62864         * iconv/gconv_open.c: Likewise.
62865         * libio/swprintf.c: Likewise.
62866         * locale/lc-ctype.c: Likewise.
62867         * locale/nl_langinfo.c: Likewise.
62868         * mach/Machrules: Likewise.
62869         * mach/Makefile: Likewise.
62870         * malloc/obstack.h: Likewise.
62871         * manual/Makefile: Likewise.
62872         * manual/tsort.awk: Likewise.
62873         * misc/bits/stab.def: Likewise.
62874         * nis/nis_print_group_entry.c: Likewise.
62875         * nis/nis_table.c: Likewise.
62876         * nis/nss_compat/compat-pwd.c: Likewise.
62877         * nis/nss_compat/compat-spwd.c: Likewise.
62878         * po/Makefile: Likewise.
62879         * posix/fnmatch.c: Likewise.
62880         * posix/regex.h: Likewise.
62881         * resolv/Makefile: Likewise.
62882         * resolv/nss_dns/dns-network.c: Likewise.
62883         * resolv/res_hconf.c: Likewise.
62884         * scripts/gen-sorted.awk: Likewise.
62885         * soft-fp/soft-fp.h: Likewise.
62886         * stdio-common/printf.h: Likewise.
62887         * stdlib/monetary.h: Likewise.
62888         * stdlib/random.c: Likewise.
62889         * stdlib/random_r.c: Likewise.
62890         * sysdeps/generic/Makefile: Likewise.
62891         * sysdeps/gnu/Makefile: Likewise.
62892         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62893         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62894         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62895         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62896         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62897         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62898         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62899         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62900         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62901         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62902         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62903         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62904         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62905         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62906         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62907         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62908         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62909         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62910         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62911         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62912         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62913         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62914         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62915         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62916         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62917         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62918         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62920         * sysdeps/mach/hurd/errnos.awk: Likewise.
62921         * sysdeps/mach/hurd/fork.c: Likewise.
62922         * sysdeps/mach/hurd/getcwd.c: Likewise.
62923         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62924         * sysdeps/mach/hurd/mmap.c: Likewise.
62925         * sysdeps/mach/hurd/utimes.c: Likewise.
62926         * sysdeps/mach/hurd/xmknod.c: Likewise.
62927         * sysdeps/posix/profil.c: Likewise.
62928         * sysdeps/posix/readdir_r.c: Likewise.
62929         * sysdeps/powerpc/bits/mathdef.h: Likewise.
62930         * sysdeps/powerpc/bits/setjmp.h: Likewise.
62931         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62932         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62933         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62934         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62935         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62936         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62937         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62938         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62939         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62940         * sysdeps/pthread/lio_listio.c: Likewise.
62941         * sysdeps/sparc/dl-procinfo.h: Likewise.
62942         * sysdeps/unix/i386/sysdep.S: Likewise.
62943         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62944         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62945         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62946         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62948         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62949         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62950         * sysdeps/unix/sysv/linux/speed.c: Likewise.
62951         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62952         * sysdeps/wordsize-32/divdi3.c: Likewise.
62953         * time/sys/time.h: Likewise.
62954         * wcsmbs/Makefile: Likewise.
62956 2013-01-01  David S. Miller  <davem@davemloft.net>
62958         * po/fr.po: Update from translation team.
62960         * catgets/gencat.c: Update copyright year.
62961         * csu/version.c: Likewise.
62962         * debug/catchsegv.sh: Likewise.
62963         * debug/pcprofiledump.c: Likewise.
62964         * debug/xtrace.sh: Likewise.
62965         * elf/ldconfig.c: Likewise.
62966         * elf/ldd.bash.in: Likewise.
62967         * elf/pldd.c: Likewise.
62968         * elf/sotruss.ksh: Likewise.
62969         * elf/sprof.c: Likewise.
62970         * iconv/iconv_prog.c: Likewise.
62971         * iconv/iconvconfig.c: Likewise.
62972         * locale/programs/locale.c: Likewise.
62973         * locale/programs/localedef.c: Likewise.
62974         * login/programs/pt_chown.c: Likewise.
62975         * malloc/memusage.sh: Likewise.
62976         * malloc/memusagestat.c: Likewise.
62977         * malloc/mtrace.pl: Likewise.
62978         * nscd/nscd.c: Likewise.
62979         * nss/getent.c: Likewise.
62980         * nss/makedb.c: Likewise.
62981         * posix/getconf.c: Likewise.
62983 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
62985         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62986         numbers.
62988 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
62990         * math/bits/mathcalls.h (modf): Use __nonnull.
62992 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62994         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62995         (split): Use macro CN instead of the bare value.
62996         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62997         could be used.
62998         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62999         instead of the bare value.
63000         (power1): Likewise.
63002 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63004         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
63005         __ATAN_TWOM.
63006         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63008         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
63009         their values.
63010         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
63011         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
63012         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
63013         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
63015 2012-12-28  Andreas Jaeger  <aj@suse.de>
63017         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
63018         values are from Linux 3.7.
63020         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
63021         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
63023 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63025         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
63026         TRUE case.
63028         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
63029         (norm): Likewise.
63030         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
63031         variables with preprocessor constants.
63032         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
63033         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
63034         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
63036 2012-12-27  Bruno Haible  <bruno@clisp.org>
63038         [BZ #14317]
63039         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
63040         only if needed.
63042 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63044         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
63045         and use variable directly.
63046         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
63048         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
63049         MPONE.
63050         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
63051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
63052         variable MPONE.
63053         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
63054         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
63055         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
63056         include directive.  Remove local variable MPONE.
63057         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
63058         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
63059         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
63061 2012-12-25  David S. Miller  <davem@davemloft.net>
63063         * version.h (RELEASE): Set to "development".
63064         (VERSION): Set to "2.17.90".
63065         * NEWS: Add 2.18 section.
63067 2012-12-21  David S. Miller  <davem@davemloft.net>
63069         * po/hr.po: Update from translation team.
63071 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63073         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
63075 2012-12-19  Steve Ellcey  <sellcey@mips.com>
63077         * NEWS:  Mention new memcpy for MIPS.
63079 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63081         * manual/contrib.texi (Contributors): Spelling correction.
63083 2012-12-15  David S. Miller  <davem@davemloft.net>
63085         * po/ru.po: Update from translation team.
63087 2012-12-13  David S. Miller  <davem@davemloft.net>
63089         * NEWS: Mention IFUNC testsuite enhancements.
63091         * po/pl.po: Update from translation team.
63092         * po/bg.po: Likewise.
63094         * manual/contrib.texi (Contributors): Update entries for Hongjiu
63095         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
63097 2012-12-11  David S. Miller  <davem@davemloft.net>
63099         * po/sv.po: Update from translation team.
63101         * po/vi.po: Update from translation team.
63103         * po/cs.po: Update from translation team.
63105         * po/de.po: Update from translation team.
63106         * po/eo.po: Likewise.
63107         * po/nl.po: Likewise.
63109 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
63111         [BZ #14246]
63112         * manual/argp.texi (Argp Helper Functions): Move node to follow
63113         Argp Parsing State.
63115         [BZ #14872]
63116         * manual/conf.texi (Limits on File System Capacity): Mention if
63117         terminating null is included in the max size.
63119 2012-12-10  Andreas Jaeger  <aj@suse.de>
63121         * po/cs.po: Update from translation team.
63123 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
63125         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63126         void pointer and cast to uintptr_t.
63127         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63128         path.
63129         * sysdeps/s390/s390-64/memcpy.S: Likewise.
63130         * sysdeps/s390/s390-64/memset.S: Likewise.
63132 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
63134         [BZ #14833]
63135         * menual/message.texi (Message Translation): Fix typos.
63136         (Helper programs for gettext): Likewise.
63138 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
63140         [BZ #14898]
63141         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
63142         Change to -1.
63144 2012-12-07  David S. Miller  <davem@davemloft.net>
63146         * po/libc.pot: Update.
63148 2012-12-07  Richard Henderson  <rth@redhat.com>
63150         [BZ #10114]
63151         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
63152         normal/normal case to before the switch.
63153         (_FP_DIV): Likewise.
63155 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
63156             Mike Frysinger  <vapier@gentoo.org>
63158         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
63159         check for __NR_fadvise64_64.
63161 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
63163         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
63164         0, not just to plain "0" as a statement.
63165         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
63166         with cw.
63168 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
63170         * NEWS: Use sourceware.org in Bugzilla URL.
63172 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63175         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63177         * stdio-common/tst-put-error.c (do_test): Add newline to the
63178         padded test to ensure flush.
63180 2012-12-05  Jeff Law  <law@redhat.com>
63182         * sunrpc/etc.rpc (fedfs_admin): Add entry.
63184 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
63186         * README: Don't refer to ports add-on as distributed separately.
63187         Mention AArch64 in list of systems supported in the ports add-on.
63189         * LICENSES: Add more non-FSF copyright and license notices.
63191         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
63192         ((unused)).
63194         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
63196         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
63197         10000 as width of padded output.
63199 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
63201         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
63203         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
63204         variable LX with __attribute__ ((unused)).
63205         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63206         Likewise.
63207         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63208         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63209         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
63210         with __attribute__ ((unused)).
63212 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
63214         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
63216 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
63218         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
63219         (CFLAGS-nldbl-acos.c): New variable.
63220         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
63221         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
63222         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
63223         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
63224         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
63225         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
63226         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
63227         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
63228         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
63229         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
63230         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
63231         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
63232         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
63233         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
63234         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
63235         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
63236         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
63237         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
63238         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
63239         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
63240         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
63241         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
63242         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
63243         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
63244         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
63245         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
63246         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
63247         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
63248         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
63249         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
63250         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
63251         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
63252         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
63253         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
63254         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
63255         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
63256         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
63257         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
63258         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
63259         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
63260         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
63261         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
63262         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
63263         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
63264         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
63265         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
63266         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
63267         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
63268         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
63269         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
63270         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
63271         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
63272         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
63273         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
63274         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
63275         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
63276         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
63277         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
63278         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
63279         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
63280         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
63281         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
63282         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
63283         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
63284         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
63285         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
63286         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
63287         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
63288         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
63289         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
63290         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
63291         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
63292         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
63293         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
63294         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
63295         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
63296         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
63297         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
63298         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
63299         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
63300         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
63301         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
63302         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
63303         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
63304         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
63305         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
63306         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
63307         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63308         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63309         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63310         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63311         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63312         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63313         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63314         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63315         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63316         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63319         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63321         [BZ #14914]
63322         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63323         whole low double instead of just low 47 bits when splitting values
63324         into two parts.
63326 2012-12-03  Allan McRae  <allan@archlinux.org>
63328         * manual/stdio.texi (Predefined Printf Handlers): Remove
63329         @hsep and @vsep usage.
63331 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
63333         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63334         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63336 2012-12-03  Jeff Law  <law@redhat.com>
63338         * time/sys/time.h (settimeofday): Do not mark TV argument
63339         as __nonnull.
63341 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
63343         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63344         when currently writing and seek to current position when not.
63345         * libio/Makefile (tests): Remove bug-fclose1.
63346         * libio/bug-fclose1.c: Delete.
63348 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
63350         * manual/arith.texi (feenableexcept): Fix typo.
63351         (fedisableexcept): Likewise.
63353 2012-11-30  Roland McGrath  <roland@hack.frob.com>
63355         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63356         second, differently-typed declaration, rather than a cast.
63358 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
63360         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63361         * include/rpc/svc.h: ... here.
63363 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
63365         [BZ #13013]
63366         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63367         depending n and resplen2 to catch cases where answer
63368         equals answerp2.
63370 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
63372         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63373         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63375 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
63377         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63379 2012-11-29  Roland McGrath  <roland@hack.frob.com>
63381         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63383 2012-11-28  Jeff Law  <law@redhat.com>
63385         [BZ #13761]
63386         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63387         dataset_temporary.  Track alloca usage into alloca_used.
63388         If dataset is large allocate and release it via malloc/free.
63390 2012-06-04  Florian Weimer  <fweimer@redhat.com>
63392         [BZ #14197]
63393         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63395 2012-11-28  David S. Miller  <davem@davemloft.net>
63397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63399 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63401         [BZ #14803]
63402         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63403         of pi/2 rounded to nearest to 64 bits.
63404         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63405         nearest to 64 bits.
63406         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63407         bits.
63409 2012-11-28  Jeff Law <law@redhat.com>
63410             Martin Osvald <mosvald@redhat.com>
63412         [BZ #14889]
63413         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63414         * sunrpc/svc.c: Include time.h.
63415         (__svc_accept_failed): New function.
63416         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63417         any reason other than EINTR, call __svc_accept_failed.
63418         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63419         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63421 2012-11-28  Andreas Schwab  <schwab@suse.de>
63423         * scripts/abilist.awk: Also handle indirect functions in .opd
63424         section.
63426 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
63428         [BZ #13881]
63429         * sysdeps/x86/fpu/powl_helper.c: New file.
63430         * sysdeps/x86/fpu/Makefile: Likewise.
63431         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63432         (p3): New object.
63433         (__ieee754_powl): Use __powl_helper for finite arguments except
63434         integer exponents below 8.
63435         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63436         (p3): New object.
63437         (__ieee754_powl): Use __powl_helper for finite arguments except
63438         integer exponents below 8.
63439         * math/libm-test.inc (pow_test): Add more tests and enable some
63440         previously disabled tests.
63441         * sysdeps/i386/fpu/libm-test-ulps: Update.
63442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63444 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63445             Carlos O'Donell  <carlos_odonell@mentor.com>
63447         * nss/makedb.c (is_prime): Assert that input is odd and greater
63448         than 4.  Note that fact in a comment too.
63449         (next_prime): Add 4 to input.
63451 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
63453         [BZ #11741]
63454         * libio/Makefile (tests): Add test case tst-fwrite-error.
63455         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63456         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63457         * libio/tst-fwrite-error.c: New test case.
63459 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
63461         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63462         before casting to void *.
63463         * include/libc-internal.h (__pointer_type): New macro.
63464         (__integer_if_pointer_type_sub): Likewise.
63465         (__integer_if_pointer_type): Likewise.
63466         (cast_to_integer): Likewise.
63467         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63468         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63469         before casting to atomic64_t.
63470         (atomic_exchange_acq): Likewise.
63471         (__arch_exchange_and_add_body): Likewise.
63472         (__arch_add_body): Likewise.
63473         (atomic_add_negative): Likewise.
63474         (atomic_add_zero): Likewise.
63476 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
63478         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63479         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63480         (add_fdes): Likewise.
63481         (linear_search_fdes): Likewise.
63482         (binary_search_unencoded_fdes): Likewise.
63484 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
63486         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63488 2012-11-24  Adam Conrad  <adconrad@0c3.net>
63490         * configure.in: Autodetect C++ header directories.
63491         * configure: Regenerated.
63493 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
63495         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63497 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
63499         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63501 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
63503         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63504         LDBL_MANT_DIG == 106]: Disable some tests.
63505         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63506         Likewise.
63507         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63508         Likewise.
63510         [BZ #14871]
63511         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63512         input for small inputs.  Return +/- pi/2 for large inputs.
63513         * math/libm-test.inc (atan_test): Add more tests.
63515         * sysdeps/generic/unwind-dw2-fde-glibc.c
63516         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63517         __attribute__ ((unused)).
63519         [BZ #14645]
63520         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63521         x * y if x and y are nonzero and z is zero.
63523         [BZ #14811]
63524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63525         nonzero exponents with absolute value below 0x1p-117 to +/-
63526         0x1p-117.
63528         [BZ #14869]
63529         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63530         up arguments below 2**-450, not just those below 2**-500.
63531         * math/libm-test.inc (hypot_test): Add another test.
63533         [BZ #14868]
63534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63535         Return a+b for ratio over 2**120, not 2**60.
63536         * math/libm-test.inc (hypot_test): Add another test.
63538         * math/libm-test.inc (clog_test): Use
63539         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63540         (clog10_test): Likewise.
63542         [BZ #6778]
63543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63545 2012-11-22  Andreas Schwab  <schwab@suse.de>
63547         * sysdeps/i386/fpu/libm-test-ulps: Update.
63549 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
63551         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63552         printf output with newline.
63554 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
63556         [BZ #14865]
63557         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63558         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63559         -z nodlopen, -z initfirst and -z execstack support.
63560         * configure: Regenerated.
63562         * elf/elf.h (DF_1_NODIRECT): New macro.
63563         (DF_1_IGNMULDEF): Likewise.
63564         (DF_1_NOKSYMS): Likewise.
63565         (DF_1_NOHDR): Likewise.
63566         (DF_1_EDITED): Likewise.
63567         (DF_1_NORELOC): Likewise.
63568         (DF_1_SYMINTPOSE): Likewise.
63569         (DF_1_GLOBAUDIT): Likewise.
63570         (DF_1_SINGLETON): Likewise.
63571         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63572         DT_1_SUPPORTED_MASK bits.
63573         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63575 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
63577         * sysdeps/unix/make-syscalls.sh: Document prefixes.
63579 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
63581         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63582         macro.
63584         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63585         (sendmmsg): Move declarations...
63586         * socket/sys/socket.h: ... here.
63587         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63588         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63589         include it from...
63590         * socket/recvmmsg.c: ... this new file.
63591         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63592         (sendmmsg): Rename to __sendmmsg, create weak alias and make
63593         definition of __sendmmsg hidden.
63594         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63595         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63596         Move ENOSYS stub into and include it from...
63597         * socket/sendmmsg.c: ... this new file.
63598         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63599         (sysdep_routines): Move recvmmsg and sendmmsg...
63600         * socket/Makefile (routines): ... here.
63601         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63602         (GLIBC_PRIVATE): Add __sendmmsg.
63603         * include/sys/socket.h (__sendmmsg): Add declarations.
63604         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63605         sendmmsg.
63607 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
63609         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63610         variable I1 with __attribute__ ((unused)).
63611         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63613 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63615         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63616         DUMMY variables with __attribute__ ((unused)).
63618         * bits/byteswap.h: Include <bits/types.h>.
63619         (__bswap_64): Use __uint64_t instead of unsigned long long int.
63621 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63623         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63624         string_t.  Do not manually set errno.
63625         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63626         length with __strnlen.  Make sure to both set errno and return it on
63627         failure.
63629 2012-11-19  David S. Miller  <davem@davemloft.net>
63631         With help from Joseph Myers.
63632         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63633         very large arguments properly.
63634         * math/libm-test.inc (atan_test): New tests.
63635         (atan2_test): New tests.
63636         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63637         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63639 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
63641         [BZ #14856]
63642         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63643         Define to 3.
63645         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63646         [POSIX] (EADDRNOTAVAIL): Likewise.
63647         [POSIX] (EAFNOSUPPORT): Likewise.
63648         [POSIX] (EALREADY): Likewise.
63649         [POSIX] (ECONNABORTED): Likewise.
63650         [POSIX] (ECONNREFUSED): Likewise.
63651         [POSIX] (ECONNRESET): Likewise.
63652         [POSIX] (EDESTADDRREQ): Likewise.
63653         [POSIX] (EDQUOT): Likewise.
63654         [POSIX] (EHOSTUNREACH): Likewise.
63655         [POSIX] (EIDRM): Likewise.
63656         [POSIX] (EISCONN): Likewise.
63657         [POSIX] (ELOOP): Likewise.
63658         [POSIX] (EMULTIHOP): Likewise.
63659         [POSIX] (ENETDOWN): Likewise.
63660         [POSIX] (ENETUNREACH): Likewise.
63661         [POSIX] (ENOBUFS): Likewise.
63662         [POSIX] (ENODATA): Likewise.
63663         [POSIX] (ENOLINK): Likewise.
63664         [POSIX] (ENOMSG): Likewise.
63665         [POSIX] (ENOPROTOOPT): Likewise.
63666         [POSIX] (ENOSR): Likewise.
63667         [POSIX] (ENOSTR): Likewise.
63668         [POSIX] (ENOTCONN): Likewise.
63669         [POSIX] (ENOTSOCK): Likewise.
63670         [POSIX] (EOPNOTSUPP): Likewise.
63671         [POSIX] (EOVERFLOW): Likewise.
63672         [POSIX] (EPROTO): Likewise.
63673         [POSIX] (EPROTONOSUPPORT): Likewise.
63674         [POSIX] (EPROTOTYPE): Likewise.
63675         [POSIX] (ESTALE): Likewise.
63676         [POSIX] (ETIME): Likewise.
63677         [POSIX] (ETXTBSY): Likewise.
63678         [POSIX] (EWOULDBLOCK): Likewise.
63679         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63680         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63681         [POSIX] (SEEK_CUR): Likewise.
63682         [POSIX] (SEEK_END): Likewise.
63683         [POSIX || UNIX98] (mode_t): Do not require.
63684         [POSIX] (off_t): Likewise.
63685         [POSIX] (pid_t): Likewise.
63686         [POSIX] (sys/stat.h): Do not allow header.
63687         [POSIX] (unistd.h): Likewise.
63688         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63689         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63690         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63691         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63692         require.
63693         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63694         sigevent): Specify elements.
63695         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63696         entry.
63697         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63698         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63700         * conform/data/cpio.h-data [POSIX]: Disable whole file.
63701         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63702         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63703         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63704         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63705         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63706         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63707         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63708         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63709         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63710         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63711         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63712         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63713         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63714         Likewise.
63715         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63716         Likewise.
63717         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63718         Likewise.
63719         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63720         Likewise.
63721         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63722         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63723         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63724         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63725         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63726         Specify lower bound on value.
63727         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63728         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63729         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63730         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63731         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63732         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63733         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63734         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63735         value.
63736         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63737         as optional.
63738         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63739         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63740         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63741         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63742         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63743         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63744         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63745         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63746         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63747         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63748         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63749         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63750         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63751         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63752         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63753         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63754         entry.
63755         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63756         optional.
63757         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63758         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63759         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63760         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63761         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63762         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63763         Likewise.
63764         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63765         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63766         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63767         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63768         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
63769         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63770         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63771         as optional.
63772         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63773         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63774         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63775         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63776         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63777         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63778         specify as optional.
63779         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63780         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63781         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63782         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63783         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63784         [XPG3] (NL_LANGMAX): Likewise.
63785         [POSIX || XPG3] (NL_MSGMAX): Likewise.
63786         [POSIX || XPG3] (NL_NMAX): Likewise.
63787         [POSIX || XPG3] (NL_SETMAX): Likewise.
63788         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63789         [XPG3] (NZERO): Likewise.
63790         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63791         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63792         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63793         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63794         (REG_ERANGE): Expect.
63795         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63796         optional-constant.
63797         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63798         Use (void) in prototype.
63799         [POSIX] (*_t): Allow.
63800         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63801         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63802         (WRDE_BADVAL): Expect.
63804         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63805         expect.
63806         [XPG3 || XPG4] (O_RSYNC): Likewise.
63807         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63808         Likewise.
63809         [XPG3 || XPG4] (pthread_sigmask): Likewise.
63810         [XPG3 || XPG4] (sigqueue): Likewise.
63811         [XPG3 || XPG4] (sigtimedwait): Likewise.
63812         [XPG3 || XPG4] (sigwaitinfo): Likewise.
63813         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63814         [XPG3 || XPG4] (vsnprintf): Likewise.
63815         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63816         Likewise.
63817         [XPG3 || XPG4] (blksize_t): Likewise.
63818         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63819         Likewise.
63820         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63821         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63822         [XPG3 || XPG4] (struct itimerspec): Likewise.
63823         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63824         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63825         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63826         [XPG3 || XPG4] (clockid_t): Likewise.
63827         [XPG3 || XPG4] (timer_t): Likewise.
63828         [XPG3 || XPG4] (clock_getres): Likewise.
63829         [XPG3 || XPG4] (clock_gettime): Likewise.
63830         [XPG3 || XPG4] (clock_settime): Likewise.
63831         [XPG3 || XPG4] (nanosleep): Likewise.
63832         [XPG3 || XPG4] (timer_create): Likewise.
63833         [XPG3 || XPG4] (timer_delete): Likewise.
63834         [XPG3 || XPG4] (timer_gettime): Likewise.
63835         [XPG3 || XPG4] (timer_getoverrun): Likewise.
63836         [XPG3 || XPG4] (timer_settime): Likewise.
63837         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63838         [XPG3 || XPG4] (getlogin_r): Likewise.
63839         [XPG3 || XPG4] (pread): Likewise.
63840         [XPG3 || XPG4] (pthread_atfork): Likewise.
63841         [XPG3 || XPG4] (pwrite): Likewise.
63843         [BZ #14835]
63844         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63845         <bits/siginfo.h>.
63847 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
63849         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63850         finalizing MALLSTREAM.
63852         * sysdeps/mach/hurd/syncfs.c: New file.
63854 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
63856         [BZ #14719]
63857         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63858         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63859         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63860         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63861         (_nss_dns_gethostbyname4_r): Likewise.
63862         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63863         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63865 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
63867         [BZ #13763]
63868         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63870 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
63872         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63873         * elf/cache.c (print_entry): Print ",AArch64" for
63874         FLAG_AARCH64_LIB64
63876         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63877         * elf/cache.c (print_entry): Print ",hard-float" for
63878         FLAG_ARM_LIBHF.
63880 2012-11-18  David S. Miller  <davem@davemloft.net>
63882         With help from Joseph Myers.
63883         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63884         cutoff to 2**-13.
63885         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63886         cutoff to 2**-25.
63887         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63888         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63889         small.
63890         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63891         * math/libm-test.inc (y0_test): New tests.
63892         (y1_test): New tests.
63893         * sysdeps/i386/fpu/libm-test-ulps: Update.
63894         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63895         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63897 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
63899         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63900         64-bit targets.
63901         * configure: Regenerated.
63903 2012-11-17  David S. Miller  <davem@davemloft.net>
63905         [BZ #14811]
63906         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63907         nonzero exponents with absolute value below 0x1p-128 to +/-
63908         0x1p-128.
63910 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
63912         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63914         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63916         * posix/getconf-speclist.c: New file.
63917         * posix/posix-envs.def: Likewise.
63918         * posix/confstr.c (START_ENV_GROUP): New macro.
63919         (END_ENV_GROUP): Likewise.
63920         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63921         (KNOWN_PRESENT_ENV_STRING): Likewise.
63922         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63923         (UNKNOWN_ENVIRONMENT): Likewise.
63924         (confstr): Include posix-envs.def instead of handling
63925         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63926         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63927         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63928         (END_ENV_GROUP): Likewise.
63929         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63930         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63931         (UNKNOWN_ENVIRONMENT): Likewise.
63932         (__sysconf): Include posix-envs.def instead of handling associated
63933         cases directly here.
63934         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63935         preprocessing getconf-speclist.c rather than running getconf or
63936         generating empty file.
63938 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
63940         * scripts/check-local-headers.sh: Ignore 'mach' headers.
63942 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
63944         [BZ #14672]
63945         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63947 2012-11-16  David S. Miller  <davem@davemloft.net>
63949         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63950         smaller than LDBL_EPSILON/2.0L, just return xm1.
63952 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
63954         * elf/tst-array1.c (init): Set constructor priority to 1000.
63955         (fini): Set destructor priority to 1000.
63956         * elf/tst-array2dep.c: Likewise.
63958 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63960         [BZ #11741]
63961         * libio/fileops.c (_IO_new_file_write): Correctly return error.
63962         (_IO_new_file_xsputn): Also return EOF if none of the input
63963         data was written when overflow failed.
63964         * libio/iopadn.c (_IO_padn): Likewise.
63965         * libio/iowpadn.c (_IO_wpadn): Likewise.
63966         * stdio-common/tst-put-error.c: Add copyright notice.
63967         (do_test): Add case for printing padded string.
63968         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63969         _IO_padn returned error.
63970         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63971         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63972         return EOF.
63974 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
63976         * libio/libioP.h: Add comment note that the references to C++
63977         bits are now obsolete.
63979 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
63981         * math/libm-test.inc (check_complex): Use asprintf.
63983 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
63985         * debug/pcprofiledump.c (print_version): Update copyright year.
63986         * malloc/memusagestat.c (print_version): Likewise.
63988 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
63990         [BZ #14831]
63991         * elf/Makefile (tests): Add tst-audit8.
63992         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63993         ($(objpfx)tst-audit8.out): New target.
63994         (tst-audit8-ENV): New variable.
63995         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63996         audit if l_reloc_result is NULL.
63997         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63998         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63999         * elf/tst-audit8.c: New file.
64001 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64003         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
64004         * misc/Makefile (CFLAGS-select.c): Define.
64005         * posix/Makefile (CFLAGS-pause.c): Define.
64007 2012-11-13  David S. Miller  <davem@davemloft.net>
64009         * crypt/Makefile: Move test targets after toplevel Rules
64010         inclusion.  Grab any necessary sysdep routines when linking.
64011         * crypt/md5.c (md5_process_block): Remove define, we will always
64012         name it __md5_process_block.
64013         (md5_finish_ctx): Update md5_process_block call.
64014         (md5_stream): Likewise.
64015         (md5_process_bytes): Likewise.
64016         (md5_process_block): Rename to __md5_process_block and move to ...
64017         * crypt/md5-block.c: ... here.
64018         * crypt/sha256.c (sha256_process_block): Move to ...
64019         * crypt/sha256-block.c: ... here.
64020         * crypt/sha512.c (sha512_process_block): Move to ...
64021         * crypt/sha512-block.c: ... here.
64022         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
64023         path.
64024         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
64025         * sysdeps/sparc/sparc64/multiarch/Makefile
64026         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
64027         crypt subdir.
64028         (localedef-aux): Add md5 crypto assembler when in locale subdir.
64029         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
64030         multiarch changes.
64031         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
64032         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
64033         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
64034         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
64035         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
64036         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
64037         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
64038         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
64039         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
64040         file.
64041         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
64042         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
64043         file.
64044         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
64046 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
64048         * timezone/tzselect.ksh: Update from tzcode git revision
64049         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
64050         * timezone/zdump.c: Likewise.
64051         * timezone/zic.c: Likewise.
64052         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
64053         in TZVERSION setting, not $(PKGVERSION).
64054         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
64055         REPORT_BUGS_TO settings.
64057         [BZ #14838]
64058         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
64059         macro.
64061 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64063         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
64064         detection to immediately after _FP_ROUND().
64065         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
64066         bits are 0.
64068 2012-11-11  David S. Miller  <davem@davemloft.net>
64070         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
64071         inttypes.h
64072         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
64073         __close rather than their public counterparts.
64075 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
64077         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64078         file.
64079         [UNIX98] (sem_timedwait): Do not expect.
64080         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64081         [XPG4 || UNIX98] (sockatmark): Do not expect.
64082         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64083         (clock_getcpuclockid): Do not expect.
64084         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64085         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64086         Do not expect.
64087         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64088         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64089         [UNIX98] (vwscanf): Likewise.
64090         [UNIX98] (vswscanf): Likewise.
64092 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
64094         * timezone/version.h: Remove file.
64095         * timezone/README: Do not refer to version.h.
64096         * timezone/Makefile ($(objpfx)zic.o): New dependency on
64097         $(objpfx)version.h.
64098         ($(objpfx)zdump.o): Likewise.
64099         ($(objpfx)version.h): New target.
64101         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64102         2012i.
64103         * timezone/README: Don't mention modification to tzselect.ksh.
64104         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64105         work on unmodified tzselect.ksh.  Substitute version numbers in
64106         tzselect.ksh.
64108         * Makefile (format-me): Remove.
64109         (INSTALL): Adjust indentation.  Use commands directly instead of
64110         using $(format-me).
64112         * aclocal.m4 (ACX_PKGVERSION): New macro.
64113         (ACX_BUGURL): Likewise.
64114         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64115         (PKGVERSION): New AC_DEFINE_UNQUOTED.
64116         (REPORT_BUGS_TO): Likewise.
64117         * configure: Regenerated.
64118         * config.h.in (PKGVERSION): New macro.
64119         (REPORT_BUGS_TO): Likewise.
64120         * config.make.in (PKGVERSION): New variable.
64121         (PKGVERSION_TEXI): Likewise.
64122         (REPORT_BUGS_TO): Likewise.
64123         (REPORT_BUGS_TEXI): Likewise.
64124         * Makefile (format-me): Use -I$(common-objpfx)manual.
64125         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64126         ($(common-objpfx)manual/%): New target.
64127         (manual/%): Remove target.
64128         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64129         (print_version): Use PKGVERSION.
64130         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64131         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64132         and REPORT_BUGS_TO.
64133         ($(objpfx)xtrace): Likewise.
64134         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64135         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64136         (print_version): Use PKGVERSION.
64137         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64138         (do_version): Use PKGVERSION.
64139         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
64140         REPORT_BUGS_TO.
64141         (common-ldd-rewrite): Likewise.
64142         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
64143         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
64144         (print_version): Use PKGVERSION.
64145         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
64146         * elf/pldd.c (argp_program_bug_address): Remove variable.
64147         (more_help): New function.
64148         (argp): Use more_help.
64149         (print_version): Use PKGVERSION.
64150         * elf/sln.c (main): Use PKGVERSION.
64151         (usage): Use REPORT_BUGS_TO.
64152         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
64153         (top level): Use PKGVERSION.
64154         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
64155         (print_version): Use PKGVERSION.
64156         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
64157         (print_version): Use PKGVERSION.
64158         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
64159         (print_version): Use PKGVERSION.
64160         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
64161         (print_version): Use PKGVERSION.
64162         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
64163         (print_version): Use PKGVERSION.
64164         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
64165         (print_version): Use PKGVERSION.
64166         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
64167         and BUGURL.
64168         ($(objpfx)memusage): Likewise.
64169         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
64170         (do_version): Use PKGVERSION.
64171         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
64172         (print_version): Use PKGVERSION.
64173         * malloc/mtrace.pl ($PACKAGE): Remove variable.
64174         ($PKGVERSION): New variable.
64175         ($REPORT_BUGS_TO): Likewise.
64176         (usage): Use $REPORT_BUGS_TO.
64177         (top level): Use $PKGVERSION.
64178         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
64179         ($(objpfx)pkgvers.texi): New rule.
64180         ($(objpfx)stamp-pkgvers): Likewise.
64181         * manual/install.texi: Include pkgvers.texi.
64182         (--with-pkgversion): Document new configure option.
64183         (--with-bugurl): Likewise.
64184         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
64185         than necessarily for this particular distribution.  Use
64186         REPORT_BUGS_TO for where to report bugs.
64187         * INSTALL: Regenerated.
64188         * manual/libc.texinfo: Include pkgvers.texi.
64189         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
64190         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
64191         (print_version): Use PKGVERSION.
64192         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
64193         (print_version): Use PKGVERSION.
64194         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
64195         (print_version): Use PKGVERSION.
64196         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
64197         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
64198         macro.
64199         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
64200         (print_version): Use PKGVERSION.
64201         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
64202         (print_version): Use PKGVERSION.
64203         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
64204         and PKGVERSION.
64206         * timezone/checktab.awk: Update from tzcode 2012i.
64207         * timezone/ialloc.c: Likewise.
64208         * timezone/private.h: Likewise.
64209         * timezone/scheck.c: Likewise.
64210         * timezone/tzfile.h: Likewise.
64211         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
64212         (TZVERSION): Hardcode tzcode version number.
64213         * timezone/zdump.c: Update from tzcode 2012i.
64214         * timezone/zic.c: Likewise.
64215         * timezone/version.h: New file.
64216         * timezone/README: Describe version.h.  Update upstream location.
64218         [BZ #14824]
64219         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
64220         (mktemp): Enable declaration.
64221         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
64222         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
64223         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
64224         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
64225         Likewise.
64226         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
64227         Likewise.
64228         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
64229         Likewise.
64230         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
64231         Likewise.
64232         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
64233         Likewise.
64234         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
64235         Likewise.
64237         [BZ #14821]
64238         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
64239         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
64240         for copies of such integer values.
64241         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64242         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64244 2012-11-09  Andreas Jaeger  <aj@suse.de>
64246         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
64247         definitions and declarations that are provided by
64248         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64250 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64252         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
64253         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
64254         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
64255         definition.
64257 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64259         * elf/elf.h: Update comment before AArch64 relocations.
64261 2012-11-07  David S. Miller  <davem@davemloft.net>
64263         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
64264         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64265         (__start_context): Declare.
64266         (__makecontext_ret): Delete.
64267         (__makecontext): Hook up __start_context instead of
64268         __makecontext_ret.
64269         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
64270         (sysdep_routines): Add __start_context when in stdlib.
64272 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64274         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
64275         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
64276         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
64277         hardcoded "nm".
64278         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
64279         (READELF): New variable.  Use it instead of hardcoded "readelf".
64281 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
64283         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
64284         * sysdeps/x86/Makefile: Here.
64285         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
64286         * sysdeps/x86/tst-xmmymm.sh: This.
64288 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64290         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
64291         expectations.
64292         [UNIX98] (pthread_barrier_t): Do not expect.
64293         [UNIX98] (pthread_barrierattr_t): Likewise.
64294         [UNIX98] (pthread_spinlock_t): Likewise.
64295         [UNIX98] (pthread_barrier_destroy): Likewise.
64296         [UNIX98] (pthread_barrier_init): Likewise.
64297         [UNIX98] (pthread_barrier_wait): Likewise.
64298         [UNIX98] (pthread_barrierattr_destroy): Likewise.
64299         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
64300         [UNIX98] (pthread_barrierattr_init): Likewise.
64301         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
64302         [UNIX98] (pthread_getcpuclockid): Likewise.
64303         [UNIX98] (pthread_mutex_timedlock): Likewise.
64304         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
64305         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
64306         [UNIX98] (pthread_sigmask): Likewise.
64307         [UNIX98] (pthread_spin_destroy): Likewise.
64308         [UNIX98] (pthread_spin_init): Likewise.
64309         [UNIX98] (pthread_spin_lock): Likewise.
64310         [UNIX98] (pthread_spin_trylock): Likewise.
64311         [UNIX98] (pthread_spin_unlock): Likewise.
64312         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64313         Do not expect.
64314         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64315         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64316         [XPG3 || XPG4] (pthread_cond_t): Likewise.
64317         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64318         [XPG3 || XPG4] (pthread_key_t): Likewise.
64319         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64320         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64321         [XPG3 || XPG4] (pthread_once_t): Likewise.
64322         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64323         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64324         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64325         [XPG3 || XPG4] (pthread_t): Likewise.
64327         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64328         not expect.
64329         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64331         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64332         Change function return type to int.
64334         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64335         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64336         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64337         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64338         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64339         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64340         [!POSIX] (posix_madvise): Likewise.
64341         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64342         && !UNIX98].
64343         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64344         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64345         (mode_t): Likewise.
64346         (posix_mem_offset): Likewise.
64347         (posix_typed_mem_get_info): Likewise.
64348         (posix_typed_mem_open): Likewise.
64350         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64351         Change condition to [XOPEN2K8].
64353         * conform/conformtest.pl: Preprocess allow-header data with -x c
64354         instead of from stdin.
64355         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64356         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64357         [C99-based standards] (cerfc): Likewise.
64358         [C99-based standards] (cexp2): Likewise.
64359         [C99-based standards] (cexpm1): Likewise.
64360         [C99-based standards] (clog10): Likewise.
64361         [C99-based standards] (clog1p): Likewise.
64362         [C99-based standards] (clog2): Likewise.
64363         [C99-based standards] (clgamma): Likewise.
64364         [C99-based standards] (ctgamma): Likewise.
64365         [C99-based standards] (cerff): Likewise.
64366         [C99-based standards] (cerfcf): Likewise.
64367         [C99-based standards] (cexp2f): Likewise.
64368         [C99-based standards] (cexpm1f): Likewise.
64369         [C99-based standards] (clog10f): Likewise.
64370         [C99-based standards] (clog1pf): Likewise.
64371         [C99-based standards] (clog2f): Likewise.
64372         [C99-based standards] (clgammaf): Likewise.
64373         [C99-based standards] (ctgammaf): Likewise.
64374         [C99-based standards] (cerfl): Likewise.
64375         [C99-based standards] (cerfcl): Likewise.
64376         [C99-based standards] (cexp2l): Likewise.
64377         [C99-based standards] (cexpm1l): Likewise.
64378         [C99-based standards] (clog10l): Likewise.
64379         [C99-based standards] (clog1pl): Likewise.
64380         [C99-based standards] (clog2l): Likewise.
64381         [C99-based standards] (clgammal): Likewise.
64382         [C99-based standards] (ctgammal): Likewise.
64383         * conform/data/inttypes.h-data [C99-based standards]: Include
64384         stdint.h-data.  Remove all expectations for stdint.h contents.
64385         [C99-based standards] (PRI*): Do not allow.
64386         [C99-based standards] (SCN*): Likewise.
64387         [C99-based standards] (*_t): Likewise.
64388         [C99-based-standards] (PRId8): Expect macro.
64389         [C99-based-standards] (PRIi8): Likewise.
64390         [C99-based-standards] (PRIo8): Likewise.
64391         [C99-based-standards] (PRIu8): Likewise.
64392         [C99-based-standards] (PRIx8): Likewise.
64393         [C99-based-standards] (PRIX8): Likewise.
64394         [C99-based-standards] (SCNd8): Likewise.
64395         [C99-based-standards] (SCNi8): Likewise.
64396         [C99-based-standards] (SCNo8): Likewise.
64397         [C99-based-standards] (SCNu8): Likewise.
64398         [C99-based-standards] (SCNx8): Likewise.
64399         [C99-based-standards] (PRIdLEAST8): Likewise.
64400         [C99-based-standards] (PRIiLEAST8): Likewise.
64401         [C99-based-standards] (PRIoLEAST8): Likewise.
64402         [C99-based-standards] (PRIuLEAST8): Likewise.
64403         [C99-based-standards] (PRIxLEAST8): Likewise.
64404         [C99-based-standards] (PRIXLEAST8): Likewise.
64405         [C99-based-standards] (SCNdLEAST8): Likewise.
64406         [C99-based-standards] (SCNiLEAST8): Likewise.
64407         [C99-based-standards] (SCNoLEAST8): Likewise.
64408         [C99-based-standards] (SCNuLEAST8): Likewise.
64409         [C99-based-standards] (SCNxLEAST8): Likewise.
64410         [C99-based-standards] (PRIdFAST8): Likewise.
64411         [C99-based-standards] (PRIiFAST8): Likewise.
64412         [C99-based-standards] (PRIoFAST8): Likewise.
64413         [C99-based-standards] (PRIuFAST8): Likewise.
64414         [C99-based-standards] (PRIxFAST8): Likewise.
64415         [C99-based-standards] (PRIXFAST8): Likewise.
64416         [C99-based-standards] (SCNdFAST8): Likewise.
64417         [C99-based-standards] (SCNiFAST8): Likewise.
64418         [C99-based-standards] (SCNoFAST8): Likewise.
64419         [C99-based-standards] (SCNuFAST8): Likewise.
64420         [C99-based-standards] (SCNxFAST8): Likewise.
64421         [C99-based-standards] (PRId16): Likewise.
64422         [C99-based-standards] (PRIi16): Likewise.
64423         [C99-based-standards] (PRIo16): Likewise.
64424         [C99-based-standards] (PRIu16): Likewise.
64425         [C99-based-standards] (PRIx16): Likewise.
64426         [C99-based-standards] (PRIX16): Likewise.
64427         [C99-based-standards] (SCNd16): Likewise.
64428         [C99-based-standards] (SCNi16): Likewise.
64429         [C99-based-standards] (SCNo16): Likewise.
64430         [C99-based-standards] (SCNu16): Likewise.
64431         [C99-based-standards] (SCNx16): Likewise.
64432         [C99-based-standards] (PRIdLEAST16): Likewise.
64433         [C99-based-standards] (PRIiLEAST16): Likewise.
64434         [C99-based-standards] (PRIoLEAST16): Likewise.
64435         [C99-based-standards] (PRIuLEAST16): Likewise.
64436         [C99-based-standards] (PRIxLEAST16): Likewise.
64437         [C99-based-standards] (PRIXLEAST16): Likewise.
64438         [C99-based-standards] (SCNdLEAST16): Likewise.
64439         [C99-based-standards] (SCNiLEAST16): Likewise.
64440         [C99-based-standards] (SCNoLEAST16): Likewise.
64441         [C99-based-standards] (SCNuLEAST16): Likewise.
64442         [C99-based-standards] (SCNxLEAST16): Likewise.
64443         [C99-based-standards] (PRIdFAST16): Likewise.
64444         [C99-based-standards] (PRIiFAST16): Likewise.
64445         [C99-based-standards] (PRIoFAST16): Likewise.
64446         [C99-based-standards] (PRIuFAST16): Likewise.
64447         [C99-based-standards] (PRIxFAST16): Likewise.
64448         [C99-based-standards] (PRIXFAST16): Likewise.
64449         [C99-based-standards] (SCNdFAST16): Likewise.
64450         [C99-based-standards] (SCNiFAST16): Likewise.
64451         [C99-based-standards] (SCNoFAST16): Likewise.
64452         [C99-based-standards] (SCNuFAST16): Likewise.
64453         [C99-based-standards] (SCNxFAST16): Likewise.
64454         [C99-based-standards] (PRId32): Likewise.
64455         [C99-based-standards] (PRIi32): Likewise.
64456         [C99-based-standards] (PRIo32): Likewise.
64457         [C99-based-standards] (PRIu32): Likewise.
64458         [C99-based-standards] (PRIx32): Likewise.
64459         [C99-based-standards] (PRIX32): Likewise.
64460         [C99-based-standards] (SCNd32): Likewise.
64461         [C99-based-standards] (SCNi32): Likewise.
64462         [C99-based-standards] (SCNo32): Likewise.
64463         [C99-based-standards] (SCNu32): Likewise.
64464         [C99-based-standards] (SCNx32): Likewise.
64465         [C99-based-standards] (PRIdLEAST32): Likewise.
64466         [C99-based-standards] (PRIiLEAST32): Likewise.
64467         [C99-based-standards] (PRIoLEAST32): Likewise.
64468         [C99-based-standards] (PRIuLEAST32): Likewise.
64469         [C99-based-standards] (PRIxLEAST32): Likewise.
64470         [C99-based-standards] (PRIXLEAST32): Likewise.
64471         [C99-based-standards] (SCNdLEAST32): Likewise.
64472         [C99-based-standards] (SCNiLEAST32): Likewise.
64473         [C99-based-standards] (SCNoLEAST32): Likewise.
64474         [C99-based-standards] (SCNuLEAST32): Likewise.
64475         [C99-based-standards] (SCNxLEAST32): Likewise.
64476         [C99-based-standards] (PRIdFAST32): Likewise.
64477         [C99-based-standards] (PRIiFAST32): Likewise.
64478         [C99-based-standards] (PRIoFAST32): Likewise.
64479         [C99-based-standards] (PRIuFAST32): Likewise.
64480         [C99-based-standards] (PRIxFAST32): Likewise.
64481         [C99-based-standards] (PRIXFAST32): Likewise.
64482         [C99-based-standards] (SCNdFAST32): Likewise.
64483         [C99-based-standards] (SCNiFAST32): Likewise.
64484         [C99-based-standards] (SCNoFAST32): Likewise.
64485         [C99-based-standards] (SCNuFAST32): Likewise.
64486         [C99-based-standards] (SCNxFAST32): Likewise.
64487         [C99-based-standards] (PRId64): Likewise.
64488         [C99-based-standards] (PRIi64): Likewise.
64489         [C99-based-standards] (PRIo64): Likewise.
64490         [C99-based-standards] (PRIu64): Likewise.
64491         [C99-based-standards] (PRIx64): Likewise.
64492         [C99-based-standards] (PRIX64): Likewise.
64493         [C99-based-standards] (SCNd64): Likewise.
64494         [C99-based-standards] (SCNi64): Likewise.
64495         [C99-based-standards] (SCNo64): Likewise.
64496         [C99-based-standards] (SCNu64): Likewise.
64497         [C99-based-standards] (SCNx64): Likewise.
64498         [C99-based-standards] (PRIdLEAST64): Likewise.
64499         [C99-based-standards] (PRIiLEAST64): Likewise.
64500         [C99-based-standards] (PRIoLEAST64): Likewise.
64501         [C99-based-standards] (PRIuLEAST64): Likewise.
64502         [C99-based-standards] (PRIxLEAST64): Likewise.
64503         [C99-based-standards] (PRIXLEAST64): Likewise.
64504         [C99-based-standards] (SCNdLEAST64): Likewise.
64505         [C99-based-standards] (SCNiLEAST64): Likewise.
64506         [C99-based-standards] (SCNoLEAST64): Likewise.
64507         [C99-based-standards] (SCNuLEAST64): Likewise.
64508         [C99-based-standards] (SCNxLEAST64): Likewise.
64509         [C99-based-standards] (PRIdFAST64): Likewise.
64510         [C99-based-standards] (PRIiFAST64): Likewise.
64511         [C99-based-standards] (PRIoFAST64): Likewise.
64512         [C99-based-standards] (PRIuFAST64): Likewise.
64513         [C99-based-standards] (PRIxFAST64): Likewise.
64514         [C99-based-standards] (PRIXFAST64): Likewise.
64515         [C99-based-standards] (SCNdFAST64): Likewise.
64516         [C99-based-standards] (SCNiFAST64): Likewise.
64517         [C99-based-standards] (SCNoFAST64): Likewise.
64518         [C99-based-standards] (SCNuFAST64): Likewise.
64519         [C99-based-standards] (SCNxFAST64): Likewise.
64520         [C99-based-standards] (PRIdMAX): Likewise.
64521         [C99-based-standards] (PRIiMAX): Likewise.
64522         [C99-based-standards] (PRIoMAX): Likewise.
64523         [C99-based-standards] (PRIuMAX): Likewise.
64524         [C99-based-standards] (PRIxMAX): Likewise.
64525         [C99-based-standards] (PRIXMAX): Likewise.
64526         [C99-based-standards] (SCNdMAX): Likewise.
64527         [C99-based-standards] (SCNiMAX): Likewise.
64528         [C99-based-standards] (SCNoMAX): Likewise.
64529         [C99-based-standards] (SCNuMAX): Likewise.
64530         [C99-based-standards] (SCNxMAX): Likewise.
64531         [C99-based-standards] (PRIdPTR): Likewise.
64532         [C99-based-standards] (PRIiPTR): Likewise.
64533         [C99-based-standards] (PRIoPTR): Likewise.
64534         [C99-based-standards] (PRIuPTR): Likewise.
64535         [C99-based-standards] (PRIxPTR): Likewise.
64536         [C99-based-standards] (PRIXPTR): Likewise.
64537         [C99-based-standards] (SCNdPTR): Likewise.
64538         [C99-based-standards] (SCNiPTR): Likewise.
64539         [C99-based-standards] (SCNoPTR): Likewise.
64540         [C99-based-standards] (SCNuPTR): Likewise.
64541         [C99-based-standards] (SCNxPTR): Likewise.
64542         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64543         allow.
64544         * conform/data/stdint.h-data: Update comments to clarify
64545         requirements.
64546         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
64547         type.
64548         [C99-based standards] (INT8_MAX): Likewise.
64549         [C99-based standards] (INT16_MIN): Likewise.
64550         [C99-based standards] (INT16_MAX): Likewise.
64551         [C99-based standards] (INT32_MIN): Likewise.
64552         [C99-based standards] (INT32_MAX): Likewise.
64553         [C99-based standards] (INT64_MIN): Likewise.
64554         [C99-based standards] (INT64_MAX): Likewise.
64555         [C99-based standards] (UINT8_MAX): Likewise.
64556         [C99-based standards] (UINT16_MAX): Likewise.
64557         [C99-based standards] (UINT32_MAX): Likewise.
64558         [C99-based standards] (UINT64_MAX): Likewise.
64559         [C99-based standards] (INT_LEAST8_MIN): Likewise.
64560         [C99-based standards] (INT_LEAST8_MAX): Likewise.
64561         [C99-based standards] (INT_LEAST16_MIN): Likewise.
64562         [C99-based standards] (INT_LEAST16_MAX): Likewise.
64563         [C99-based standards] (INT_LEAST32_MIN): Likewise.
64564         [C99-based standards] (INT_LEAST32_MAX): Likewise.
64565         [C99-based standards] (INT_LEAST64_MIN): Likewise.
64566         [C99-based standards] (INT_LEAST64_MAX): Likewise.
64567         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64568         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64569         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64570         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64571         [C99-based standards] (INT_FAST8_MIN): Likewise.
64572         [C99-based standards] (INT_FAST8_MAX): Likewise.
64573         [C99-based standards] (INT_FAST16_MIN): Likewise.
64574         [C99-based standards] (INT_FAST16_MAX): Likewise.
64575         [C99-based standards] (INT_FAST32_MIN): Likewise.
64576         [C99-based standards] (INT_FAST32_MAX): Likewise.
64577         [C99-based standards] (INT_FAST64_MIN): Likewise.
64578         [C99-based standards] (INT_FAST64_MAX): Likewise.
64579         [C99-based standards] (UINT_FAST8_MAX): Likewise.
64580         [C99-based standards] (UINT_FAST16_MAX): Likewise.
64581         [C99-based standards] (UINT_FAST32_MAX): Likewise.
64582         [C99-based standards] (UINT_FAST64_MAX): Likewise.
64583         [C99-based standards] (INTPTR_MIN): Likewise.
64584         [C99-based standards] (INTPTR_MAX): Likewise.
64585         [C99-based standards] (UINTPTR_MAX): Likewise.
64586         [C99-based standards] (INTMAX_MIN): Likewise.
64587         [C99-based standards] (INTMAX_MAX): Likewise.
64588         [C99-based standards] (UINTMAX_MAX): Likewise.
64589         [C99-based standards] (PTRDIFF_MIN): Likewise.
64590         [C99-based standards] (PTRDIFF_MAX): Likewise.
64591         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64592         [C99-based standards] (SIZE_MAX): Likewise.
64593         [C99-based standards] (WCHAR_MAX): Likewise.
64594         [C99-based standards] (WINT_MAX): Likewise.
64595         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
64596         constraint on value.
64597         [C99-based standards] (WCHAR_MIN): Likewise.
64598         [C99-based standards] (WINT_MIN): Likewise.
64599         [C99-based standards] (*_t): Allow.
64600         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64601         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64602         Include math.h-data and complex.h-data.  Remove all expectations
64603         of math.h and complex.h contents.
64604         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64605         at end of line.
64606         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64607         (struct tm): Expect tag.
64608         [C99-based-standards] (wcstof): Expect function.
64609         [C99-based-standards] (wcstold): Likewise.
64610         [C99-based-standards] (wcstoll): Likewise.
64611         [C99-based-standards] (wcstoull): Likewise.
64612         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64613         macro-int-constant.  Specify type.
64614         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
64615         constraint on value.
64616         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64617         Specify type.
64618         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64619         Specify value.
64620         [ISO C standards]: Do not allow headers.
64621         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64622         wcs[abcdefghijklmnopqrstuvwxyz]*.
64623         [ISO C standards] (*_t): Do not allow.
64624         * conform/data/wctype.h-data [C99-based standards] (iswblank):
64625         Expect function.
64626         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64627         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64628         Specify type.
64629         [ISO C standards]: Do not allow headers.
64630         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64631         is[abcdefghijklmnopqrstuvwxyz]*.
64632         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64633         to[abcdefghijklmnopqrstuvwxyz]*.
64634         [ISO C standards] (*_t): Do not allow.
64635         * conform/data/stdalign.h-data: New file.
64636         * conform/data/stdbool.h-data: Likewise.
64637         * conform/data/stdnoreturn.h-data: Likewise.
64639 2012-11-07  Roland McGrath  <roland@hack.frob.com>
64641         [BZ #14815]
64642         * manual/filesys.texi (Directory Entries): Typo fix.
64643         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64645 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
64647         * elf/elf.h (EM_AARCH64): New macro.
64648         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64649         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64650         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64651         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64652         (R_AARCH64_TLSDESC): Likewise.
64653         (NT_ARM_TLS): Likewise.
64654         (NT_ARM_HW_BREAK): Likewise.
64655         (NT_ARM_HW_WATCH): Likewise.
64657 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64659         [BZ #14811]
64660         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64661         (__ieee754_powl): Saturate nonzero exponents with absolute value
64662         below 0x1p-79 to +/- 0x1p-79.
64663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64664         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64665         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64666         nonzero exponents with absolute value below 0x1p-32 to +/-
64667         0x1p-32.
64668         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64669         (__ieee754_powl): Saturate nonzero exponents with absolute value
64670         below 0x1p-79 to +/- 0x1p-79.
64671         * math/libm-test.inc (pow_test): Add more tests.
64673 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64675         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64676         _dl_s390_cap_flags with kernel. Increase string length.
64677         (_dl_s390_platforms): Add z196 and zEC12.
64679 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
64681         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64682         Change XOPEN21K to XOPEN2K.
64684 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
64686         * string/memmove.c: Use memcpy when possible.
64688 2012-11-06  Andreas Jaeger  <aj@suse.de>
64690         * po/eo.po: Update from translation team.
64692 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
64694         [BZ #14793]
64695         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64696         exponent and small x and y exponents, scale x or y up.  Increase
64697         by 2 the exponent used in scaling up.
64698         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64699         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64700         * math/libm-test.inc (fma_test): Add more tests.
64701         (fma_test_towardzero): Likewise.
64702         (fma_test_downward): Likewise.
64703         (fma_test_upward): Likewise.
64705 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
64707         [BZ #14805]
64708         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64709         fenv_t *.
64711         [BZ #14801]
64712         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64713         namespace for names of struct fields.
64714         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64715         fenv_t fields.
64716         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64717         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64719 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
64721         [BZ #3665]
64722         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64724 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64726         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64727         PTR_DEMANGLE.
64729         [BZ #5246]
64730         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64731         PTR_DEMANGLE.
64733 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
64735         [BZ #14797]
64736         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64737         definitely overflow as x * y not x * y + z.
64738         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64739         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64740         * math/libm-test.inc (fma_test): Add more tests.
64741         (fma_test_towardzero): Likewise.
64742         (fma_test_downward): Likewise.
64743         (fma_test_upward): Likewise.
64745 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
64747         [BZ #157]
64749         * include/stub-tag.h: Remove file.
64750         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64751         '#include' of it.
64752         * manual/maint.texi (Porting): Don't reference it.
64753         * Makerules ($(objpfx)stubs): Likewise.
64754         * dirent/closedir.c: Don't include <stub-tag.h>.
64755         * dirent/dirfd.c: Likewise.
64756         * dirent/fdopendir.c: Likewise.
64757         * dirent/getdents.c: Likewise.
64758         * dirent/getdents64.c: Likewise.
64759         * dirent/opendir.c: Likewise.
64760         * dirent/readdir.c: Likewise.
64761         * dirent/readdir64.c: Likewise.
64762         * dirent/readdir64_r.c: Likewise.
64763         * dirent/readdir_r.c: Likewise.
64764         * dirent/rewinddir.c: Likewise.
64765         * dirent/seekdir.c: Likewise.
64766         * dirent/telldir.c: Likewise.
64767         * gmon/profil.c: Likewise.
64768         * grp/setgroups.c: Likewise.
64769         * inet/if_index.c: Likewise.
64770         * io/access.c: Likewise.
64771         * io/chdir.c: Likewise.
64772         * io/chmod.c: Likewise.
64773         * io/chown.c: Likewise.
64774         * io/close.c: Likewise.
64775         * io/dup.c: Likewise.
64776         * io/dup2.c: Likewise.
64777         * io/dup3.c: Likewise.
64778         * io/euidaccess.c: Likewise.
64779         * io/faccessat.c: Likewise.
64780         * io/fchdir.c: Likewise.
64781         * io/fchmod.c: Likewise.
64782         * io/fchmodat.c: Likewise.
64783         * io/fchown.c: Likewise.
64784         * io/fchownat.c: Likewise.
64785         * io/fcntl.c: Likewise.
64786         * io/flock.c: Likewise.
64787         * io/fstatfs.c: Likewise.
64788         * io/fstatfs64.c: Likewise.
64789         * io/fstatvfs.c: Likewise.
64790         * io/fstatvfs64.c: Likewise.
64791         * io/futimens.c: Likewise.
64792         * io/fxstat.c: Likewise.
64793         * io/fxstat64.c: Likewise.
64794         * io/fxstatat.c: Likewise.
64795         * io/fxstatat64.c: Likewise.
64796         * io/getcwd.c: Likewise.
64797         * io/isatty.c: Likewise.
64798         * io/lchmod.c: Likewise.
64799         * io/lchown.c: Likewise.
64800         * io/link.c: Likewise.
64801         * io/linkat.c: Likewise.
64802         * io/lseek.c: Likewise.
64803         * io/lseek64.c: Likewise.
64804         * io/lxstat64.c: Likewise.
64805         * io/mkdir.c: Likewise.
64806         * io/mkdirat.c: Likewise.
64807         * io/mkfifo.c: Likewise.
64808         * io/mkfifoat.c: Likewise.
64809         * io/open.c: Likewise.
64810         * io/open64.c: Likewise.
64811         * io/openat.c: Likewise.
64812         * io/openat64.c: Likewise.
64813         * io/pipe.c: Likewise.
64814         * io/pipe2.c: Likewise.
64815         * io/poll.c: Likewise.
64816         * io/posix_fadvise.c: Likewise.
64817         * io/posix_fadvise64.c: Likewise.
64818         * io/posix_fallocate.c: Likewise.
64819         * io/posix_fallocate64.c: Likewise.
64820         * io/read.c: Likewise.
64821         * io/readlink.c: Likewise.
64822         * io/readlinkat.c: Likewise.
64823         * io/rmdir.c: Likewise.
64824         * io/sendfile.c: Likewise.
64825         * io/sendfile64.c: Likewise.
64826         * io/statfs.c: Likewise.
64827         * io/statfs64.c: Likewise.
64828         * io/statvfs.c: Likewise.
64829         * io/statvfs64.c: Likewise.
64830         * io/symlink.c: Likewise.
64831         * io/symlinkat.c: Likewise.
64832         * io/ttyname.c: Likewise.
64833         * io/ttyname_r.c: Likewise.
64834         * io/umask.c: Likewise.
64835         * io/unlink.c: Likewise.
64836         * io/unlinkat.c: Likewise.
64837         * io/utime.c: Likewise.
64838         * io/utimensat.c: Likewise.
64839         * io/write.c: Likewise.
64840         * io/xmknod.c: Likewise.
64841         * io/xmknodat.c: Likewise.
64842         * io/xstat.c: Likewise.
64843         * io/xstat64.c: Likewise.
64844         * login/getpt.c: Likewise.
64845         * login/grantpt.c: Likewise.
64846         * login/unlockpt.c: Likewise.
64847         * math/e_acoshl.c: Likewise.
64848         * math/e_acosl.c: Likewise.
64849         * math/e_asinl.c: Likewise.
64850         * math/e_atan2l.c: Likewise.
64851         * math/e_atanhl.c: Likewise.
64852         * math/e_coshl.c: Likewise.
64853         * math/e_expl.c: Likewise.
64854         * math/e_fmodl.c: Likewise.
64855         * math/e_gammal_r.c: Likewise.
64856         * math/e_hypotl.c: Likewise.
64857         * math/e_j0l.c: Likewise.
64858         * math/e_j1l.c: Likewise.
64859         * math/e_jnl.c: Likewise.
64860         * math/e_lgammal_r.c: Likewise.
64861         * math/e_log10l.c: Likewise.
64862         * math/e_log2l.c: Likewise.
64863         * math/e_logl.c: Likewise.
64864         * math/e_powl.c: Likewise.
64865         * math/e_rem_pio2l.c: Likewise.
64866         * math/e_sinhl.c: Likewise.
64867         * math/e_sqrtl.c: Likewise.
64868         * math/fclrexcpt.c: Likewise.
64869         * math/fedisblxcpt.c: Likewise.
64870         * math/feenablxcpt.c: Likewise.
64871         * math/fegetenv.c: Likewise.
64872         * math/fegetexcept.c: Likewise.
64873         * math/fegetround.c: Likewise.
64874         * math/feholdexcpt.c: Likewise.
64875         * math/fesetenv.c: Likewise.
64876         * math/fesetround.c: Likewise.
64877         * math/feupdateenv.c: Likewise.
64878         * math/fgetexcptflg.c: Likewise.
64879         * math/fraiseexcpt.c: Likewise.
64880         * math/fsetexcptflg.c: Likewise.
64881         * math/ftestexcept.c: Likewise.
64882         * math/k_cosl.c: Likewise.
64883         * math/k_rem_pio2l.c: Likewise.
64884         * math/k_sinl.c: Likewise.
64885         * math/k_tanl.c: Likewise.
64886         * math/s_asinhl.c: Likewise.
64887         * math/s_atanl.c: Likewise.
64888         * math/s_cbrtl.c: Likewise.
64889         * math/s_erfl.c: Likewise.
64890         * math/s_expm1l.c: Likewise.
64891         * math/s_log1pl.c: Likewise.
64892         * math/s_tanhl.c: Likewise.
64893         * misc/acct.c: Likewise.
64894         * misc/brk.c: Likewise.
64895         * misc/chflags.c: Likewise.
64896         * misc/chroot.c: Likewise.
64897         * misc/fchflags.c: Likewise.
64898         * misc/fgetxattr.c: Likewise.
64899         * misc/flistxattr.c: Likewise.
64900         * misc/fremovexattr.c: Likewise.
64901         * misc/fsetxattr.c: Likewise.
64902         * misc/fsync.c: Likewise.
64903         * misc/ftruncate.c: Likewise.
64904         * misc/futimes.c: Likewise.
64905         * misc/futimesat.c: Likewise.
64906         * misc/getdomain.c: Likewise.
64907         * misc/getdtsz.c: Likewise.
64908         * misc/gethostid.c: Likewise.
64909         * misc/gethostname.c: Likewise.
64910         * misc/getloadavg.c: Likewise.
64911         * misc/getpagesize.c: Likewise.
64912         * misc/getsysstats.c: Likewise.
64913         * misc/getxattr.c: Likewise.
64914         * misc/gtty.c: Likewise.
64915         * misc/ioctl.c: Likewise.
64916         * misc/lgetxattr.c: Likewise.
64917         * misc/listxattr.c: Likewise.
64918         * misc/llistxattr.c: Likewise.
64919         * misc/lremovexattr.c: Likewise.
64920         * misc/lsetxattr.c: Likewise.
64921         * misc/lutimes.c: Likewise.
64922         * misc/madvise.c: Likewise.
64923         * misc/mincore.c: Likewise.
64924         * misc/mlock.c: Likewise.
64925         * misc/mlockall.c: Likewise.
64926         * misc/mmap.c: Likewise.
64927         * misc/mprotect.c: Likewise.
64928         * misc/msync.c: Likewise.
64929         * misc/munlock.c: Likewise.
64930         * misc/munlockall.c: Likewise.
64931         * misc/munmap.c: Likewise.
64932         * misc/preadv.c: Likewise.
64933         * misc/preadv64.c: Likewise.
64934         * misc/ptrace.c: Likewise.
64935         * misc/pwritev.c: Likewise.
64936         * misc/pwritev64.c: Likewise.
64937         * misc/readv.c: Likewise.
64938         * misc/reboot.c: Likewise.
64939         * misc/remap_file_pages.c: Likewise.
64940         * misc/removexattr.c: Likewise.
64941         * misc/revoke.c: Likewise.
64942         * misc/select.c: Likewise.
64943         * misc/setdomain.c: Likewise.
64944         * misc/setegid.c: Likewise.
64945         * misc/seteuid.c: Likewise.
64946         * misc/sethostid.c: Likewise.
64947         * misc/sethostname.c: Likewise.
64948         * misc/setregid.c: Likewise.
64949         * misc/setreuid.c: Likewise.
64950         * misc/setxattr.c: Likewise.
64951         * misc/sstk.c: Likewise.
64952         * misc/stty.c: Likewise.
64953         * misc/swapoff.c: Likewise.
64954         * misc/swapon.c: Likewise.
64955         * misc/sync.c: Likewise.
64956         * misc/syncfs.c: Likewise.
64957         * misc/syscall.c: Likewise.
64958         * misc/truncate.c: Likewise.
64959         * misc/ualarm.c: Likewise.
64960         * misc/usleep.c: Likewise.
64961         * misc/ustat.c: Likewise.
64962         * misc/utimes.c: Likewise.
64963         * misc/vhangup.c: Likewise.
64964         * misc/writev.c: Likewise.
64965         * posix/_exit.c: Likewise.
64966         * posix/alarm.c: Likewise.
64967         * posix/execve.c: Likewise.
64968         * posix/fexecve.c: Likewise.
64969         * posix/fork.c: Likewise.
64970         * posix/fpathconf.c: Likewise.
64971         * posix/getaddrinfo.c: Likewise.
64972         * posix/getegid.c: Likewise.
64973         * posix/geteuid.c: Likewise.
64974         * posix/getgid.c: Likewise.
64975         * posix/getgroups.c: Likewise.
64976         * posix/getlogin.c: Likewise.
64977         * posix/getlogin_r.c: Likewise.
64978         * posix/getpgid.c: Likewise.
64979         * posix/getpid.c: Likewise.
64980         * posix/getppid.c: Likewise.
64981         * posix/getresgid.c: Likewise.
64982         * posix/getresuid.c: Likewise.
64983         * posix/getsid.c: Likewise.
64984         * posix/getuid.c: Likewise.
64985         * posix/glob64.c: Likewise.
64986         * posix/nanosleep.c: Likewise.
64987         * posix/pathconf.c: Likewise.
64988         * posix/pause.c: Likewise.
64989         * posix/posix_madvise.c: Likewise.
64990         * posix/pread.c: Likewise.
64991         * posix/pread64.c: Likewise.
64992         * posix/pwrite.c: Likewise.
64993         * posix/pwrite64.c: Likewise.
64994         * posix/sched_getaffinity.c: Likewise.
64995         * posix/sched_getp.c: Likewise.
64996         * posix/sched_gets.c: Likewise.
64997         * posix/sched_primax.c: Likewise.
64998         * posix/sched_primin.c: Likewise.
64999         * posix/sched_rr_gi.c: Likewise.
65000         * posix/sched_setaffinity.c: Likewise.
65001         * posix/sched_setp.c: Likewise.
65002         * posix/sched_sets.c: Likewise.
65003         * posix/sched_yield.c: Likewise.
65004         * posix/setgid.c: Likewise.
65005         * posix/setlogin.c: Likewise.
65006         * posix/setpgid.c: Likewise.
65007         * posix/setresgid.c: Likewise.
65008         * posix/setresuid.c: Likewise.
65009         * posix/setsid.c: Likewise.
65010         * posix/setuid.c: Likewise.
65011         * posix/sleep.c: Likewise.
65012         * posix/spawni.c: Likewise.
65013         * posix/sysconf.c: Likewise.
65014         * posix/times.c: Likewise.
65015         * posix/wait.c: Likewise.
65016         * posix/wait3.c: Likewise.
65017         * posix/wait4.c: Likewise.
65018         * posix/waitpid.c: Likewise.
65019         * resolv/gai_sigqueue.c: Likewise.
65020         * resource/getpriority.c: Likewise.
65021         * resource/getrlimit.c: Likewise.
65022         * resource/getrusage.c: Likewise.
65023         * resource/nice.c: Likewise.
65024         * resource/setpriority.c: Likewise.
65025         * resource/setrlimit.c: Likewise.
65026         * resource/ulimit.c: Likewise.
65027         * rt/aio_cancel.c: Likewise.
65028         * rt/aio_fsync.c: Likewise.
65029         * rt/aio_read.c: Likewise.
65030         * rt/aio_sigqueue.c: Likewise.
65031         * rt/aio_suspend.c: Likewise.
65032         * rt/aio_write.c: Likewise.
65033         * rt/clock_getres.c: Likewise.
65034         * rt/clock_gettime.c: Likewise.
65035         * rt/clock_nanosleep.c: Likewise.
65036         * rt/clock_settime.c: Likewise.
65037         * rt/lio_listio.c: Likewise.
65038         * rt/mq_close.c: Likewise.
65039         * rt/mq_getattr.c: Likewise.
65040         * rt/mq_notify.c: Likewise.
65041         * rt/mq_open.c: Likewise.
65042         * rt/mq_receive.c: Likewise.
65043         * rt/mq_send.c: Likewise.
65044         * rt/mq_setattr.c: Likewise.
65045         * rt/mq_timedreceive.c: Likewise.
65046         * rt/mq_timedsend.c: Likewise.
65047         * rt/mq_unlink.c: Likewise.
65048         * rt/shm_open.c: Likewise.
65049         * rt/shm_unlink.c: Likewise.
65050         * rt/timer_create.c: Likewise.
65051         * rt/timer_delete.c: Likewise.
65052         * rt/timer_getoverr.c: Likewise.
65053         * rt/timer_gettime.c: Likewise.
65054         * rt/timer_settime.c: Likewise.
65055         * setjmp/__longjmp.c: Likewise.
65056         * setjmp/setjmp.c: Likewise.
65057         * signal/kill.c: Likewise.
65058         * signal/killpg.c: Likewise.
65059         * signal/raise.c: Likewise.
65060         * signal/sigaction.c: Likewise.
65061         * signal/sigaltstack.c: Likewise.
65062         * signal/sigblock.c: Likewise.
65063         * signal/sigignore.c: Likewise.
65064         * signal/sigintr.c: Likewise.
65065         * signal/signal.c: Likewise.
65066         * signal/sigpause.c: Likewise.
65067         * signal/sigpending.c: Likewise.
65068         * signal/sigqueue.c: Likewise.
65069         * signal/sigreturn.c: Likewise.
65070         * signal/sigset.c: Likewise.
65071         * signal/sigsetmask.c: Likewise.
65072         * signal/sigstack.c: Likewise.
65073         * signal/sigsuspend.c: Likewise.
65074         * signal/sigtimedwait.c: Likewise.
65075         * signal/sigvec.c: Likewise.
65076         * signal/sigwait.c: Likewise.
65077         * signal/sigwaitinfo.c: Likewise.
65078         * signal/sysv_signal.c: Likewise.
65079         * socket/accept.c: Likewise.
65080         * socket/accept4.c: Likewise.
65081         * socket/bind.c: Likewise.
65082         * socket/connect.c: Likewise.
65083         * socket/getpeername.c: Likewise.
65084         * socket/getsockname.c: Likewise.
65085         * socket/getsockopt.c: Likewise.
65086         * socket/isfdtype.c: Likewise.
65087         * socket/listen.c: Likewise.
65088         * socket/recv.c: Likewise.
65089         * socket/recvfrom.c: Likewise.
65090         * socket/recvmsg.c: Likewise.
65091         * socket/send.c: Likewise.
65092         * socket/sendmsg.c: Likewise.
65093         * socket/sendto.c: Likewise.
65094         * socket/setsockopt.c: Likewise.
65095         * socket/shutdown.c: Likewise.
65096         * socket/sockatmark.c: Likewise.
65097         * socket/socket.c: Likewise.
65098         * socket/socketpair.c: Likewise.
65099         * stdio-common/ctermid.c: Likewise.
65100         * stdio-common/cuserid.c: Likewise.
65101         * stdio-common/remove.c: Likewise.
65102         * stdio-common/rename.c: Likewise.
65103         * stdio-common/renameat.c: Likewise.
65104         * stdio-common/tempname.c: Likewise.
65105         * stdlib/getcontext.c: Likewise.
65106         * stdlib/makecontext.c: Likewise.
65107         * stdlib/setcontext.c: Likewise.
65108         * stdlib/swapcontext.c: Likewise.
65109         * stdlib/system.c: Likewise.
65110         * streams/fattach.c: Likewise.
65111         * streams/fdetach.c: Likewise.
65112         * streams/getmsg.c: Likewise.
65113         * streams/getpmsg.c: Likewise.
65114         * streams/putmsg.c: Likewise.
65115         * streams/putpmsg.c: Likewise.
65116         * sysdeps/unix/bsd/getpt.c: Likewise.
65117         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65118         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65119         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65121         Likewise.
65122         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65123         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65124         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65125         * sysvipc/msgctl.c: Likewise.
65126         * sysvipc/msgget.c: Likewise.
65127         * sysvipc/msgrcv.c: Likewise.
65128         * sysvipc/msgsnd.c: Likewise.
65129         * sysvipc/semctl.c: Likewise.
65130         * sysvipc/semget.c: Likewise.
65131         * sysvipc/semop.c: Likewise.
65132         * sysvipc/semtimedop.c: Likewise.
65133         * sysvipc/shmat.c: Likewise.
65134         * sysvipc/shmctl.c: Likewise.
65135         * sysvipc/shmdt.c: Likewise.
65136         * sysvipc/shmget.c: Likewise.
65137         * termios/tcdrain.c: Likewise.
65138         * termios/tcflow.c: Likewise.
65139         * termios/tcflush.c: Likewise.
65140         * termios/tcgetattr.c: Likewise.
65141         * termios/tcgetpgrp.c: Likewise.
65142         * termios/tcsendbrk.c: Likewise.
65143         * termios/tcsetattr.c: Likewise.
65144         * termios/tcsetpgrp.c: Likewise.
65145         * time/adjtime.c: Likewise.
65146         * time/clock.c: Likewise.
65147         * time/getitimer.c: Likewise.
65148         * time/gettimeofday.c: Likewise.
65149         * time/setitimer.c: Likewise.
65150         * time/settimeofday.c: Likewise.
65151         * time/stime.c: Likewise.
65152         * time/time.c: Likewise.
65154 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
65156         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
65157         /usr/old/bin.
65159         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
65160         instead of spaces.
65161         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
65163 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
65165         [BZ #14796]
65166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
65167         FE_TONEAREST before applying Dekker multiplication and Knuth
65168         addition.  Clear inexact exceptions and check for exact zero
65169         results afterwards.
65170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65171         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65172         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65173         * math/libm-test.inc (fma_test): Add more tests.
65174         (fma_test_towardzero): Likewise.
65175         (fma_test_downward): Likewise.
65176         (fma_test_upward): Likewise.
65177         * sysdeps/generic/math_private.h (default_libc_fesetround): New
65178         function.
65179         (libc_fesetround): New macro.
65180         (libc_fesetroundf): Likewise.
65181         (libc_fesetroundl): Likewise.
65182         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
65183         function.
65184         (libc_fesetround_387): Likewise.
65185         (libc_fesetroundf): New macro.
65186         (libc_fesetround): Likewise.
65187         (libc_fesetroundl): Likewise.
65188         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
65189         function.
65190         (libc_fesetroundf): New macro.
65191         (libc_fesetround): Likewise.
65192         (libc_fesetroundl): Likewise.
65193         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
65194         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
65195         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
65196         libm_hidden_ver.
65197         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
65198         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
65199         libm_hidden_def.
65200         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
65201         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
65202         libm_hidden_ver.
65203         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
65204         libm_hidden_def.
65206         [BZ #3439]
65207         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
65208         integer constant usable in #if and use that to give value to enum
65209         constant.
65210         (FE_DIVBYZERO): Likewise.
65211         (FE_UNDERFLOW): Likewise.
65212         (FE_OVERFLOW): Likewise.
65213         (FE_INVALID): Likewise.
65214         (FE_INVALID_SNAN): Likewise.
65215         (FE_INVALID_ISI): Likewise.
65216         (FE_INVALID_IDI): Likewise.
65217         (FE_INVALID_ZDZ): Likewise.
65218         (FE_INVALID_IMZ): Likewise.
65219         (FE_INVALID_COMPARE): Likewise.
65220         (FE_INVALID_SOFTWARE): Likewise.
65221         (FE_INVALID_SQRT): Likewise.
65222         (FE_INVALID_INTEGER_CONVERSION): Likewise.
65223         (FE_TONEAREST): Likewise.
65224         (FE_TOWARDZERO): Likewise.
65225         (FE_UPWARD): Likewise.
65226         (FE_DOWNWARD): Likewise.
65227         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
65228         (FE_DIVBYZERO): Likewise.
65229         (FE_OVERFLOW): Likewise.
65230         (FE_UNDERFLOW): Likewise.
65231         (FE_INEXACT): Likewise.
65232         (FE_TONEAREST): Likewise.
65233         (FE_DOWNWARD): Likewise.
65234         (FE_UPWARD): Likewise.
65235         (FE_TOWARDZERO): Likewise.
65236         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
65237         (FE_UNDERFLOW): Likewise.
65238         (FE_OVERFLOW): Likewise.
65239         (FE_DIVBYZERO): Likewise.
65240         (FE_INVALID): Likewise.
65241         (FE_TONEAREST): Likewise.
65242         (FE_TOWARDZERO): Likewise.
65243         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
65244         (FE_OVERFLOW): Likewise.
65245         (FE_UNDERFLOW): Likewise.
65246         (FE_DIVBYZERO): Likewise.
65247         (FE_INEXACT): Likewise.
65248         (FE_TONEAREST): Likewise.
65249         (FE_TOWARDZERO): Likewise.
65250         (FE_UPWARD): Likewise.
65251         (FE_DOWNWARD): Likewise.
65252         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
65253         (FE_DIVBYZERO): Likewise.
65254         (FE_OVERFLOW): Likewise.
65255         (FE_UNDERFLOW): Likewise.
65256         (FE_INEXACT): Likewise.
65257         (FE_TONEAREST): Likewise.
65258         (FE_DOWNWARD): Likewise.
65259         (FE_UPWARD): Likewise.
65260         (FE_TOWARDZERO): Likewise.
65262 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
65264         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
65266 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
65268         * scripts/cross-test-ssh.sh (command): Use newlines to separate
65269         commands.  Quote $PWD.
65270         (blacklist_exports): Don't use remove_newlines.  Replace "declare
65271         -x" by "export".
65272         (remove_newlines): Remove.
65274 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
65276         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
65277         * stdlib/stdlib.h (atof): Moved to ...
65278         * include/bits/stdlib-float.h: Here.  New file.
65279         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
65280         * stdlib/bits/stdlib-float.h: New file.
65281         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
65282         -mno-sse -mno-mmx.
65283         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
65284         <xmmintrin.h>.
65286 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
65288         * conform/conformtest.pl (@headers): Add fenv.h.
65289         * conform/data/fenv.h-data: New file.
65290         * include/fenv.h [_ISOMAC]: Disable all contents of file except
65291         include of <math/fenv.h>.
65293         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
65294         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
65295         && !UNIX98].  Enables tests for XOPEN2K8.
65296         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
65297         POSIX2008]: Likewise.
65299         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
65300         (struct rusage): Do not expect type or its members.
65302         [BZ #3439]
65303         * math/math.h (FP_NAN): Define macro to integer constant usable in
65304         #if and use that to give value to enum constant.
65305         (FP_INFINITE): Likewise.
65306         (FP_ZERO): Likewise.
65307         (FP_SUBNORMAL): Likewise.
65308         (FP_NORMAL): Likewise.
65310 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
65312         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65313         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65314         arguments.
65316 2012-11-02  Roland McGrath  <roland@hack.frob.com>
65318         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65319         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65320         autoconf-time if not.
65321         * configure.in: Remove AC_PREREQ.
65323 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65325         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65326         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65327         of the internal implementation.
65329 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
65331         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65332         except include of <misc/sys/syslog.h>.
65334 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65337         function returns with a NULL context exit with zero.
65339 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65341         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65343 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
65345         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65346         (run_program_cmd): This.
65347         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65348         (tst_langinfo): New variable.  Use it.
65350 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
65352         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65353         floating point opcodes.
65355 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65357         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65358         variable.
65360         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65362         * sysdeps/mach/hurd/powerpc: Remove directory.
65363         * sysdeps/mach/powerpc: Likewise.
65365 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
65367         * scripts/check-local-headers.sh: Ignore c++ headers.
65369 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65371         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65372         __libc_cleanup_region_start argument.
65374 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
65376         [BZ #14784]
65377         [BZ #14785]
65378         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65379         x * y using scaling, not as x * y + z.
65380         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65381         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65382         * math/libm-test.inc (fma_test): Add more tests.
65383         (fma_test_towardzero): Likewise.
65384         (fma_test_downward): Likewise.
65385         (fma_test_upward): Likewise.
65387 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
65389         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65391 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65393         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65394         New variable.
65396 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
65398         * rt/tst-shm.c (worker): Correct checking for mmap failure.
65400 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65403         Fix sort order.
65404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65405         Likewise.
65407 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65410         Fix the order of the list for glibc 2.17.
65411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65412         Likewise.
65414 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
65416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65418 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
65420         [BZ #14610]
65421         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65422         for low part of x being zero before using __atanl (y).
65423         * math/libm-test.inc (atan2_test): Add another test.
65425         * manual/install.texi (Configuring and compiling): Document
65426         general use of test-wrapper and test-wrapper-env.
65427         * INSTALL: Regenerated.
65429         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65430         (__fma): Do not extract and scale down low bits on after-rounding
65431         systems when result rounded to normal precision would have normal
65432         exponent.
65433         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65434         (__fmal): Do not extract and scale down low bits on after-rounding
65435         systems when result rounded to normal precision would have normal
65436         exponent.
65437         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65438         (__fmal): Do not extract and scale down low bits on after-rounding
65439         systems when result rounded to normal precision would have normal
65440         exponent.
65441         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65442         macro.
65443         (fma_test): Add more tests.
65444         (fma_test_towardzero): Likewise.
65445         (fma_test_downward): Likewise.
65446         (fma_test_upward): Likewise.
65448 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
65450         * sysdeps/i386/tininess.h: Renamed to ...
65451         * sysdeps/x86/tininess.h: This.
65452         * sysdeps/x86_64/tininess.h: Removed.
65454 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65456         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65457         input.  Use $(build-program-cmd).
65458         ($(objpfx)tst-array1-static.out): Likewise.
65459         ($(objpfx)tst-array2.out): Likewise.
65460         ($(objpfx)tst-array3.out): Likewise.
65461         ($(objpfx)tst-array4.out): Likewise.
65462         ($(objpfx)tst-array5.out): Likewise.
65463         ($(objpfx)tst-array5-static.out): Likewise.
65465 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
65467         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65468         if defined.
65470         * nss/nsswitch.h (nss_interface_function): Provide new
65471         macro for use with NSS functions.
65472         * grp/initgroups.c: Use new macro.
65473         * nss/getXXbyYY.c: Likewise.
65474         * nss/getXXbyYY_r.c: Likewise.
65475         * nss/getXXent.c: Likewise.
65476         * nss/getXXent_r.c: Likewise.
65477         * sysdeps/posix/getaddrinfo.c: Likewise.
65479 2012-10-30  Andreas Jaeger  <aj@suse.de>
65481         * po/ru.po: Update Russion translation from translation project.
65483 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
65485         [BZ #14152]
65486         [BZ #14783]
65487         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65488         result and shift together with sticky bit instead of replicating
65489         round-to-nearest rounding.
65490         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65491         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65492         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
65493         missing underflow exceptions.
65494         (fma_test_towardzero): Add more tests.
65495         (fma_test_downward): Likewise.
65496         (fma_test_upward): Likewise.
65498         [BZ #14047]
65499         * sysdeps/generic/tininess.h: New file.
65500         * sysdeps/i386/tininess.h: Likewise.
65501         * sysdeps/sh/tininess.h: Likewise.
65502         * sysdeps/x86_64/tininess.h: Likewise.
65503         * stdlib/tst-strtod-underflow.c: Likewise.
65504         * stdlib/tst-tininess.c: Likewise.
65505         * stdlib/strtod_l.c: Include <tininess.h>.
65506         (round_and_return): Do not set errno for exact underflow cases.
65507         Force an underflow exception when setting errno for underflow.
65508         Determine underflow based on rounding to normal precision if
65509         TININESS_AFTER_ROUNDING.
65510         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65511         ERANGE for exact underflow cases.
65512         * stdlib/Makefile (tests): Add tst-tininess and
65513         tst-strtod-underflow.
65514         ($(objpfx)tst-tininess): Use $(link-libm).
65515         ($(objpfx)tst-strtod-underflow): Likewise.
65517 2012-10-30  Andreas Jaeger  <aj@suse.de>
65519         [BZ#14767]
65520         * elf/Makefile (tests): Remove conditional for have-initfini-array
65521         since this is now always required and the variable does not exist
65522         anymore.
65523         (tests-static): Likewise.
65524         (modules-names): Likewise.
65526         * po/eo.po: Add Esperanto translation from translation project.
65528         * elf/tst-array1.c (fini_array): Make writeable so that it can be
65529         merged with constructor/destructor.
65530         (init_array): Likewise.
65531         * elf/tst-array2dep.c (fini_array): Likewise.
65532         (init_array): Likewise.
65534 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
65536         * manual/message.texi: Delete @cartouche tags.
65538 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
65540         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65541         EOPNOTSUPP.
65542         * sysdeps/mach/hurd/fsync.c: Likewise.
65544         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65545         [_POSIX_REALTIME_SIGNALS]: Change condition to
65546         [_POSIX_REALTIME_SIGNALS > 0].
65548 2012-10-27  Andreas Jaeger  <aj@suse.de>
65550         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65551         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65552         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65553         [__WORDSIZE != 64]: Likewise.
65555 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
65557         *  iconvdata/tst-table.sh: Remove ${SHELL}.
65558         *  iconvdata/tst-tables.sh: Likewise.
65560 2012-10-25  David S. Miller  <davem@davemloft.net>
65562         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65563         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65564         of strtoull.
65566         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65567         ifunc-impl-list.c
65568         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65569         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65570         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65571         file.
65573 2012-10-25  Roland McGrath  <roland@hack.frob.com>
65575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65576         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65577         __getdirentries.
65579 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65580             Jim Blandy  <jimb@codesourcery.com>
65582         * scripts/cross-test-ssh.sh: New file.
65583         * manual/install.texi (Configuring and compiling): Document use of
65584         cross-test-ssh.sh.
65585         * INSTALL: Regenerated.
65587 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
65589         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65590         EOPNOTSUPP.
65592 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
65594         * Makeconfig (run-program-prefix): Fix comment.
65596 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65597             Jim Blandy  <jimb@codesourcery.com>
65599         * Makeconfig (test-wrapper): New variable,
65600         (test-wrapper-env): Likewise.
65601         [$(cross-compiling) = yes && $(test-wrapper) != ""]
65602         (run-built-tests): Define to yes.
65603         (run-program-prefix): Use $(test-wrapper).
65604         (built-program-cmd): Likewise.
65605         * Rules (make-test-out): Use $(test-wrapper-env) and
65606         $(host-built-program-cmd).
65607         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65608         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65609         tst-pathopt.sh.
65610         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65611         $(test-wrapper-env) to tst-rtld-load-self.sh.
65612         ($(objpfx)order2.out): Use $(test-wrapper).
65613         ($(objpfx)tst-initorder.out): Likewise.
65614         ($(objpfx)tst-initorder2.out): Likewise.
65615         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65616         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65617         (test_wrapper_env): New variable.  Use it to run ld.so.
65618         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65619         Use it to run ld.so.
65620         (test_wrapper_env): Likewise.
65621         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65622         $(test-wrapper) to run-iconv-test.sh.
65623         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65624         (ICONV): Use $test_wrapper.
65625         * posix/Makefile ($(objpfx)globtest.out): Pass
65626         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65627         globtest.sh, not $(run-program-prefix).
65628         * posix/globtest.sh (run_via_rtld_prefix): New variable.
65629         (test_wrapper): Likewise.
65630         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
65631         set together with run_via_rtld_prefix.
65632         (run_program_prefix): Define in terms of test_wrapper and
65633         run_via_rtld_prefix.
65635 2012-10-24  Roland McGrath  <roland@hack.frob.com>
65637         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65638         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65639         Targets removed.
65641         [BZ #14743]
65642         * include/time.h: Remove librt_hidden_proto (clock_gettime).
65643         Declare __clock_getres, __clock_gettime, __clock_settime,
65644         __clock_nanosleep, and __clock_getcpuclockid.
65645         * rt/clock_gettime.c: Define __clock_gettime as an alias.
65646         Remove librt_hidden_def (clock_gettime).
65647         * sysdeps/unix/clock_gettime.c: Likewise.
65648         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65649         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65650         * rt/clock_getres.c: Define __clock_getres as an alias.
65651         * sysdeps/posix/clock_getres.c: Likewise.
65652         * rt/clock_settime.c: Define __clock_settime as an alias.
65653         * sysdeps/unix/clock_settime.c: Likewise.
65654         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65655         * sysdeps/unix/clock_nanosleep.c: Likewise.
65656         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65657         * rt/clock-compat.c: New file.
65658         * rt/Makefile (librt-routines): Add clock-compat and move
65659         $(clock-routines) to ...
65660         (routines): ... here, new variable.
65661         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65662         Don't add get_clockfreq here.
65663         * rt/Versions (libc: GLIBC_2.17): New version set.
65664         Add clock_* symbols here.
65665         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
65666         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65667         (GLIBC_2.17): Add clock_* symbols.
65668         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65669         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65670         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65672         Likewise.
65673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65674         Likewise.
65675         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65676         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65677         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65679         * NEWS: Mention the move.
65681         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65682         Use __open, __read, __close rather than their public counterparts.
65683         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65684         (__get_clockfreq_via_cpuinfo): Likewise.
65685         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65686         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65688         * config.h.in (HAVE_IFUNC): New #undef.
65689         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65690         was successful.
65691         * configure: Regenerated.
65693 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65695         * configure.in: Move READELF check to start of file.
65696         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65697         libc_cv_asm_gnu_indirect_function in the process.
65698         * configure: Regenerated.
65700 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
65702         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65703         send the output to /dev/null.
65704         (libc_cv_cc_with_libunwind): Likewise.
65705         (libc_cv_as_noexecstack): Likewise.
65706         * configure: Regenerate.
65708 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
65710         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65712         * posix/globtest.sh (TMPDIR): Do not set.
65713         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65714         (testout): Likewise.
65716 2012-10-24  Andreas Jaeger  <aj@suse.de>
65718         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65719         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65720         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65721         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65722         posix_fadvise64, posix_fallocate64.
65724         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65725         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65726         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65727         Likewise.
65728         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65729         Likewise.
65730         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65733         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65734         <bits/fcntl-linux.h>.
65735         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65737         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65738         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65739         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65740         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65741         [__WORDSIZE != 64]: Likewise.
65743 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65745         * Makeconfig (run-built-tests): New variable.
65746         * Rules [$(cross-compiling) = yes]: Change condition to
65747         [$(run-built-tests) = no].
65748         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65749         to [$(run-built-tests) = yes].
65750         * elf/Makefile [$(cross-compiling) = no]: Likewise.
65751         * grp/Makefile [$(cross-compiling) = no]: Likewise.
65752         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65753         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65754         * intl/Makefile [$(cross-compiling) = no]: Likewise.
65755         * io/Makefile [$(cross-compiling) = no]: Likewise.
65756         * libio/Makefile [$(cross-compiling) = no]: Likewise.
65757         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65758         * misc/Makefile [$(cross-compiling) = no]: Likewise.
65759         * posix/Makefile [$(cross-compiling) = no]: Likewise.
65760         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65761         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65762         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65763         * string/Makefile [$(cross-compiling) = no]: Likewise.
65765         * posix/Makefile ($(objpfx)globtest.out): Pass
65766         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65767         $(rtld-installed-name).
65768         * posix/globtest.sh (elf_objpfx): Remove variable.
65769         (rtld_installed_name): Likewise.
65770         (library_path): Likewise.
65771         (run_program_prefix): New variable.  Use for running globtest
65772         binary.
65774 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
65775             Joseph Myers  <joseph@codesourcery.com>
65777         * Makeconfig (host-built-program-cmd): New variable.
65778         * elf/Makefile (tst-stackguard1-ARGS): Use
65779         $(host-built-program-cmd).
65780         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65781         (tst-spawn-ARGS): Likewise.
65782         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65784 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
65785             Jim Blandy  <jimb@codesourcery.com>
65787         * Makeconfig (run-via-rtld-prefix): New variable.
65788         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65789         (built-program-cmd): Likewise.
65791 2012-10-22  Andreas Jaeger  <aj@suse.de>
65793         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65794         __O_RSYNC if it exists, otherwise to O_SYNC.
65796 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
65797             Joseph Myers  <joseph@codesourcery.com>
65799         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65800         /dev/null.
65801         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65802         from /dev/null
65803         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65804         /dev/null.
65806 2012-10-22  Andreas Jaeger  <aj@suse.de>
65808         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65809         Define always.
65810         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65812         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65813         bits/fcntl-linux.h.
65815         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65816         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65818         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65819         to __O_LARGEFILE.
65820         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65821         to __O_LARGEFILE.
65823 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
65824             Joseph Myers  <joseph@codesourcery.com>
65826         * config.make.in (NM): New variable.
65828 2012-10-21  Andreas Jaeger  <aj@suse.de>
65830         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65831         definitions and declarations that are provided by
65832         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65834 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65836         [BZ #14683]
65837         * elf/Makefile (tests-static): Add tst-leaks1-static.
65838         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65839         ($(objpfx)tst-leaks1-static): New rule.
65840         ($(objpfx)tst-leaks1-static-mem): Likewise.
65841         (tst-leaks1-static-ENV): New macro.
65842         * elf/dl-open.c (dl_open_worker): Check the main application
65843         only if SHARED is defined.
65844         * elf/tst-leaks1-static.c: New file.
65846 2012-10-20  Andreas Jaeger  <aj@suse.de>
65848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65849         generic values for Linux.
65850         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65851         and declarations that are provided by <bits/fcntl-linux.h> and
65852         include <bits/fcntl-linux.h>.
65853         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65854         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65856 2012-10-20  Roland McGrath  <roland@hack.frob.com>
65858         * io/fcntl.h: Move include of <bits/types.h> to the top and
65859         include it unconditionally.
65861 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
65863         * wcsmbs/Makefile (tests-ifunc): New variable.
65864         (tests): Add $(tests-ifunc).
65865         * wcsmbs/test-wcschr-ifunc.c: New file.
65866         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65867         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65868         * wcsmbs/test-wcslen-ifunc.c: Likewise.
65869         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65870         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65872         * string/Makefile (tests-ifunc): New variable.
65873         (tests): Add $(tests-ifunc).
65874         * string/test-memccpy.c (TEST_NAME): New macro.
65875         * string/test-memchr.c (TEST_NAME): Likewise.
65876         * string/test-memcmp.c (TEST_NAME): Likewise.
65877         * string/test-memcpy.c (TEST_NAME): Likewise.
65878         * string/test-memmem.c (TEST_NAME): Likewise.
65879         * string/test-memmove.c (TEST_NAME): Likewise.
65880         * string/test-memset.c (TEST_NAME): Likewise.
65881         * string/test-rawmemchr.c (TEST_NAME): Likewise.
65882         * string/test-stpcpy.c (TEST_NAME): Likewise.
65883         * string/test-stpncpy.c (TEST_NAME): Likewise.
65884         * string/test-strcasecmp.c (TEST_NAME): Likewise.
65885         * string/test-strcasestr.c (TEST_NAME): Likewise.
65886         * string/test-strcat.c (TEST_NAME): Likewise.
65887         * string/test-strchr.c (TEST_NAME): Likewise.
65888         * string/test-strcmp.c(TEST_NAME): Likewise.
65889         * string/test-strcpy.c (TEST_NAME): Likewise.
65890         * string/test-strcspn.c (TEST_NAME): Likewise.
65891         * string/test-strlen.c (TEST_NAME): Likewise.
65892         * string/test-strncasecmp.c (TEST_NAME): Likewise.
65893         * string/test-strncmp.c (TEST_NAME): Likewise.
65894         * string/test-strncpy.c (TEST_NAME): Likewise.
65895         * string/test-strnlen.c (TEST_NAME): Likewise.
65896         * string/test-strpbrk.c (TEST_NAME): Likewise.
65897         * string/test-strrchr.c (TEST_NAME): Likewise.
65898         * string/test-strspn.c (TEST_NAME): Likewise.
65899         * string/test-strstr.c (TEST_NAME): Likewise.
65900         * string/test-bcopy-ifunc.c: New file.
65901         * string/test-bzero-ifunc.c: Likewise.
65902         * string/test-memccpy-ifunc.c: Likewise.
65903         * string/test-memchr-ifunc.c: Likewise.
65904         * string/test-memcmp-ifunc.c: Likewise.
65905         * string/test-memcpy-ifunc.c: Likewise.
65906         * string/test-memmem-ifunc.c: Likewise.
65907         * string/test-memmove-ifunc.c: Likewise.
65908         * string/test-mempcpy-ifunc.c: Likewise.
65909         * string/test-memset-ifunc.c: Likewise.
65910         * string/test-rawmemchr-ifunc.c: Likewise.
65911         * string/test-stpcpy-ifunc.c: Likewise.
65912         * string/test-stpncpy-ifunc.c: Likewise.
65913         * string/test-strcasecmp-ifunc.c: Likewise.
65914         * string/test-strcasestr-ifunc.c: Likewise.
65915         * string/test-strcat-ifunc.c: Likewise.
65916         * string/test-strchr-ifunc.c: Likewise.
65917         * string/test-strchrnul-ifunc.c: Likewise.
65918         * string/test-strcmp-ifunc.c: Likewise.
65919         * string/test-strcpy-ifunc.c: Likewise.
65920         * string/test-strcspn-ifunc.c: Likewise.
65921         * string/test-strlen-ifunc.c: Likewise.
65922         * string/test-strncasecmp-ifunc.c: Likewise.
65923         * string/test-strncat-ifunc.c: Likewise.
65924         * string/test-strncmp-ifunc.c: Likewise.
65925         * string/test-strncpy-ifunc.c: Likewise.
65926         * string/test-strnlen-ifunc.c: Likewise.
65927         * string/test-strpbrk-ifunc.c: Likewise.
65928         * string/test-strrchr-ifunc.c: Likewise.
65929         * string/test-strspn-ifunc.c: Likewise.
65930         * string/test-strstr-ifunc.c: Likewise.
65932         * debug/Makefile (tests-ifunc): New variable.
65933         (tests): Add $(tests-ifunc).
65934         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65935         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65936         * debug/test-stpcpy_chk-ifunc.c: New file.
65937         * debug/test-strcpy_chk-ifunc.c: Likewise.
65939 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
65941         [BZ #13601]
65942         * elf/dl-load.c (open_verify): Retry read if the entire ELF
65943         header is not read in.
65945 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
65947         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
65948         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
65949         directly.  Pass built executable to script as
65950         $(built-program-cmd).
65951         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
65952         $testprogram without using LD_LIBRARY_PATH and $ldso.
65954         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65955         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65956         $(rtld-installed-name).
65957         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65958         (rtld_installed_name): Likewise.
65959         (library_path): Likewise.
65960         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
65961         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65962         $(run-program-prefix) to tst-tables.sh.
65963         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
65964         it to run tst-table-from and tst-table-to.
65965         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65966         Pass it to tst-table.sh.
65967         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65968         $(run-program-prefix) to tst-gettext.sh.
65969         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65970         tst-translit.sh.
65971         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65972         tst-gettext2.sh.
65973         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
65974         to run tst-gettext.
65975         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
65976         to run tst-gettext2.
65977         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
65978         to run tst-translit.
65979         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65980         $(run-program-prefix) to tst-mtrace.sh.
65981         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
65982         to run tst-mtrace.
65983         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65984         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65985         $(rtld-installed-name).
65986         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65987         (rtld_installed_name): Likewise.
65988         (run_program_prefix): New variable.  Use it to run wordexp-test.
65990         * Makeconfig (ARCH): Remove all definitions.
65991         (machine): Likewise.
65992         [ARCH]: Remove conditional code.
65993         [!objdir]: Give error.
65994         [!objdir] (objpfx): Remove.
65995         [!objdir] (common-objpfx): Likewise.
65996         [!objdir] (common-objdir): Likewise.
65997         * configure.in (config_makefile): Remove.  Hardcode Makefile in
65998         AC_CONFIG_FILES call.
65999         * configure: Regenerated.
66001         [BZ #13888]
66002         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
66003         or TMPDIR.
66004         (testout): Likewise.
66006         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
66007         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
66008         $(rtld-installed-name).
66009         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
66010         (rtld_installed_name): Likewise.
66011         (runit): Remove function.
66012         (run_getconf): New variable,  Use it for running getconf binary.
66014 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
66016         [BZ #14716]
66017         * string/test-memmem.c (check_result): New function.
66018         (do_one_test): Use it.
66019         (check1): New function.
66020         (test_main): Use it.
66022 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
66024         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
66026 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
66028         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
66029         (_G_LSEEK64): Likewise.
66030         (_G_MMAP64): Likewise.
66031         (_G_FSTAT64): Likewise.
66032         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
66033         (_G_LSEEK64): Likewise.
66034         (_G_MMAP64): Likewise.
66035         (_G_FSTAT64): Likewise.
66036         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
66037         unconditional.  Call __mmap64 directly.
66038         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
66039         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
66040         __lseek64 directly.
66041         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
66042         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
66043         __mmap64 directly.
66044         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
66045         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66046         __lseek64 directly.
66047         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
66048         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
66049         __lseek64 directly.
66050         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
66051         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
66052         __lseek64 directly.
66053         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
66054         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
66055         __fxstat64 directly.
66056         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
66057         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
66058         unconditional.
66059         (freopen64) [!_G_OPEN64]: Remove conditional code.
66060         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
66061         unconditional.
66062         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
66063         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
66064         unconditional.
66065         (ftello64) [!_G_LSEEK64]: Remove conditional code.
66066         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
66067         unconditional.
66068         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66069         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
66070         unconditional.
66071         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
66072         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
66073         unconditional.
66074         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66075         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
66076         unconditional.
66077         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66078         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66079         unconditional.
66080         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66082 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
66084         [BZ #12140]
66085         * manual/memory.texi (Malloc Tunable Parameters): Add note
66086         about free list pointers overwriting some perturb bytes.
66087         Wording suggested by Roland McGrath.
66089 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
66091         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66092         (lgamma_test): Likewise.
66093         (tgamma_test): Likewise.
66095 2012-10-16  Florian Weimer  <fweimer@redhat.com>
66097         [BZ #14700]
66098         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66099         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66101 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
66103         * NEWS: Mention BZ #14716.
66104         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66105         when removing AVAILABLE1_USES_J macro.
66107 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
66109         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66110         (__bswap_64): __uint64_t for unsigned 64-bit int.
66112 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
66114         * include/string.h (memmem): Declare libc hidden alias.
66115         * string/memmem.c (memmem): Define libc hidden alias.
66116         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66117         __read, __close instead of open, read, close.
66119 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
66121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66122         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66123         global and hidden.
66124         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66125         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66126         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66127         Likewise.
66128         (__rawmemchr_sse2): Likewise.
66129         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66130         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66131         (__strchr_sse2): Likewise.
66132         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66133         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66134         (__strcasecmp_sse2): Likewise.
66135         (__strncasecmp_sse2): Likewise.
66136         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
66137         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
66138         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
66139         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
66140         (__strrchr_sse2): Likewise.
66141         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
66142         ifunc-impl-list.c.
66143         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
66144         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
66145         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
66146         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66147         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
66148         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
66149         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66150         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66151         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
66152         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
66153         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
66154         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
66155         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
66156         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
66157         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
66158         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
66159         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
66160         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
66161         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
66162         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
66163         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
66164         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
66165         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66166         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66167         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
66168         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66169         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
66170         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66171         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
66172         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
66174         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
66175         global and hidden.
66176         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
66177         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
66178         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
66179         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
66180         Likewise.
66181         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
66182         Likewise.
66183         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66184         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
66185         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
66186         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
66187         ifunc-impl-list.c.
66188         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66189         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66190         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66191         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66192         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66193         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66194         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66195         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66196         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66197         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66198         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66199         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66200         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66201         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
66202         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
66203         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66204         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
66205         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
66206         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66207         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66208         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66209         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66210         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66211         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66212         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66213         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
66214         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
66215         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
66216         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
66217         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66218         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
66219         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66220         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66221         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
66222         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66223         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66224         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66225         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66226         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66227         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66228         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
66230         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
66231         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
66232         * include/ifunc-impl-list.h: New file.
66233         * misc/ifunc-impl-list.c: Likewise.
66234         * misc/Makefile (routines): Add ifunc-impl-list.
66235         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
66236         * string/test-string.h: Include <ifunc-impl-list.h>.
66237         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
66238         TEST_NAME]: New variables.
66239         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
66240         are defined.
66241         (test_init): Call __libc_ifunc_impl_list to initialize
66242         func_list if TEST_IFUNC and TEST_NAME are defined.
66244         * string/Makefile (strop-tests): Add bcopy and bzero.
66245         * string/test-bcopy.c: New file.
66246         * string/test-bzero.c: Likewise.
66247         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
66248         defined.
66249         * string/test-memset.c: Support bzero test if TEST_BZERO is
66250         defined.
66251         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
66252         __libc_memmove.
66253         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
66254         __libc_memset.
66255         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
66256         of memset.
66258 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
66260         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
66261         * configure: Regenerated.
66263         * Makeconfig (+link-static-before-libc): Don't include
66264         $(link-static-libc).
66266         * libio/libio.h (_IO_pos_t): Remove.
66268 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
66270         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
66271         McGrath.
66273 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
66275         * crypt/crypt-entry.c: Include fips-private.h.
66276         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
66277         * crypt/md5c-test.c (main): Tolerate disabled MD5.
66278         * sysdeps/unix/sysv/linux/fips-private.h: New file.
66279         * sysdeps/generic/fips-private.h: New file, dummy fallback.
66281 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
66283         * crypt/crypt-private.h: Include stdbool.h.
66284         (_ufc_setup_salt_r): Return bool.
66285         * crypt/crypt-entry.c: Include errno.h.
66286         (__crypt_r): Return NULL with EINVAL for bad salt.
66287         * crypt/crypt_util.c (bad_for_salt): New.
66288         (_ufc_setup_salt_r): Check that salt is long enough and within
66289         the specified alphabet.
66290         * crypt/badsalttest.c: New file.
66291         * crypt/Makefile (tests): Add it.
66292         ($(objpfx)badsalttest): New.
66294 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
66296         * NEWS: Add entry for BZ #14602.
66298 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
66300         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
66301         type-generic.
66302         * math/libm-test.inc: Update comment listing what functions and
66303         macros are tested.
66304         (isgreater_test): New function.
66305         (isgreaterequal_test): Likewise.
66306         (isless_test): Likewise.
66307         (islessequal_test): Likewise.
66308         (islessgreater_test): Likewise.
66309         (isunordered_test): Likewise.
66310         (main): Call the new functions.
66312 2012-10-09  Roland McGrath  <roland@hack.frob.com>
66314         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66315         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66316         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66317         * sysdeps/i386/configure: Regenerated.
66318         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66319         * sysdeps/mach/configure: Regenerated.
66320         * sysdeps/mach/hurd/configure: Regenerated.
66321         * sysdeps/powerpc/configure: Regenerated.
66322         * sysdeps/powerpc/powerpc32/configure: Regenerated.
66323         * sysdeps/powerpc/powerpc64/configure: Regenerated.
66324         * sysdeps/s390/s390-32/configure: Regenerated.
66325         * sysdeps/s390/s390-64/configure: Regenerated.
66326         * sysdeps/sh/configure: Regenerated.
66327         * sysdeps/sparc/configure: Regenerated.
66328         * sysdeps/unix/sysv/linux/configure: Regenerated.
66329         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66330         * sysdeps/x86_64/configure: Regenerated.
66332         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66333         defined.  Don't check if MAP is NULL.
66335 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
66337         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66338         (_G_stat64): Likewise.
66339         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66340         (_G_stat64): Likewise.
66341         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66342         instead of struct _G_stat64.
66343         * libio/fileops.c (mmap_remap_check): Likewise.
66344         (decide_maybe_mmap): Likewise.
66345         (_IO_new_file_seekoff): Likewise.
66346         (_IO_file_stat): Likewise.
66347         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66348         _G_off64_t.
66349         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66350         instead of struct _G_stat64.
66351         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66353 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
66355         [BZ #14602]
66356         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66357         Replace with ...
66358         (CHECK_EOL): New macro.
66359         (two_way_short_needle): Check beginning of haystack for EOL.  Use
66360         CHECK_EOL.
66361         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66362         Replace with CHECK_EOL.
66363         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66364         Replace with CHECK_EOL.
66366 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
66368         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66369         type-generic.
66370         * math/libm-test.inc: Update comment listing what functions and
66371         macros are tested.
66372         (finite_test): New function.
66373         (isinf_test): Likewise.
66374         (isnan_test): Likewise.
66375         (fpclassify_test): Test subnormal input.
66376         (isfinite_test): Likewise.
66377         (isnormal_test): Likewise.
66378         (main): Call the new functions.
66380 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
66382         [BZ #14660]
66383         * Makerules (%.dynsym): Force C locale when running
66384         $(OBJDUMP) --dynamic-syms.
66386 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
66388         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66389         <stdint.h>.
66391 2012-10-06  David S. Miller  <davem@davemloft.net>
66393         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66394         upper 32-bits of the length value in %o2 since we use branch-on-register
66395         tests which consider the entire 64-bit register.
66397 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
66399         * string/test-strstr.c (check2): Add a test for page boundary.
66401 2012-10-05  David S. Miller  <davem@davemloft.net>
66403         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66404         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66405         file.
66406         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66407         sysdep_routines.
66408         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66409         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66410         and bzero when HWCAP_SPARC_CRYPTO is present.
66412 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
66414         [BZ #14602]
66415         * string/test-strstr.c (check2): New function.
66416         (test_main): Call check2.
66418         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66419         and bug-strchr1.
66420         * string/bug-strcasestr1.c (do_test): Moved to ...
66421         * string/test-strcasestr.c (check1): Here.  New function.
66422         (do_one_test): Break out result checking code into ...
66423         (check_result): This.  New function.
66424         (do_one_test): Call check_result.
66425         (test_main): Call check1.
66426         * string/bug-strchr1.c (do_test): Moved to ...
66427         * string/test-strchr.c (check1): Here.  New function.
66428         (do_one_test): Break out result checking code into ...
66429         (check_result): This.  New function.
66430         (do_one_test): Call check_result.
66431         (test_main): Call check1.
66432         * string/bug-strstr1.c (main): Moved to ...
66433         * string/test-strstr.c (check1): Here.  New function.
66434         (do_one_test): Break out result checking code into ...
66435         (check_result): This.  New function.
66436         (do_one_test): Call check_result.
66437         (test_main): Call check1.
66438         * string/bug-strcasestr1.c: Removed.
66439         * string/bug-strchr1.c: Likewise.
66440         * string/bug-strstr1.c: Likewise.
66442         * elf/Makefile (dl-routines): Add hwcaps.
66443         * elf/dl-support.c (_dl_important_hwcaps): Removed.
66444         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66445         (_dl_important_hwcaps): Moved to ...
66446         * elf/dl-hwcaps.c: Here.  New file.
66447         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66449         [BZ #14557]
66450         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66451         if IS_IN_rtld isn't defined.
66453         * elf/dl-support.c (_dl_sysinfo_map): New.
66454         Include "get-dynamic-info.h" and "setup-vdso.h".
66455         (_dl_non_dynamic_init): Call setup_vdso.
66456         * elf/dynamic-link.h: Don't include <assert.h>.
66457         (elf_get_dynamic_info): Moved to ...
66458         * elf/get-dynamic-info.h: Here.  New file.
66459         * elf/dynamic-link.h: Include "get-dynamic-info.h".
66460         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66461         * elf/setup-vdso.h: Here.  New file.
66462         * elf/rtld.c: Include "setup-vdso.h".
66463         (dl_main): Call setup_vdso.
66465 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
66467         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66468         creal in comment listing functions tested.  List finite, isinf,
66469         isnan, isless, islessequal, isgreater, isgreaterequal,
66470         islessgreater, isunordered, lgamma_r and pow10 as functions and
66471         macros not tested.  Mention which functions not tested are aliases
66472         for other functions.  Fix typo.  Note that signs of NaNs are not
66473         tested.
66475         * scripts/config.guess: Update from config.git.
66476         * scripts/config.sub: Likewise.
66478 2012-10-04  Roland McGrath  <roland@hack.frob.com>
66480         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66481         * misc/madvise.c (madvise): Renamed to __madvise.
66482         Make madvise a weak alias.
66483         * include/sys/mman.h: Declare __madvise.
66484         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66485         * sysdeps/unix/syscalls.list
66486         (madvise): Make __madvise the strong name, and madvise a weak alias.
66487         * sysdeps/unix/sysv/linux/syscalls.list
66488         (madvise, mmap): Remove redundant entries.
66489         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66490         * malloc/malloc.c (mtrim): Likewise.
66491         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66493 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66495         * sysdeps/mach/hurd/dl-cache.c: File removed.
66496         * config.h.in (USE_LDCONFIG): New #undef.
66497         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66498         * configure: Regenerated.
66499         * elf/Makefile (dl-routines): Add dl-cache only under
66500         [$(use-ldconfig) = yes].
66501         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66502         cache on [USE_LDCONFIG].
66503         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66504         [USE_LDCONFIG].
66505         * elf/rtld.c (dl_main): Likewise.
66507 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
66509         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66510         _SC_LEVEL4_CACHE_LINESIZE.
66512 2012-10-03  Roland McGrath  <roland@hack.frob.com>
66514         * sysdeps/unix/bsd/confstr.h: File removed.
66516 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
66518         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66519         sys/sdt-config.h.
66521 2012-10-02  Roland McGrath  <roland@hack.frob.com>
66523         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66524         Make 'mapoff' field ElfW(Off) rather than off_t.
66526 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
66528         * nscd/Makefile: Remove nscd-cflags and all its users.
66529         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66530         (CFLAGS-nonlib): Add compiler flags for nscd modules.
66532         [BZ #10631]
66533         * malloc.c (malloc_printerr): Clarify error message.
66535 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
66537         [BZ #14648]
66538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66539         Set bit_FMA_Usable if FMA is supported.
66540         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66541         macro.
66542         (bit_FMA4_Usable): Updated.
66543         (index_FMA_Usable): New macro.
66544         (CPUID_FMA): Likewise.
66545         (HAS_FMA): Defined with bit_FMA_Usable.
66547 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66549         * bits/types.h (__swblk_t): Type removed.
66550         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66551         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66552         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66553         (__SWBLK_T_TYPE): Likewise.
66554         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66555         (__SWBLK_T_TYPE): Likewise.
66556         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66557         (__SWBLK_T_TYPE): Likewise.
66558         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66559         (__SWBLK_T_TYPE): Likewise.
66561 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
66562             Honza Horak <hhorak@redhat.com>
66564         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66565         (xdr_mapname): Use YPMAXMAP as maxsize.
66566         (xdr_peername): Use YPMAXPEER as maxsize.
66567         (xdr_keydat): Use YPAXRECORD as maxsize.
66568         (xdr_valdat): Use YPMAXRECORD as maxsize.
66570 2012-10-01  Roland McGrath  <roland@hack.frob.com>
66572         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66574         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66575         * csu/init-first.c: ... here.
66576         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66577         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66578         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66579         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66580         * sysdeps/i386/init-first.c: File removed.
66581         * sysdeps/sh/init-first.c: File removed.
66583 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
66585         [BZ #14645]
66586         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66587         if x * y might underflow to zero and z is zero.
66588         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66589         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66590         * math/libm-test.inc (min_subnorm_value): New variable.
66591         (fma_test): Add more tests.
66592         (fma_test_towardzero): Likewise.
66593         (fma_test_downward): Likewise.
66594         (fma_test_upward): Likewise.
66595         (initialize): Set min_subnorm_value.
66597 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
66599         [BZ #14638]
66600         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66601         0 + 0.
66602         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66603         mode for addition resulting in exact zero.
66604         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66606         exact 0 + 0.
66607         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66608         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66609         * math/libm-test.inc (fma_test): Add more tests.
66610         (fma_test_towardzero): New function.
66611         (fma_test_downward): Likewise.
66612         (fma_test_upward): Likewise.
66613         (main): Call the new functions.
66615 2012-09-28  David S. Miller  <davem@davemloft.net>
66617         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66619 2012-09-28  Roland McGrath  <roland@hack.frob.com>
66621         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66622         instead of SIGALRM.
66624         * sysdeps/gnu/_G_config.h: Moved to ...
66625         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66626         * sysdeps/mach/hurd/_G_config.h: Moved to ...
66627         * sysdeps/generic/_G_config.h: ... here.
66629         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
66631         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66633         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66634         Conditionalize target on [libnss_test1.so-version].
66636         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66638         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66639         (elfobjdir): Move out of conditionals.
66641         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66642         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66643         (__nss_lookup_function): Conditionalize label remove_from_tree on
66644         [!DO_STATIC_NSS || SHARED], matching its only use.
66646 2012-09-28  David S. Miller  <davem@davemloft.net>
66648         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66649         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66650         file.
66651         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66652         sysdep_routines.
66653         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66654         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66655         when HWCAP_SPARC_CRYPTO is present.
66657 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66659         * io/tst-mknodat.c: Create a FIFO instead of a socket.
66661 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
66663         [BZ #6530]
66664         * stdio-common/vfprintf.c (process_string_arg): Revert
66665         2000-07-22 change.
66667 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
66669         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66670         for testcase.
66671         * stdio-common/tst-sprintf.c: Include <locale.h>
66672         (main): Test sprintf's handling of incomplete multibyte
66673         characters.
66675 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
66677         * elf/dl-runtime.c (VERSYMIDX): Removed.
66678         * elf/dl-version.c (VERSYMIDX): Likewise.
66679         * elf/do-rel.h (VERSYMIDX): Likewise.
66680         (VALIDX): Likewise.
66681         * elf/dynamic-link.h (VERSYMIDX): Likewise.
66682         * elf/rtld.c (VALIDX): Likewise.
66683         (ADDRIDX): Likewise.
66684         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66685         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66686         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66687         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66688         (VALIDX): Likewise.
66689         (ADDRIDX): Likewise.
66691 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66693         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66695 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
66697         [BZ #11438]
66698         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66699         to global scope.
66700         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66701         addresses are in the same scope as 192.0.2/24.
66702         * posix/gai.conf: Document new scope table defaults.
66704 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66706         [BZ #5298]
66707         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66708         for ftell.  Compute offsets from write pointers instead.
66709         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66711 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66713         [BZ #14543]
66714         * libio/Makefile (tests): New test case tst-fseek.
66715         * libio/tst-fseek.c: New test case to verify that fseek/ftell
66716         combination works in wide mode.
66717         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66718         state when the external buffer state changes.
66720 2012-09-27  David S. Miller  <davem@davemloft.net>
66722         [BZ #14376]
66723         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66724         pass reloc->r_addend in as the 'high' argument to
66725         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66727         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66729 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
66731         * rt/tst-aio2.c: Include <pthread.h>.
66732         * rt/tst-aio3.c: Likewise.
66734 2012-09-27  Steve Ellcey  <sellcey@mips.com>
66736         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66738 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
66740         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66741         contents on [SHARED].
66743 2012-09-26  Marek Polacek  <polacek@redhat.com>
66745         [BZ #14530]
66746         [BZ #13741]
66747         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66748         for C++ and GCC <4.3 as well as for non GCC compilers.
66750 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
66752         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66754 2012-09-25  Roland McGrath  <roland@hack.frob.com>
66756         * Makefile.in (all, install): Declare with .PHONY.
66757         Reported by Michael Hope <michael.hope@linaro.org>.
66759 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66761         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66762         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66763         system header.
66764         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66765         Likewise.
66766         (sydep_routines): Add the new and the internal functions.
66767         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66768         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66770         (GLIBC_2.17): Add the new function.
66771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66772         (GLIBC_2.17): Likewise.
66773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66774         (GLIBC_2.17): Likewise.
66775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66776         (GLIBC_2.17): Likewise.
66777         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66779 2012-09-25  Alan Modra  <amodra@gmail.com>
66781         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66782         Add release barrier before setting once_control to say
66783         initialisation is done.  Add hints on lwarx.  Use macro in
66784         place of isync.
66785         (clear_once_control): Add release barrier.
66787 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66789         [BZ #13629]
66790         * math/s_clog.c (__clog): Handle more values close to |z| = 1
66791         specially.
66792         * math/s_clog10.c (__clog10): Likewise.
66793         * math/s_clog10f.c (__clog10f): Likewise.
66794         * math/s_clog10l.c (__clog10l): Likewise.
66795         * math/s_clogf.c (__clogf): Likewise.
66796         * math/s_clogl.c (__clogl): Likewise.
66797         * math/Makefile (libm-calls): Add x2y2m1.
66798         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66799         (__x2y2m1): Likewise.
66800         (__x2y2m1l): Likewise.
66801         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66802         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66803         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66804         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66805         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66806         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66807         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66808         * sysdeps/i386/fpu/libm-test-ulps: Update.
66809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66811         [BZ #14621]
66812         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66813         int as type of variable DEPTH.
66814         (glob): Use size_t instead of int as type of variables NEWCOUNT
66815         and OLD_PATHC.
66817 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
66819         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66820         Add s_sincosf-sse2.
66821         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66822         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66823         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66824         macros for using routine as __sincosf_ia32.
66825         Use macro for function declaration and weak_alias.
66826         * sysdeps/i386/fpu/libm-test-ulps: Update.
66828         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66831         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66832         subnormal argument.
66833         * math/s_cexpf.c (__cexpf): Likewise.
66834         * math/s_csinf.c (__csinf): Likewise.
66835         * math/s_csinhf.c (__csinhf): Likewise.
66836         * math/s_ctanf.c (__ctanf): Likewise.
66837         * math/s_ctanhf.c (__ctanhf): Likewise.
66838         * math/s_ccosh.c (__ccoshf): Likewise.
66839         * math/s_cexp.c (__cexpl): Likewise.
66840         * math/s_csin.c (__csin): Likewise.
66841         * math/s_csinh.c (__csinh): Likewise.
66842         * math/s_ctan.c (__ctan): Likewise.
66843         * math/s_ctanh.c (ctanh): Likewise.
66844         * math/s_ccoshl.c (__ccoshl): Likewise.
66845         * math/s_cexpl.c (__cexpl): Likewise.
66846         * math/s_csinl.c (__csinl): Likewise.
66847         * math/s_csinhl.c (__csinhl): Likewise.
66848         * math/s_ctanl.c (__ctanl): Likewise.
66849         * math/s_ctanhl.c (__ctanhl): Likewise.
66851 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
66853         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66854         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66855         (_IO_off_t): Define to __off_t, not _G_off_t.
66856         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66857         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66858         (_IO_wint_t): Define to wint_t, not _G_wint_t.
66859         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66860         type of __dummy and __dummy2 fields.
66861         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66862         (_G_ssize_t): Likewise.
66863         (_G_off_t): Likewise.
66864         (_G_pid_t): Likewise.
66865         (_G_uid_t): Likewise.
66866         (_G_wchar_t): Likewise.
66867         (_G_wint_t): Likewise.
66868         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66869         (_G_ssize_t): Likewise.
66870         (_G_off_t): Likewise.
66871         (_G_pid_t): Likewise.
66872         (_G_uid_t): Likewise.
66873         (_G_wchar_t): Likewise.
66874         (_G_wint_t): Likewise.
66875         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66876         (_G_ssize_t): Likewise.
66877         (_G_off_t): Likewise.
66878         (_G_pid_t): Likewise.
66879         (_G_uid_t): Likewise.
66880         (_G_wchar_t): Likewise.
66881         (_G_wint_t): Likewise.
66883 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66885         * malloc/arena.c: Include malloc-sysdep.h.
66886         (shrink_heap): Use check_may_shrink_heap to decide if madvise
66887         is sufficient to shrink the heap or an unmap is needed.
66888         * sysdeps/generic/malloc-sysdep.h: New file.  Define
66889         new function check_may_shrink_heap.
66890         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
66891         new function check_may_shrink_heap.
66893 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
66895         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66896         comments.
66898 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
66900         * catgets/test-gencat.sh: Add "set -e".
66901         * elf/tst-pathopt.sh: Likewise.
66902         * grp/tst_fgetgrent.sh: Likewise.
66903         * iconvdata/run-iconv-test.sh: Likewise.
66904         * intl/tst-gettext.sh: Likewise.
66905         * intl/tst-gettext2.sh: Likewise.
66906         * intl/tst-gettext4.sh: Likewise.
66907         * intl/tst-gettext6.sh: Likewise.
66908         * intl/tst-translit.sh: Likewise.
66909         * io/ftwtest-sh: Likewise.
66910         * libio/test-freopen.sh: Likewise.
66911         * malloc/tst-mtrace.sh: Likewise.
66912         * posix/globtest.sh: Likewise.
66913         * posix/tst-getconf.sh: Likewise.
66914         * posix/wordexp-tst.sh: Likewise.
66915         * stdio-common/tst-printf.sh: Likewise.
66916         * stdio-common/tst-unbputc.sh: Likewise.
66917         * stdlib/tst-fmtmsg.sh: Likewise.
66918         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66919         * catgets/Makefile: Do not specify -e option when running
66920         testsuite shell scripts.
66921         * elf/Makefile: Likewise.
66922         * grp/Makefile: Likewise.
66923         * iconvdata/Makefile: Likewise.
66924         * intl/Makefile: Likewise.
66925         * io/Makefile: Likewise.
66926         * libio/Makefile: Likewise.
66927         * malloc/Makefile: Likewise.
66928         * posix/Makefile: Likewise.
66929         * stdio-common/Makefile: Likewise.
66930         * stdlib/Makefile: Likewise.
66931         * sysdeps/x86_64/Makefile: Likewise.
66933         * io/ftwtest-sh: Add copyright header.
66934         * posix/globtest.sh: Likewise.
66935         * posix/tst-getconf.sh: Likewise.
66936         * posix/wordexp-tst.sh: Likewise.
66937         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66939 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
66941         [BZ #13679]
66942         * Makeconfig (+link): Defined as $(+link-static) if
66943         $(build-shared) isn't yes.
66944         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66945         isn't yes.
66946         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66948         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66950         [BZ #14562]
66951         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66952         new chunk size with MALLOC_ALIGN_MASK.
66954 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
66956         [BZ #5044]
66957         * stdio-common/printf_fphex.c: Include <stdbool.h> and
66958         <rounding-mode.h>.
66959         (__printf_fphex): Determine rounding using get_rounding_mode and
66960         round_away.
66961         * stdio-common/tst-printf-round.c (struct hex_test): New
66962         structure.
66963         (hex_tests): New variable.
66964         (test_hex_in_one_mode): New function.
66965         (do_test): Also run tests for hex float output.
66967 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
66969         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66970         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66971         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66972         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66973         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66974         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66975         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66976         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66978 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
66980         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66981         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66982         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66983         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66985 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
66987         [BZ #14579]
66988         * elf/rtld.c (dl_main): Limit the check for self loading to normal
66989         mode only.
66990         * elf/tst-rtld-load-self.sh: New test.
66991         * elf/Makefile: Run it.
66993 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
66995         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66996         (tst-writev-ENV): Remove.
66997         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66999 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
67001         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
67003 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
67005         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
67006         unconditional.
67007         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
67008         Likewise.
67009         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
67010         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
67011         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
67012         Likewise.
67014 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
67016         [BZ #14587]
67017         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
67018         * config.make.in (have-cpp-asm-debuginfo): Removed.
67019         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
67020         * configure: Regenerated.
67022 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
67024         [BZ #5044]
67025         * stdio-common/printf_fp.c: Include <stdbool.h> and
67026         <rounding-mode.h>.
67027         (___printf_fp): Determine rounding using get_rounding_mode and
67028         round_away.
67029         * stdio-common/tst-printf-round.c: New file.
67030         * stdio-common/Makefile (tests): Add tst-printf-round.
67031         (link-libm): New variable.
67032         ($(objpfx)tst-printf-round): Depend in $(link-libm).
67034 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
67036         [BZ #14576]
67037         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
67038         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
67039         Likewise.
67040         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
67041         Likewise.
67043 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
67045         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
67046         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67047         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67048         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
67050 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
67052         [BZ #14518]
67053         * include/rounding-mode.h: New file.
67054         * sysdeps/generic/get-rounding-mode.h: Likewise.
67055         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
67056         * stdlib/strtod_l.c: Include <rounding-mode.h>.
67057         (MAX_VALUE): New macro.
67058         (MIN_VALUE): Likewise.
67059         (overflow_value): New function.
67060         (underflow_value): Likewise.
67061         (round_and_return): Use overflow_value and underflow_value to
67062         determine return values in overflow and underflow cases.  Use
67063         round_away to determine rounding depending on rounding mode.
67064         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
67065         determine return values in overflow and underflow cases.
67066         * stdlib/tst-strtod-round.c: Include <fenv.h>.
67067         (struct test_results): New structure.
67068         (struct test): Use struct test_results to store expected results
67069         for all rounding modes.
67070         (TEST): Include expected results for all rounding modes.
67071         (test_in_one_mode): New function.
67072         (do_test): Use test_in_one_mode to compute and check results.
67073         Check results for all rounding modes.
67074         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
67075         $(link-libm).
67077 2012-12-09  Allan McRae  <allan@archlinux.org>
67079         * sysdeps/i386/fpu/libm-test-ulps: Update
67081 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
67083         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67084         (_G_int32_t): Likewise.
67085         (_G_uint16_t): Likewise.
67086         (_G_uint32_t): Likewise.
67087         (_G_HAVE_BOOL): Likewise.
67088         (_G_HAVE_ATEXIT): Likewise.
67089         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67090         (_G_HAVE_IO_FILE_OPEN): Likewise.
67091         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67092         (_G_int32_t): Likewise.
67093         (_G_uint16_t): Likewise.
67094         (_G_uint32_t): Likewise.
67095         (_G_HAVE_BOOL): Likewise.
67096         (_G_HAVE_ATEXIT): Likewise.
67097         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67098         (_G_HAVE_IO_FILE_OPEN): Likewise.
67099         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67100         (_G_int32_t): Likewise.
67101         (_G_uint16_t): Likewise.
67102         (_G_uint32_t): Likewise.
67103         (_G_HAVE_BOOL): Likewise.
67104         (_G_HAVE_ATEXIT): Likewise.
67105         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67106         (_G_HAVE_IO_FILE_OPEN): Likewise.
67108 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
67110         * csu/libc-tls.c: Update copyright years.
67112 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
67114         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67115         [!_G_USING_THUNKS]: Remove conditional code.
67116         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67117         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67119         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67120         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67121         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67122         (_G_VTABLE_LABEL_PREFIX): Likewise.
67123         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67124         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67125         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67126         (_G_VTABLE_LABEL_PREFIX): Likewise.
67127         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67128         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67129         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67130         (_G_VTABLE_LABEL_PREFIX): Likewise.
67131         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67133 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
67135         * libio/Makefile: Include ../Makeconfig before tests.
67136         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
67137         only if $(build-shared) is yes.
67139         * iconv/gconv_db.c: Update copyright years.
67141 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67143         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
67144         unwind info if defined PIC. Fix special cases description.
67145         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67147         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
67148         DP_HI_MASK entry.
67149         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
67151 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
67153         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
67155         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
67156         is NULL.
67158         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
67159         (LDLIBS-tst-chk4): This.
67160         (LDFLAGS-tst-chk5): Renamed to ...
67161         (LDLIBS-tst-chk5): This.
67162         (LDFLAGS-tst-chk6): Renamed to ...
67163         (LDLIBS-tst-chk6): This.
67164         (LDFLAGS-tst-lfschk4): Renamed to ...
67165         (LDLIBS-tst-lfschk4): This.
67166         (LDFLAGS-tst-lfschk5): Renamed to ...
67167         (LDLIBS-tst-lfschk5): This.
67168         (LDFLAGS-tst-lfschk6): Renamed to ...
67169         (LDLIBS-tst-lfschk6): This.
67171         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
67172         on $(common-objpfx)soversions.mk.
67174 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
67176         [BZ #10014]
67177         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67178         example host name.
67180 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
67182         * malloc/arena.c (arena_get_retry): New function that gets
67183         another arena for the caller to try its request on.
67184         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
67185         current arena cannot fulfill the request.
67186         (__libc_memalign): Likewise.
67187         (__libc_memalign): Likewise.
67188         (__libc_pvalloc): Likewise.
67189         (__libc_calloc): Likewise.
67191 2012-09-05  John Tobey  <john.tobey@gmail.com>
67193         [BZ #13542]
67194         * manual/arith.texi (Operations on Complex): Fix description
67195         of carg branch cut.
67197 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
67199         [BZ #10014]
67200         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
67201         host name.
67203         [BZ #10038]
67204         * manual/memory.texi (Memory): Make order of menu items match
67205         order of sections.
67207 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
67209         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
67210         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
67211         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
67213 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
67215         * csu/libc-tls.c (static_dtv): Renamed to ...
67216         (_dl_static_dtv): This.  Make it global.
67217         (_dl_initial_dtv): Removed.
67218         (__libc_setup_tls): Updated.
67219         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
67220         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
67221         DL_INITIAL_DTV.
67223 2012-09-06  Petr Machata  <pmachata@redhat.com>
67225         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
67226         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
67227         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
67228         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
67230 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
67232         [BZ #14545]
67233         * csu/libc-tls.c (_dl_initial_dtv): New variable.
67234         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
67235         freeing dtv[-1].
67237 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
67239         [BZ #14544]
67240         * Makeconfig (link-static-before-libc): Replace $(+prector)
67241         with $(+prectorT).
67242         (link-static-after-libc): Replace $(+postctor) with
67243         $(+postctorT).
67244         (link-bounded): Replace $(+prector)/$(+postctor) with
67245         $(+prectorT)/$(+postctorT).
67246         (+prectorT): New macro.
67247         (+postctorT): Likewise.
67249 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
67251         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
67252         (round_str): Handle values above the maximum for IBM long double
67253         as inexact.
67254         * stdlib/tst-strtod-round.c (tests): Regenerated.
67256 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67258         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
67259         assembler flag.
67260         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
67261         zarch_nohighgprs around the zarch optimized routines.
67262         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
67263         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
67264         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
67265         for zarch.
67267 2012-09-05  David S. Miller  <davem@davemloft.net>
67269         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67271         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
67272         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
67273         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
67274         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67275         entries.
67277 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67279         * malloc/arena.c: Fold copyright years.
67280         * malloc/mcheck.c, malloc/memusage.c: Likewise.
67282 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67284         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
67286 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67288         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
67290 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67292         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
67293         change internal state upon failure.
67295 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
67297         * malloc/mcheck.c (mcheck_check_all): Fix typo.
67298         * malloc/memusage.c (mmap): Likewise.
67299         (mmap64, mremap): Likewise.  Adjust name in comment.
67301 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
67303         * libio/fileops.c: Fix typos in comments.
67304         * libio/oldfileops.c: Likewise.
67305         * libio/wfileops.c: Likewise.
67307 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
67309         [BZ #1349]
67310         * malloc/Makefile (tests): Add tst-malloc-usable test case.
67311         (tst-malloc-usable-ENV): Set environment for test case.
67312         * malloc/hooks.c (malloc_check_get_size): New function to get
67313         requested size.
67314         * malloc/malloc.c (musable): Use malloc_check_get_size.
67315         * malloc/tst-malloc-usable.c: New test case.
67317 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67319         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67321 2012-09-05  Allan McRae  <allan@archlinux.org>
67323         [BZ #13966]
67324         * configure.in (CXX_SYSINCLUDES): Use compiler output to
67325         determine header location.
67326         * configure: Regenerated.
67328 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
67330         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67331         float format.
67332         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67333         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67334         format.
67335         (test): Regenerate.
67337 2012-09-04  David S. Miller  <davem@davemloft.net>
67339         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67340         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67341         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67343 2012-09-04  Florian Weimer  <fweimer@redhat.com>
67345         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67346         failures.
67348         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67350 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
67352         [BZ #9914]
67353         * libio/iogetdelim.c: Include <limits.h>.
67354         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67355         + len + 1 would overflow.
67357 2012-09-03  Andreas Jaeger  <aj@suse.de>
67359         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67360         * sysdeps/i386/fpu/libm-test-ulps: Update.
67362 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67364         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67365         Add s_sinf-sse2, s_conf-sse2.
67367         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67368         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67369         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67370         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67372         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67373         for using routine as __sinf_ia32.
67374         Use macro for function declaration and weak_alias.
67375         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67376         for using routine as __cosf_ia32.
67377         Use macro for function declaration and weak_alias.
67379         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67380         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67382         * sysdeps/x86_64/fpu/s_sinf.S: New file.
67383         * sysdeps/x86_64/fpu/s_cosf.S: New file.
67384         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67386         * math/libm-test.inc (cos_test): Add more test cases.
67387         (sin_test): Likewise.
67388         (sincos_test): Likewise.
67390 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67392         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67393         (IFUNC_RESOLVE): Make pointers to the specialized implementations
67394         hidden.
67395         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67397 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
67399         [BZ #14538]
67400         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67401         first element of the GOT.
67402         (elf_machine_load_address): Return the difference between
67403         the runtime address of _DYNAMIC and elf_machine_dynamic ().
67405 2012-09-01  Allan McRae  <allan@archlinux.org>
67407         [BZ #13412]
67408         * configure.in (AWK): Require gawk version 3.0 or later.
67409         * configure: Regenerated.
67411 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
67413         * sysdeps/unix/sysv/linux/kernel-features.h
67414         (__ASSUME_POSIX_CPU_TIMERS): Remove.
67415         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67416         [__NR_clock_getres]: Make code unconditional.
67417         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67418         (clock_getcpuclockid): Remove code left unreachable by removal of
67419         conditionals.
67420         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67421         code unconditional.
67422         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67423         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67424         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67425         Make code unconditional.
67426         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67427         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67428         * sysdeps/unix/sysv/linux/clock_settime.c
67429         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67430         conditional code.
67431         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67432         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67434 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
67436         [BZ #14476]
67437         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67438         scripts/test-installation.pl.
67440         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67441         and $ld_so_version if it is set.
67443 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
67445         [BZ #14516]
67446         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67447         failure if reading from procfs failed.
67448         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67450 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67452         * sysdeps/unix/sysv/linux/kernel-features.h
67453         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67454         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67455         Remove conditional code.
67456         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67457         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67458         Remove conditional code.
67459         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67460         * sysdeps/unix/sysv/linux/i386/fxstat.c
67461         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67462         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67463         * sysdeps/unix/sysv/linux/i386/fxstatat.c
67464         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67465         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67466         * sysdeps/unix/sysv/linux/i386/lxstat.c
67467         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67468         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67469         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67470         Remove conditional code.
67471         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67472         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67473         Remove conditional code.
67474         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67475         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67476         <kernel-features.h>.
67477         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67478         Remove.
67479         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67480         Remove conditional code.
67481         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67482         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67483         Remove conditional.
67485 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
67487         [BZ #5400]
67488         * NEWS: Add fixed bug number.
67490 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
67492         [BZ #14519]
67493         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67494         underflowing exponent in case of negative sign.
67495         * stdlib/tst-strtod-round-data: Add more tests.
67496         * stdlib/tst-strtod-round.c (tests): Regenerated.
67498         [BZ #3479]
67499         * stdlib/strtod_l.c (NDIG): Remove.
67500         (HEXNDIG): Likewise.
67501         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67502         smallest representable value.
67503         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67504         lie within an exact representation of 1/2 ulp of the result.
67505         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67506         unconditionally.
67507         (TENS_P9_IDX): Define unconditionally.
67508         (TENS_P9_SIZE): Likewise.
67509         (TENS_P10_IDX): Likewise.
67510         (TENS_P10_SIZE): Likewise.
67511         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67512         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67513         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67514         entries for 10^2^13 and 10^2^14.
67515         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67516         (TENS_P13_IDX): Define.
67517         (TENS_P13_SIZE): Likewise.
67518         (TENS_P14_IDX): Likewise.
67519         (TENS_P14_SIZE): Likewise.
67520         (_fpioconst_pow10): Change array size to
67521         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
67522         unconditional.
67523         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67524         1024]: Add entries for 10^2^13 and 10^2^14.
67525         [LAST_POW10 > _LAST_POW10]: Remove #error.
67526         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67527         (_fpioconst_pow10): Change array size to
67528         FPIOCONST_POW10_ARRAY_SIZE.
67529         * stdlib/gen-fpioconst.c: New file.
67530         * stdlib/gen-tst-strtod-round.c: Likewise.
67531         * stdlib/tst-strtod-round-data: Likewise.
67532         * stdlib/tst-strtod-round.c: Likewise.
67533         * stdlib/Makefile (tests): Add tst-strtod-round.
67535         [BZ #14459]
67536         * stdlib/strtod_l.c: Include <stdint.h>.
67537         (NDEBUG): Do not define.
67538         (round_and_return): Change EXPONENT parameter to type intmax_t.
67539         Rearrange calculations to avoid internal overflow possibilities.
67540         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67541         Rearrange calculations to avoid internal overflow possibilities.
67542         Assert that number fits inside MPNSIZE limbs.
67543         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67544         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
67545         calculations and add assertions to avoid internal overflow
67546         possibilities.  Add casts to avoid signed/unsigned operations.
67547         * stdlib/tst-strtod-overflow.c: New file.
67548         * stdlib/Makefile (tests): Add tst-strtod-overflow.
67550 2012-08-25  Marek Polacek  <polacek@redhat.com>
67552         * time/time.h: Fix some typos in comments.
67554 2012-08-23  Roland McGrath  <roland@hack.frob.com>
67556         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67557         * posix/tst-rfc3484-2.c: Likewise.
67558         * posix/tst-rfc3484-3.c: Likewise.
67560 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
67562         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67563         (EF_ARM_ABI_FLOAT_HARD): Likewise.
67565 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
67567         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67568         #include of fxstatat64.c.
67570 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67572         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67573         * shadow/getspent_r.c: Likewise.
67574         * shadow/getspnam.c: Likewise.
67575         * shadow/getspnam_r.c: Likewise.
67576         * gshadow/getsgent.c: Likewise.
67577         * gshadow/getsgent_r.c: Likewise.
67578         * gshadow/getsgnam.c: Likewise.
67579         * gshadow/getsgnam_r.c: Likewise.
67580         * inet/getnetbyad.c: Likewise.
67581         * inet/getnetbyad_r.c: Likewise.
67582         * inet/getnetbynm.c: Likewise.
67583         * inet/getnetbynm_r.c: Likewise.
67584         * inet/getnetent.c: Likewise.
67585         * inet/getnetent_r.c: Likewise.
67586         * inet/getproto.c: Likewise.
67587         * inet/getproto_r.c: Likewise.
67588         * inet/getprtent.c: Likewise.
67589         * inet/getprtent_r.c: Likewise.
67590         * inet/getprtname.c: Likewise.
67591         * inet/getprtname_r.c: Likewise.
67592         * inet/getrpcbyname.c: Likewise.
67593         * inet/getrpcbyname_r.c: Likewise.
67594         * inet/getrpcbynumber.c: Likewise.
67595         * inet/getrpcbynumber_r.c: Likewise.
67596         * inet/getrpcent.c: Likewise.
67597         * inet/getrpcent_r.c: Likewise.
67598         * inet/getaliasent.c: Likewise.
67599         * inet/getaliasent_r.c: Likewise.
67600         * inet/getaliasname.c: Likewise.
67601         * inet/getaliasname_r.c: Likewise.
67602         * nscd/getgrgid_r.c: Likewise.
67603         * nscd/getgrnam_r.c: Likewise.
67604         * nscd/gethstbyad_r.c: Likewise.
67605         * nscd/gethstbynm3_r.c: Likewise.
67606         * nscd/getpwnam_r.c: Likewise.
67607         * nscd/getpwuid_r.c: Likewise.
67608         * nscd/getsrvbynm_r.c: Likewise.
67609         * nscd/getsrvbypt_r.c: Likewise.
67610         * nscd/gai.c: Likewise.
67612         * configure.in (build_nscd): New substituted variable, set
67613         by --disable-build-nscd and defaults to $use_nscd.
67614         * configure: Regenerated.
67615         * config.make.in (build-nscd): New substituted variable.
67616         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67617         Change conditional to require [$(build-nscd) = yes] as well.
67618         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67620         [BZ# 13696]
67621         * configure.in (use_nscd): New substituted variable, set by
67622         --disable-nscd.  If enabled, define USE_NSCD.
67623         * configure: Regenerated.
67624         * config.h.in: Add USE_NSCD.
67625         * config.make.in (use-nscd): New substituted variable.
67626         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67627         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67628         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67629         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67630         (CFLAGS-getgrnam_r.c): Likewise.
67631         (CFLAGS-initgroups.c): Likewise.
67632         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67633         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67634         Variables removed.
67635         * inet/getnetgrent_r.c
67636         (nscd_setnetgrent): New function, broken out of ...
67637         (setnetgrent): ... here.  Call it.
67638         (innetgr): Conditionalize nscd bits on [USE_NSCD].
67639         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67640         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67641         * nscd/Makefile (routines, aux): Move definitions after include of
67642         Makeconfig.  Conditionalize on [$(use-nscd) != no].
67643         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67644         Conditionalize on [USE_NSCD].
67645         (is_nscd, nscd_init_cb): Likewise.
67646         (nss_load_library): Conditionalize init callback on [USE_NSCD].
67647         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67648         * nss/nss_db/db-init.c: Likewise.
67649         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67650         [USE_NSCD].
67651         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67652         (make_request): Use it.
67653         (cache_valid_p): New function.
67654         (__check_pf): Use it.
67655         * NEWS: Add item for --disable-nscd.
67657 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
67659         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67660         to support sed >= 4.2.1-20-ga9bf076.
67661         * configure: Regenerated.
67663 2012-08-22  Roland McGrath  <roland@hack.frob.com>
67665         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67666         Conditionalize whole body on [IREL].
67668 2012-08-22  Jeff Law <law@redhat.com>
67670         [BZ #14505]
67671         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67672         if the family is PF_UNSPEC.
67674 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
67676         * Makerules (lib-version): Rename from V.
67677         (install-lib-nosubdir): Change V to lib-version.
67679 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
67681         [BZ #14252]
67682         * powerpc32/power6/wcschr.c: New file.
67683         * powerpc32/power6/wcscpy.c: New file.
67684         * powerpc32/power6/wcsrchr.c: New file.
67685         * powerpc64/power6/wcschr.c: New file.
67686         * powerpc64/power6/wcscpy.c: New file.
67687         * powerpc64/power6/wcsrchr.c: New file.
67689 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67691         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67692         (two_way_short_needle): Use it.
67693         * string/strstr.c (AVAILABLE1_USES_J): Define.
67694         * string/strcasestr.c: Likewise.
67696         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67697         array references.
67698         * string/strcasestr.c (TOLOWER): Make side-effect safe.
67700         [BZ #11607]
67701         * NEWS: Add an entry.
67702         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67703         define their defaults.
67704         (two_way_short_needle): Detect end-of-string on-the-fly.
67705         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67706         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67707         * string/bug-strcasestr1.c: New test.
67708         * string/Makefile: Run it.
67710 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
67712         [BZ #11607]
67713         * string/str-two-way.h (two_way_short_needle): Optimize matching of
67714         the first character.
67716 2012-08-21  Roland McGrath  <roland@hack.frob.com>
67718         * csu/elf-init.c (__libc_csu_irel): Function removed.
67719         * csu/libc-start.c (apply_irel): New function.
67720         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67722 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
67724         * sysdeps/unix/sysv/linux/kernel-features.h
67725         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67726         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67727         <kernel-features.h>.
67728         [__NR_fadvise64_64]: Make code unconditional.
67729         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67730         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67731         !__NR_fadvise64_64)]: Likewise.
67732         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67733         !__NR_fadvise64_64))]: Likewise.
67734         [__NR_fadvise64]: Make code unconditional.
67735         [!__NR_fadvise64]: Remove conditional code.
67736         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67737         <kernel-features.h>.
67738         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67739         unconditional.
67740         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67741         conditional code.
67742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67743         not include <kernel-features.h>.
67744         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67745         unconditional.
67746         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67747         conditional code.
67748         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67749         include <kernel-features.h>.
67750         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67751         unconditional.
67752         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67753         conditional code.
67755 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
67757         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67758         slight instruction rearrangements per scrollpipe analysis.
67759         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67761 2012-08-20  Roland McGrath  <roland@hack.frob.com>
67763         * manual/syslog.texi (syslog; vsyslog, closelog):
67764         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67765         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67767         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67768         DSOCAPS to match condition on defining it.
67770 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
67772         * sysdeps/unix/sysv/linux/kernel-features.h
67773         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67775         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67776         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67778         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67779         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67781         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67782         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67784         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67785         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67787         * sysdeps/unix/sysv/linux/kernel-features.h
67788         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67789         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67790         unconditional.
67791         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67792         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67793         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67794         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67795         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67796         Make code unconditional.
67797         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67798         (__mmap64) [!__NR_mmap2]: Likewise.
67799         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67800         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67801         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67802         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67803         [__NR_mmap2]: Make code unconditional.
67804         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67805         (__mmap64) [!__NR_mmap2]: Likewise.
67807 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67809         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67811 2012-08-18  Andreas Jaeger  <aj@suse.de>
67813         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67815 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67817         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67818         * include/unistd.h (__have_sock_cloexec): Likewise.
67819         (__have_pipe2): Likewise.
67820         (__have_dup3): Likewise.
67822 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
67824         [BZ #9685]
67825         * include/unistd.h (__have_pipe2): Change define into an extern int.
67826         (__have_dup3): Likewise.
67827         * socket/have_sock_cloexec.c: Include fcntl.h.
67828         (__have_pipe2): New variable.
67829         (__have_dup3): Likewise.
67831 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
67833         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67835 2012-08-17  Marek Polacek  <polacek@redhat.com>
67837         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67838         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67840 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67842         * configure.in: Add AC_SUBST for sysheaders.
67843         * configure: Regenerated.
67844         * config.make.in (sysheaders): New substituted variable.
67846         * sysdeps/unix/mkfifo.c: Moved ...
67847         * sysdeps/posix/mkfifo.c: ... here.
67848         * sysdeps/unix/mkfifoat.c: Moved ...
67849         * sysdeps/posix/mkfifoat.c: ... here.
67851         * sysdeps/unix/utime.c: Moved ...
67852         * sysdeps/posix/utime.c: ... here.
67854         * sysdeps/unix/time.c: Moved ...
67855         * sysdeps/posix/time.c: ... here.
67856         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67857         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67859         * sysdeps/unix/nice.c: Moved ...
67860         * sysdeps/posix/nice.c: ... here.
67862         * sysdeps/unix/alarm.c: Moved ...
67863         * sysdeps/posix/alarm.c: ... here.
67865         * intl/Makefile ($(codeset_mo)): Depend on the input file.
67867 2012-08-17  Jeff Law <law@redhat.com>
67869         * intl/Makefile (codeset_mo): New variable.
67870         ($(codeset_mo)): New target.
67871         (tst-codeset.out): Depend on that.  Remove explicit rule.
67872         (tst-gettext3.out, tst-gettext5.out): Likewise.
67873         (LOCPATH-ENV, tst-codeset-ENV): New variables.
67874         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67875         * intl/tst-codeset.sh: Remove.
67876         * intl/tst-gettext3.sh: Likewise.
67877         * intl/tst-gettext5.sh: Likewise.
67879 2012-08-17  Roland McGrath  <roland@hack.frob.com>
67881         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
67882         * sysdeps/unix/syscalls.list: ... here.
67884         * sysdeps/posix/getaddrinfo.c
67885         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67886         (gaiconf_init, gaiconf_reload): Use them.
67887         [!_STATBUF_ST_NSEC]
67888         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67889         Define using time_t rather than struct timespec.
67891         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67892         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67893         Macros removed.
67894         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67895         [!NO_THREADS].
67896         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67897         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67898         Likewise.
67900         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67901         __libc_cleanup_push argument.
67903         * bits/param.h: New file.
67904         * misc/sys/param.h: New file.
67905         * include/sys/param.h: New file.
67906         * misc/Makefile (headers): Add bits/param.h.
67907         * sysdeps/generic/sys/param.h: File removed.
67908         * sysdeps/unix/sysv/linux/bits/param.h: New file.
67909         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67910         * sysdeps/mach/hurd/bits/param.h: New file.
67911         * sysdeps/mach/hurd/sys/param.h: File removed.
67913         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67914         last change.
67916         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67917         [_IO_MTSAFE_IO].
67918         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67919         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67920         New macros.
67922         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67923         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67924         rather than -D_IO_MTSAFE_IO conditionally.
67925         * stdio-common/Makefile (CPPFLAGS): Likewise.
67926         * wcsmbs/Makefile (CPPFLAGS): Likewise.
67927         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67928         Use $(libio-mtsafe).
67929         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67930         of -D_IO_MTSAFE_IO.
67931         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67932         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67933         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67934         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67935         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67936         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67937         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67938         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67939         (CFLAGS-fread_u_chk.c): Likewise.
67940         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67941         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67942         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67943         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67944         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67945         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67946         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67947         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67948         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67950         * libio/Makefile: Test [$(libc-reentrant) = yes]
67951         instead of [$(filter %REENTRANT, $(defines)) nonempty].
67953         * Makeconfig
67954         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67955         * sysdeps/pthread/configure: File removed.
67956         * sysdeps/pthread/Makeconfig: New file.
67957         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67958         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67960 2012-08-16  Gary Benson  <gbenson@redhat.com>
67962         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67963         unmapping the first object in a namespace.
67965 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67967         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67968         (__internal_setnetgrent): ... this.  Add internal_function to
67969         definition.  Add libc_hidden_def.
67970         (setnetgrent): Update caller.
67971         (internal_endnetgrent): Renamed to ...
67972         (__internal_endnetgrent): ... this.  Add internal_function to
67973         definition.  Add libc_hidden_def.
67974         (endnetgrent): Update caller.
67975         (internal_getnetgrent_r): Renamed to ...
67976         (__internal_getnetgrent_r): ... this.  Add internal_function to
67977         definition.  Add libc_hidden_def.
67978         (__getnetgrent_r): Update caller.
67979         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
67981 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
67983         * stdlib/longlong.h: Update from GCC.
67985 2012-08-16  Roland McGrath  <roland@hack.frob.com>
67987         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67988         on _QL, which is set by umul_ppmm but never used.
67989         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67990         variables, which are set by GMP macros but never used.
67991         * stdio-common/_itowa.c (_itowa): Likewise.
67992         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67993         * stdlib/mod_1.c (mpn_mod_1): Likewise.
67995 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
67997         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67998         struct La_sh_regs is not constant.
67999         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
68000         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
68001         and struct La_sparc64_regs are not constant.
68003 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
68005         * sysdeps/unix/sysv/linux/kernel-features.h
68006         (__ASSUME_POSIX_TIMERS): Remove.
68007         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
68008         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68009         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
68010         Make code unconditional.
68011         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68012         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
68013         Make code unconditional.
68014         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68015         * sysdeps/unix/sysv/linux/clock_nanosleep.c
68016         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
68017         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68018         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
68019         Make code unconditional.
68020         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
68021         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
68022         (__libc_missing_posix_timers): Remove.
68024 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68026         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
68027         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
68029         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
68031         * elf/dl-sym.c: Include <stdlib.h>.
68033         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
68034         constants, which avoids warnings in 32-bit builds.
68036         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
68037         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
68039         * misc/lseek.c: File moved to ...
68040         * io/lseek.c: ... here.
68042         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
68044         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
68045         shifting LEN more than 31 bits at once.
68047 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68049         [BZ #14195]
68050         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
68051         segmentation fault for a case of two empty input strings.
68052         * string/test-strncasecmp.c (check1): Renamed to...
68053         (bz12205): ...this.
68054         (bz14195): Add new testcase for two empty input strings and N > 0.
68055         (test_main): Call new testcase, adapt for renamed function.
68057 2012-08-15  Andreas Jaeger  <aj@suse.de>
68059         [BZ #14090]
68060         * crypt/md5test2.c: New test, based on test supplied by Serge
68061         Belyshev <belyshev@depni.sinp.msu.ru>.
68062         * crypt/Makefile (xtests): Add md5test-giant..
68063         * crypt/Makefile ($(objpfx)md5test-giant): Add.
68065 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
68067         [BZ #14090]
68068         * crypt/md5.c (md5_process_block): Don't assume the buffer
68069         length is less than 2**32.
68070         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
68071         length is less than 2**64.
68073 2012-08-15  Roland McGrath  <roland@hack.frob.com>
68075         * string/str-two-way.h: Include <sys/param.h>.
68076         (MAX): Macro removed.
68078         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68079         Move #define and #undef of memmove to just before and after
68080         including <string.h>.
68082         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68083         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68084         and after including <string.h>.  Move declarations of
68085         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68086         to before #include "string/memmove.c".
68088         * include/dirent.h: Declare __getdirentries.
68090         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68091         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68093 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
68095         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68096         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68097         * sysdeps/i386/configure: Regenerated.
68098         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68099         STABS_CURRENT_FILE, and STABS_FUN.
68100         (END): Remove call to STABS_FUN_END.
68101         (STABS_CURRENT_FILE1): Delete.
68102         (STABS_CURRENT_FILE): Likewise.
68103         (STABS_FUN): Likewise.
68104         (STABS_FUN_END): Likewise.
68105         (STABS_FUN2): Likewise.
68106         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68107         * sysdeps/x86_64/configure: Regenerated.
68109 2012-08-14  Roland McGrath  <roland@hack.frob.com>
68111         * elf/dl-open.c: Include <atomic.h>.
68112         * elf/dl-lookup.c: Likewise.
68114 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
68116         * sysdeps/unix/sysv/linux/kernel-features.h
68117         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68118         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68119         unconditionally.
68120         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68121         unconditionally.
68122         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68123         condition on __ASSUME_CLONE_THREAD_FLAGS.
68125 2012-08-14  Andreas Jaeger  <aj@suse.de>
68127         * sysdeps/i386/fpu/libm-test-ulps: Update.
68129 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
68131         * include/atomic.h (atomic_exchange_and_add): Split into ...
68132         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68133         New atomic macros.
68135 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
68137         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68139 2012-08-13  Jeff Law <law@redhat.com>
68141         * manual/stdio.texi (snprintf): Clarify handling of the trailing
68142         null byte in the output string.
68144 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
68146         * sysdeps/unix/sysv/linux/kernel-features.h
68147         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
68148         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
68149         (__ASSUME_ARG_MAX_STACK_BASED): Define.
68150         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
68151         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
68152         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
68153         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
68155 2012-08-09  Jeff Law <law@redhat.com>
68157         [BZ #13939]
68158         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
68159         When avoid_arena is set, don't retry in the that arena.  Pick the
68160         next one, whatever it might be.
68161         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
68162         (arena_lock): Pass in new parameter to arena_get2.
68163         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
68164         arena_get2.
68165         (__libc_malloc): Unify retrying after main arena failure with
68166         __libc_memalign version.
68167         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
68169 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
68171         [BZ #14166]
68172         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
68173         to __redirect_strstr.
68174         (__strstr_sse42): Use typeof __redirect_strstr.
68175         (__strstr_ia32): Likewise.
68176         (__libc_strstr): New prototype.
68177         (strstr): Renamed to ...
68178         (__libc_strstr): This.
68179         (strstr): New strong alias of __libc_strstr.
68180         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68181         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
68182         __redirect_time.
68183         Include <time.h>.
68184         (__libc_time): New prototype.
68185         (time_ifunc): Replace time with __libc_time.
68186         (time): New strong alias and hidden definition of __libc_time.
68187         (__GI_time): Remove strong alias.
68188         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
68189         Include <stddef.h>.
68190         (memmove): Redefined to __redirect_memmove.
68191         (__memmove_sse2): Use typeof __redirect_memmove.
68192         (__memmove_ssse3): Likewise.
68193         (__memmove_ssse3_back): Likewise.
68194         (__libc_memmove): New prototype.
68195         (memmove): Renamed to ...
68196         (__libc_memmove): This.
68197         (memmove): New strong alias of __libc_memmove.
68199 2012-08-08  Mark Salter  <msalter@redhat.com>
68201         * elf/elf.h
68202         (R_MN10300_TLS_GD): Define.
68203         (R_MN10300_TLS_LD): Likewise.
68204         (R_MN10300_TLS_LDO): Likewise.
68205         (R_MN10300_TLS_GOTIE): Likewise.
68206         (R_MN10300_TLS_IE): Likewise.
68207         (R_MN10300_TLS_LE): Likewise.
68208         (R_MN10300_TLS_DTPMOD): Likewise.
68209         (R_MN10300_TLS_DTPOFF): Likewise.
68210         (R_MN10300_TLS_TPOFF): Likewise.
68211         (R_MN10300_SYM_DIFF): Likewise.
68212         (R_MN10300_ALIGN): Likewise.
68213         (R_MN10300_NUM): Update.
68215 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
68217         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
68218         Remove.
68220 2012-08-08  Roland McGrath  <roland@hack.frob.com>
68222         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
68224         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
68225         sysdeps/unix -> sysdeps/posix move.
68226         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
68228 2012-08-07      Allan McRae     <allan@archlinux.org>
68230         [BZ #14303]
68231         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
68232         (SUNOS_CPP): Likewise.
68233         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
68234         not found.
68235         (open_input): Call CPP using execvp.
68237 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
68239         * sysdeps/unix/sysv/linux/kernel-features.h
68240         (__ASSUME_PROT_GROWSUPDOWN): Remove.
68241         (__ASSUME_NO_CLONE_DETACHED): Likewise.
68242         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68243         (__ASSUME_WAITID_SYSCALL): Likewise.
68244         * sysdeps/unix/sysv/linux/dl-execstack.c
68245         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
68246         code unconditional.
68247         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
68248         conditional code.
68249         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
68250         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
68251         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
68252         code.
68253         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
68254         unconditional.
68255         [__ASSUME_WAITID_SYSCALL]: Likewise.
68256         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
68258 2012-08-07  Roland McGrath  <roland@hack.frob.com>
68260         * sysdeps/unix/closedir.c: Renamed to ...
68261         * sysdeps/posix/closedir.c: ... here.
68262         * sysdeps/unix/dirfd.c: Renamed to ...
68263         * sysdeps/posix/dirfd.c: ... here.
68264         * sysdeps/unix/dirstream.h: Renamed to ...
68265         * sysdeps/posix/dirstream.h: ... here.
68266         * sysdeps/unix/fdopendir.c: Renamed to ...
68267         * sysdeps/posix/fdopendir.c: ... here.
68268         * sysdeps/unix/opendir.c: Renamed to ...
68269         * sysdeps/posix/opendir.c: ... here.
68270         * sysdeps/unix/readdir.c: Renamed to ...
68271         * sysdeps/posix/readdir.c: ... here.
68272         * sysdeps/unix/readdir_r.c: Renamed to ...
68273         * sysdeps/posix/readdir_r.c: ... here.
68274         * sysdeps/unix/rewinddir.c: Renamed to ...
68275         * sysdeps/posix/rewinddir.c: ... here.
68276         * sysdeps/unix/seekdir.c: Renamed to ...
68277         * sysdeps/posix/seekdir.c: ... here.
68278         * sysdeps/unix/telldir.c: Renamed to ...
68279         * sysdeps/posix/telldir.c: ... here.
68280         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
68281         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
68282         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
68283         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
68285         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
68286         * bits/fcntl.h: ... here.
68288         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
68289         not 0.
68290         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
68291         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
68292         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
68293         (struct flock): Move l_start, l_len to the beginning.
68294         Use __pid_t for l_pid.
68295         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
68296         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
68297         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
68298         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
68299         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
68300         [__USE_LARGEFILE64] (struct flock64): New type.
68301         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
68303         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
68304         * bits/dirent.h: ... here.
68306         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
68307         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68309 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
68311         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68312         Change from 2.6.0 to 2.6.16.
68313         * sysdeps/unix/sysv/linux/configure: Regenerated.
68314         * sysdeps/unix/sysv/linux/kernel-features.h
68315         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68316         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68317         version.
68318         (__ASSUME_UTIMES): Likewise.
68319         (__ASSUME_CLONE_STOPPED): Remove.
68320         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68321         architectures, not kernel version.
68322         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68323         (__ASSUME_NO_CLONE_DETACHED): Likewise.
68324         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68325         (__ASSUME_WAITID_SYSCALL): Likewise.
68326         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68327         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68328         * README: State 2.6.16 as minimum Linux kernel version.  Do not
68329         refer to older versions.
68331 2012-08-06  Roland McGrath  <roland@hack.frob.com>
68333         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68334         Define alphasort64 as an alias.
68335         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68336         Define versionsort64 as an alias.
68337         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68338         Define scandir64 as an alias.
68339         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68340         Define scandirat64 as an alias.
68341         * dirent/alphasort64.c (alphasort64):
68342         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68343         * dirent/versionsort64.c: Likewise.
68344         * dirent/scandir64.c: Likewise.
68345         * dirent/scandirat64.c: Likewise.
68346         * sysdeps/wordsize-64/alphasort.c: File removed.
68347         * sysdeps/wordsize-64/alphasort64.c: File removed.
68348         * sysdeps/wordsize-64/scandir.c: File removed.
68349         * sysdeps/wordsize-64/scandir64.c: File removed.
68350         * sysdeps/wordsize-64/scandirat.c: File removed.
68351         * sysdeps/wordsize-64/scandirat64.c: File removed.
68352         * sysdeps/wordsize-64/versionsort.c: File removed.
68353         * sysdeps/wordsize-64/versionsort64.c: File removed.
68354         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68355         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68356         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68357         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68358         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68359         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68360         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68361         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68363         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68364         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68365         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68366         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68367         [defined __arch64__ || defined __sparcv9]
68368         (__INO_T_MATCHES_INO64_T): New macro.
68369         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68370         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68371         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68372         * sysdeps/unix/sysv/linux/bits/dirent.h
68373         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68374         (_DIRENT_MATCHES_DIRENT64): New macro.
68376         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68377         Define lockf64 as an alias.
68378         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68379         Define fseeko64 as an alias.
68380         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68381         Define ftello64 as an alias.
68382         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68383         Define _IO_fgetpos64 and fgetpos64 as aliases.
68384         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68385         Define _IO_fsetpos64 and fsetpos64 as aliases.
68386         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68387         Conditionalize body on this.
68388         * libio/fseeko64.c: Likewise.
68389         * libio/ftello64.c: Likewise.
68390         * libio/iofgetpos64.c: Likewise.
68391         * libio/iofsetpos64.c: Likewise.
68392         * sysdeps/wordsize-64/lockf.c: File removed.
68393         * sysdeps/wordsize-64/lockf64.c: File removed.
68394         * sysdeps/wordsize-64/fseeko.c: File removed.
68395         * sysdeps/wordsize-64/fseeko64.c: File removed.
68396         * sysdeps/wordsize-64/ftello.c: File removed.
68397         * sysdeps/wordsize-64/ftello64.c: File removed.
68398         * sysdeps/wordsize-64/iofgetpos.c: File removed.
68399         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68400         * sysdeps/wordsize-64/iofsetpos.c: File removed.
68401         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68402         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68403         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68404         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68405         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68406         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68407         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68408         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68409         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68410         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68411         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68413         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68414         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68415         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68416         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68417         [defined __arch64__ || defined __sparcv9]
68418         (__OFF_T_MATCHES_OFF64_T): New macro.
68419         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68420         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68421         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68422         (__OFF_T_MATCHES_OFF64_T): New macro.
68424 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68426         * stdlib/secure-getenv.c (__secure_getenv): Replace
68427         GLIBC_2_16 with GLIBC_2_17.
68429 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
68431         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68432         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68434 2012-08-03  David S. Miller  <davem@davemloft.net>
68436         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68438 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68440         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68441         Remove.
68442         (__ASSUME_CORRECT_SI_PID): Likewise.
68443         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68444         (__ASSUME_TMPFS_NAME): Likewise.
68445         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68446         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68447         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68448         (HAVE_AUX_SECURE): Make definition unconditional.
68449         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68450         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68452 2012-08-03  Roland McGrath  <roland@hack.frob.com>
68454         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68455         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68456         * sysdeps/mach/hurd/eloop-threshold.h: New file.
68457         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68458         __eloop_threshold instead of SYMLOOP_MAX.
68460         * sysdeps/generic/eloop-threshold.h: New file.
68461         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68462         of MAXSYMLINKS.
68463         * elf/chroot_canon.c (chroot_canon): Likewise.
68465 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
68467         [BZ #13717]
68468         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68469         Change to 2.6.0 everywhere.
68470         * sysdeps/unix/sysv/linux/configure: Regenerated.
68471         * sysdeps/unix/sysv/linux/kernel-features.h
68472         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68473         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68474         kernel versions.
68475         (__ASSUME_POSIX_TIMERS): Define unconditionally.
68476         (__ASSUME_FUTEX_REQUEUE): Remove.
68477         (__ASSUME_STATFS64): Define unconditionally.
68478         (__ASSUME_AT_SECURE): Likewise.
68479         (__ASSUME_CORRECT_SI_PID): Likewise.
68480         (__ASSUME_TGKILL): Define without depending on kernel version for
68481         i386.
68482         (__ASSUME_UTIMES): Likewise.
68483         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68484         kernel version.
68485         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68486         (__ASSUME_TMPFS_NAME): Likewise.
68487         * README: Update reference to Linux kernel versions.
68489 2012-08-02  Marek Polacek  <polacek@redhat.com>
68491         [BZ# 14150]
68492         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
68493         libc_cv_asm_type_prefix with %.
68494         * configure: Regenerated.
68495         * include/libc-symbols.h: Remove comment about
68496         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68497         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68498         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68499         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68500         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68501         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68502         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68503         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68504         * elf/tst-unique2mod1.c: Likewise.
68505         * elf/tst-unique1mod2.c: Likewise.
68506         * elf/tst-unique1mod1.c: Likewise.
68507         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68508         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68509         Replace ASM_TYPE_DIRECTIVE with .type.
68510         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68511         * sysdeps/i386/sysdep.h: Likewise.
68512         * sysdeps/x86_64/sysdep.h: Likewise.
68513         * sysdeps/sh/sysdep.h: Likewise.
68514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68515         Do not define ASM_TYPE_DIRECTIVE.
68516         * sysdeps/powerpc/sysdep.h: Likewise.
68517         * sysdeps/powerpc/powerpc32/sysdep.h:
68518         Replace ASM_TYPE_DIRECTIVE with .type.
68519         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68520         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68521         * sysdeps/i386/fpu/e_powf.S: Likewise.
68522         * sysdeps/i386/fpu/e_expl.S: Likewise.
68523         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68524         * sysdeps/i386/fpu/e_acosh.S: Likewise.
68525         * sysdeps/i386/fpu/e_pow.S: Likewise.
68526         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68527         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68528         * sysdeps/i386/fpu/s_expm1.S: Likewise.
68529         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68530         * sysdeps/i386/fpu/e_log2.S: Likewise.
68531         * sysdeps/i386/fpu/e_log2l.S: Likewise.
68532         * sysdeps/i386/fpu/e_scalb.S: Likewise.
68533         * sysdeps/i386/fpu/e_powl.S: Likewise.
68534         * sysdeps/i386/fpu/e_log10f.S: Likewise.
68535         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68536         * sysdeps/i386/fpu/e_logl.S: Likewise.
68537         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68538         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68539         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68540         * sysdeps/i386/fpu/e_log2f.S: Likewise.
68541         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68542         * sysdeps/i386/fpu/e_log.S: Likewise.
68543         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68544         * sysdeps/i386/fpu/e_logf.S: Likewise.
68545         * sysdeps/i386/fpu/e_log10l.S: Likewise.
68546         * sysdeps/i386/fpu/e_atanh.S: Likewise.
68547         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68548         * sysdeps/i386/fpu/e_log10.S: Likewise.
68549         * sysdeps/i386/fpu/s_frexp.S: Likewise.
68550         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68551         * sysdeps/i386/fpu/s_asinh.S: Likewise.
68552         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68553         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68554         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68555         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68556         * sysdeps/i386/i686/strtok.S: Likewise.
68557         * sysdeps/i386/i386-mcount.S: Likewise.
68558         * sysdeps/i386/strtok.S: Likewise.
68559         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68560         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68561         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68562         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68563         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68564         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68565         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68566         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68567         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68568         * sysdeps/x86_64/_mcount.S: Likewise.
68569         * sysdeps/x86_64/strtok.S: Likewise.
68570         * sysdeps/sh/_mcount.S: Likewise.
68572 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68574         * libio/iofopen.c: Include <fcntl.h>.
68575         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68576         (_IO_fopen64, fopen64): Define as aliases.
68577         * libio/iofopen64.c: Include <fcntl.h>.
68578         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68579         Conditionalize body on this.
68580         * sysdeps/wordsize-64/iofopen.c: File removed.
68581         * sysdeps/wordsize-64/iofopen64.c: File removed.
68583 2012-08-01  Marek Polacek  <polacek@redhat.com>
68585         * libc/Makeconfig: Use elf in place of binfmt-subdir.
68586         Use dlfcn directly instead of a variable.
68587         (binfmt-subdir): Do not define.
68588         (dlfcn): Likewise.
68590 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
68592         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68593         Remove all definitions.
68594         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68595         <kernel-features.h>.
68596         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68597         (miss_F_GETOWN_EX): Remove all definitions.
68598         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68599         macro definition.
68600         [!__ASSUME_FCNTL64]: Remove conditional code.
68601         [__ASSUME_FCNTL64]: Make code unconditional.
68602         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68603         <kernel-features.h>.
68604         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68605         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68606         (lockf64) [__NR_fcntl64]: Make code unconditional.
68607         (lockf64) [__ASSUME_FCNTL64]: Likewise.
68609         * sysdeps/unix/sysv/linux/kernel-features.h
68610         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68611         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68612         Make code unconditional.
68613         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68614         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68616         [__NR_vfork]: Make code unconditional.
68617         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68618         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68620         [__NR_vfork]: Make code unconditional.
68621         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68622         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68624 2012-08-01  Roland McGrath  <roland@hack.frob.com>
68626         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68627         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68629         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68630         Define mkstemp64 as an alias.
68631         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68632         Define mkstemps64 as an alias.
68633         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68634         Define mkostemp64 as an alias.
68635         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68636         Define mkostemps64 as an alias.
68637         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68638         Conditionalize body on this.
68639         * misc/mkostemp64.c: Likewise.
68640         * misc/mkostemps64.c: Likewise.
68641         * misc/mkstemps64.c: Likewise.
68642         * sysdeps/wordsize-64/mkstemp64.c: File removed.
68643         * sysdeps/wordsize-64/mkostemp64.c: File removed.
68644         * sysdeps/wordsize-64/mkostemp.c: File removed.
68645         * sysdeps/wordsize-64/mkstemp.c: File removed.
68646         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68647         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68648         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68649         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68651         [BZ #14138]
68652         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68653         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68654         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68655         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68657         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68658         compat_symbol macros from <shlib-compat.h> rather than the underlying
68659         default_symbol_version and symbol_version macros, so that DEFAULT
68660         lines in shlib-versions are respected.
68661         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68663 2012-08-01  Florian Weimer  <fweimer@redhat.com>
68665         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68666         Declare with warn_unused_result.
68667         (setgid, setregid, setegid, setresgid): Likewise.
68668         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68669         Likewise.
68670         * WUR-REPORT: Remove set*id functions.
68672 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
68674         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68676 2012-07-31  Roland McGrath  <roland@hack.frob.com>
68678         [BZ #10191]
68679         * include/sys/socket.h (__libc_accept, __libc_accept4):
68680         Add attribute_hidden.
68681         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68683         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68684         use of PTR_MANGLE.
68685         * inet/getnetgrent_r.c (setup): Likewise.
68687         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68689 2012-07-31  David S. Miller  <davem@davemloft.net>
68691         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68693 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
68695         [BZ #13629]
68696         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68697         value between 1.0 and 2.0 and smaller part has absolute value less
68698         than 1.0.
68699         * math/s_clog10.c (__clog10): Likewise.
68700         * math/s_clog10f.c (__clog10f): Likewise.
68701         * math/s_clog10l.c (__clog10l): Likewise.
68702         * math/s_clogf.c (__clogf): Likewise.
68703         * math/s_clogl.c (__clogl): Likewise.
68704         * math/libm-test.inc (clog_test): Add more tests.
68705         (clog10_test): Likewise.
68706         * sysdeps/i386/fpu/libm-test-ulps: Update.
68707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68709 2012-07-31  Florian Weimer  <fweimer@redhat.com>
68711         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68712         Exit with zero in case no suitable GID is found, and write a
68713         message to standard error.
68715 2012-07-30  Roland McGrath  <roland@hack.frob.com>
68717         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68718         rather than to 1.
68719         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68720         (MAXPATHLEN): Removed.
68721         (NOGROUP, NODEV): New macros.
68722         (setbit, clrbit, isset, isclr): New macros.
68723         (howmany, roundup, powerof2): New macros.
68724         (DEV_BSIZE): New macro.
68726         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68727         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68729         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68730         definition on [!__NO_LONG_DOUBLE_MATH].
68732         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68733         PTR_MANGLE and PTR_DEMANGLE.
68735         * socket/accept4.c (accept4): Rename to __libc_accept4.
68736         Define accept4 as a weak alias.
68738         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68739         on [_DIRENT_HAVE_D_TYPE].
68740         * io/ftw.c (ftw_dir): Likewise.
68742         * io/xmknod.c (__xmknod): Don't check PATH for being null.
68744         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68746         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68747         Use the BSD numbers rather than the arbitrary ones we had.
68748         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68749         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68750         (SIGXCPU, SIGXFSZ): New macros.
68751         (_NSIG): Now 32.
68753         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68754         initializer on [_LIBC_REENTRANT].
68756         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68757         definitions inside [_POSIX_MAPPED_FILES].
68759         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68761         * dirent/opendir.c: Include <fcntl.h>.
68763         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68764         (__libc_getspecific): Likewise.
68765         (__libc_key_create): Likewise.
68767         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68768         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68769         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68770         (tmpfile64): Define as alias.
68771         * sysdeps/wordsize-64/tmpfile.c: File removed.
68772         * sysdeps/wordsize-64/tmpfile64.c: File removed.
68773         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68774         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68776         * stdio-common/vfscanf.c: Include <stdbool.h>.
68777         * nss/makedb.c: Likewise.
68778         * stdio-common/_i18n_number.h: Likewise.
68779         * argp/argp-help.c: Likewise.
68780         * posix/wordexp.c: Likewise.
68781         * sysdeps/posix/spawni.c: Likewise.
68782         * nss/nss_files/files-initgroups.c: Likewise.
68783         * stdio-common/reg-modifier.c: Include <stdlib.h>.
68784         * nss/nss_files/files-initgroups.c: Likewise.
68785         * nss/nss_db/db-netgrp.c: Likewise.
68786         * nss/nss_db/db-initgroups.c: Likewise.
68787         * io/fchmodat.c: Include <sys/stat.h>.
68789         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68790         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68792         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68793         [HAVE_MMAP].
68795         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68796         Add multiple inclusion protection.
68798 2012-07-27  David S. Miller  <davem@davemloft.net>
68800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68802 2012-07-27  Gary Benson  <gbenson@redhat.com>
68804         [BZ #14298]
68805         * elf/rtld.c: Include <stap-probe.h>.
68806         (dl_main): Added static probes "init_start" and "init_complete".
68807         * elf/dl-load.c: Include <stap-probe.h>.
68808         (lose): Take new parameter "nsid".
68809         Added static probe "map_failed".
68810         (_dl_map_object_from_fd): Pass namespace id to lose.
68811         Added static probe "map_start".
68812         (open_verify): Pass namespace id to lose.
68813         * elf/dl-open.c: Include <stap-probe.h>.
68814         (dl_open_worker) Added static probes "map_complete", "reloc_start"
68815         and "reloc_complete".
68816         * elf/dl-close.c: Include <stap-probe.h>.
68817         (_dl_close_worker): Added static probes "unmap_start" and
68818         "unmap_complete".
68819         * elf/rtld-debugger-interface.txt: New file documenting the above.
68821 2012-07-26  Roland McGrath  <roland@hack.frob.com>
68823         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68824         rather than a string variable.
68825         * sunrpc/rpc_main.c (h_output): Likewise.
68826         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68828 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
68830         * inet/check_native.c: New file.
68832 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
68834         [BZ #13629]
68835         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68836         if larger part has absolute value 1.0.
68837         * math/s_clog10.c (__clog10): Likewise.
68838         * math/s_clog10f.c (__clog10f): Likewise.
68839         * math/s_clog10l.c (__clog10l): Likewise.
68840         * math/s_clogf.c (__clogf): Likewise.
68841         * math/s_clogl.c (__clogl): Likewise.
68842         * math/libm-test.inc (clog_test): Add more tests.
68843         (clog10_test): Likewise.
68844         * sysdeps/i386/fpu/libm-test-ulps: Update.
68845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68847         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68848         (pltexit): Likewise.
68849         (La_regs): Likewise.
68850         (La_retval): Likewise.
68851         (int_retval): Likewise.
68852         Update #error for removed macros to refer only to definitions in
68853         tst-audit.h.
68854         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68855         macro.
68856         (pltexit): Likewise.
68857         (La_regs): Likewise.
68858         (La_retval): Likewise.
68859         (int_retval): Likewise.
68860         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68861         macro.
68862         (pltexit): Likewise.
68863         (La_regs): Likewise.
68864         (La_retval): Likewise.
68865         (int_retval): Likewise.
68866         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68867         macro.
68868         (pltexit): Likewise.
68869         (La_regs): Likewise.
68870         (La_retval): Likewise.
68871         (int_retval): Likewise.
68872         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68873         macro.
68874         (pltexit): Likewise.
68875         (La_regs): Likewise.
68876         (La_retval): Likewise.
68877         (int_retval): Likewise.
68878         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68879         macro.
68880         (pltexit): Likewise.
68881         (La_regs): Likewise.
68882         (La_retval): Likewise.
68883         (int_retval): Likewise.
68884         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68885         macro.
68886         (pltexit): Likewise.
68887         (La_regs): Likewise.
68888         (La_retval): Likewise.
68889         (int_retval): Likewise.
68890         * sysdeps/generic/tst-audit.h: Update comment to refer only to
68891         macro definitions in tst-audit.h.
68892         * sysdeps/i386/tst-audit.h: New file.
68893         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68894         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68895         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68896         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68897         * sysdeps/sh/tst-audit.h: Likewise.
68898         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68899         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68900         * sysdeps/x86_64/tst-audit.h: Likewise.
68902 2012-07-26  Andreas Jaeger  <aj@suse.de>
68904         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68905         ptrace.
68907         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68908         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68909         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68910         PTRACE_O_MASK.
68911         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68912         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68913         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68915         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68916         value.
68918         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68919         _sigsys.
68920         (si_call_addr, si_syscall, si_arch): Define new macro.
68921         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68922         _sigsys.
68923         (si_call_addr, si_syscall, si_arch): Define new marcro.
68924         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68925         _sigsys.
68926         (si_call_addr, si_syscall, si_arch): Define new macro.
68927         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68928         _sigsys.
68929         (si_call_addr, si_syscall, si_arch): Define new macro.
68931 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
68933         [BZ #13717]
68934         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68935         Change to 2.4.21 where previously 2.4.1.
68936         * sysdeps/unix/sysv/linux/configure: Regenerated.
68937         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68938         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68939         Linux kernel version.
68940         (__ASSUME_STD_AUXV): Remove.
68941         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68942         kernel version.
68943         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68944         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68945         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68946         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68947         (__ASSUME_NETLINK_SUPPORT): Likewise.
68948         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68949         (__no_netlink_support): Remove conditional definition.
68950         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68951         Remove.
68952         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68953         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68954         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68955         (if_nameindex_ioctl): Remove.
68956         (if_nameindex_netlink): Do not handle __no_netlink_support.
68957         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68958         code.
68959         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68960         Remove conditional code.
68961         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68962         code.
68963         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68964         unconditional.
68965         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68966         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68967         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68968         Remove.
68969         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68970         [!__ASSUME_STD_AUXV]: Remove conditional code.
68971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68972         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68973         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68975         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68976         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68977         code.
68978         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68980         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68981         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68982         conditional code.
68983         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68985         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68986         code.
68987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68988         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68989         conditional code.
68990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68991         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68992         code unconditional.
68993         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68994         conditional code.
68995         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68996         unconditional.
68997         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68998         conditional code.
68999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
69000         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69001         unconditional.
69002         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69003         conditional code.
69004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
69005         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69006         code unconditional.
69007         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69008         conditional code.
69009         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69010         unconditional.
69011         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69012         conditional code.
69013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
69014         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
69015         code unconditional.
69016         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69017         conditional code.
69018         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
69019         unconditional.
69020         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
69021         conditional code.
69023 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
69025         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
69026         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
69027         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
69028         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
69029         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
69030         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
69031         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
69032         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
69033         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
69034         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
69035         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
69036         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
69037         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
69038         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
69039         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
69040         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
69041         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
69042         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
69043         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
69044         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
69045         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
69046         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
69047         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
69049 2012-07-25  Florian Weimer  <fweimer@redhat.com>
69051         * Versions.def: Add GLIBC_2.17.
69052         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
69053         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
69054         Introduce __libc_secure_getenv.
69055         * stdlib/Versions (2.17): Add secure_getenv
69056         (GLIBC_PRIVATE): Add __libc_secure_getenv.
69057         * stdlib/secure-getenv.c: Rename __secure_getenv to
69058         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
69059         symbol __secure_getenv for GLIBC_2.0.
69060         * stdlib/tst-secure-getenv.c: New.
69061         * stdlib/Makefile (tests): Add testcase.
69062         * manual/startup.texi (Environment Access): Document
69063         secure_getenv.
69064         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
69065         __libc_secure_getenv.
69066         * inet/ruserpass.c (ruserpass): Likewise.
69067         * malloc/mtrace.c (mtrace): Likewise.
69068         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
69069         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
69070         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
69071         * sysdeps/posix/tempname.c: Likewise.  Evaluate
69072         HAVE_SECURE_GETENV.
69073         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
69074         __secure_getenv to __libc_secure_getenv.
69075         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
69076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69077         Likewise.
69078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69079         Likewise.
69080         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69082         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69083         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69084         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69085         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69088 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
69090         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69091         (struct La_i86_retval): Likewise.
69092         (struct La_x86_64_regs): Likewise.
69093         (struct La_x86_64_retval): Likewise.
69094         (struct La_x32_regs): Likewise.
69095         (struct La_x32_retval): Likewise.
69096         (struct La_ppc32_regs): Likewise.
69097         (struct La_ppc32_retval): Likewise.
69098         (struct La_ppc64_regs): Likewise.
69099         (struct La_ppc64_retval): Likewise.
69100         (struct La_sh_regs): Likewise.
69101         (struct La_sh_retval): Likewise.
69102         (struct La_s390_32_regs): Likewise.
69103         (struct La_s390_32_retval): Likewise.
69104         (struct La_s390_64_regs): Likewise.
69105         (struct La_s390_64_retval): Likewise.
69106         (struct La_sparc32_regs): Likewise.
69107         (struct La_sparc32_retval): Likewise.
69108         (struct La_sparc64_regs): Likewise.
69109         (struct La_sparc64_retval): Likewise.
69110         (struct audit_ifaces): Remove architecture-specific pltenter and
69111         pltexit members.
69112         * sysdeps/i386/ldsodefs.h: New file.
69113         * sysdeps/powerpc/ldsodefs.h: Likewise.
69114         * sysdeps/s390/ldsodefs.h: Likewise.
69115         * sysdeps/sh/ldsodefs.h: Likewise.
69116         * sysdeps/sparc/ldsodefs.h: Likewise.
69117         * sysdeps/x86_64/ldsodefs.h: Likewise.
69119 2012-07-25  Marek Polacek  <polacek@redhat.com>
69121         [BZ #6808]
69122         * math/libm-test.inc (yn_test): Add another test.
69123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69124         to ERANGE when the result is +-Inf.
69125         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69126         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69127         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69128         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69130 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
69132         * conform/data/time.h-data (NULL): Use macro-constant.  Require
69133         equal to 0.
69134         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
69135         clock_t.
69136         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
69138 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
69140         * configure.in <sysdeps resolving>: Correct printing
69141         Implies_before.
69142         * configure: Regenerate.
69144 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
69146         * math/w_ilogb.c: Include <limits.h>.
69147         * math/w_ilogbl.c: Likewise.
69149 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
69151         * manual/lang.texi (__va_copy): Document primarily as ISO C99
69152         va_copy.  Document allowing for unavailable va_copy only as
69153         pre-C99 compatibility.
69154         * manual/string.texi (Copying and Concatenation): Use va_copy
69155         instead of __va_copy in concat example.
69157 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
69159         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
69160         (__sendto): Use create_address_port.  Initialize APORT and deallocate
69161         it if not null.
69163         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
69164         with O_NOLINK passed to __file_name_lookup.
69166         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
69167         with O_NOLINK passed to __file_name_lookup.
69169         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
69170         negative N or less than NGIDS.
69172         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
69173         type to string_t.  Set ERANGE as errno and return it if NAME is not big
69174         enough.  Use memcpy instead of strncpy.
69176 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
69178         * elf/Makefile (check-data): Remove.
69179         (localplt.data): New vpath directive.
69180         ($(objpfx)check-localplt.out): Use localplt.data from vpath
69181         instead of $(check-data).
69182         * scripts/data/localplt-generic.data: Move to ...
69183         * sysdeps/generic/localplt.data: ... here.
69184         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
69185         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
69186         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
69187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
69188         ... here.
69189         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
69190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
69191         ... here.
69192         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
69193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
69194         ... here.
69195         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
69196         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
69197         ... here.
69198         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
69199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
69200         ... here.
69201         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
69202         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
69203         ... here.
69205 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69207         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
69208         PPC32 and PPC64 files.
69209         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
69210         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
69212 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69214         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
69215         __makecontext_ret to ...
69216         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
69217         ... here and call exit if uc_link is NULL.  New file.
69218         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
69219         __makecontext_ret.S.
69220         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
69221         __makecontext_ret to ...
69222         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
69223         ... here and call exit if uc_link is NULL.  New file.
69224         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
69225         __makecontext_ret.S.
69227 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69229         * elf/elf.h (R_390_IRELATIVE): New definition.
69230         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
69231         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
69232         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
69233         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
69234         (elf_machine_lazy_rel): Likewise.
69235         * sysdeps/s390/dl-irel.h: New file.
69236         * sysdeps/s390/s390-64/memcpy.S: New asm code.
69237         * sysdeps/s390/s390-64/memset.S: New asm code.
69238         * sysdeps/s390/s390-64/memcmp.S: New asm code.
69239         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
69240         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
69241         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
69242         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
69243         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
69244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
69245         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
69246         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
69247         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
69248         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
69249         * sysdeps/s390/s390-32/memcpy.S: New asm code.
69250         * sysdeps/s390/s390-32/memset.S: New asm code.
69251         * sysdeps/s390/s390-32/memcmp.S: New asm code.
69253 2012-07-17  Marek Polacek  <polacek@redhat.com>
69255         [BZ #14349]
69256         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
69257         * sysdeps/s390/s390-64/configure.in: Likewise.
69258         * sysdeps/sparc/configure.in: Likewise.
69259         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
69260         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
69261         * sysdeps/i386/configure.in: Likewise.
69262         * sysdeps/x86_64/configure.in: Likewise.
69263         * sysdeps/sh/configure.in: Likewise.
69264         * sysdeps/s390/s390-32/configure: Regenerated.
69265         * sysdeps/s390/s390-64/configure: Likewise.
69266         * sysdeps/x86_64/configure: Likewise.
69267         * sysdeps/sh/configure: Likewise.
69268         * sysdeps/powerpc/powerpc64/configure: Likewise.
69269         * sysdeps/powerpc/powerpc32/configure: Likewise.
69270         * sysdeps/sparc/configure: Likewise.
69271         * sysdeps/i386/configure: Likewise.
69273         * elf/dl-open.c: Comment fixes.
69275 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
69277         * Makefile [CXX] (check-data): Remove.
69278         [CXX] (c++-types.data): New vpath directive.
69279         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
69280         vpath.  Do not allow for C++ type data being missing.
69281         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
69282         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
69283         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
69284         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
69285         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
69286         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
69287         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
69288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
69289         ... here.
69290         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
69291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
69292         ... here.
69293         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
69294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
69295         ... here.
69296         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
69297         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
69298         ... here.
69299         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
69300         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
69301         ... here.
69302         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
69303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
69304         ... here.
69305         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
69306         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
69307         ... here.
69308         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69311         * elf/tls-macros.h (TLS_LE): Move architecture-specific
69312         definitions to architecture-specific files.
69313         (TLS_IE): Likewise.
69314         (TLS_LD): Likewise.
69315         (TLS_GD): Likewise.
69316         * sysdeps/i386/tls-macros.h: New file.
69317         * sysdeps/powerpc/tls-macros.h: Likewise.
69318         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69319         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69320         * sysdeps/sh/tls-macros.h: Likewise.
69321         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69322         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69323         * sysdeps/x86_64/tls-macros.h: Likewise.
69325 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69327         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69328         zero value for regular exit case.
69330         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69331         (__start_context): Preserve zero value for regular exit case.
69333 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
69334             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69336         * manual/setjmp.texi (setcontext): Clarify normal process
69337         termination when uc_link is the null pointer.
69338         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69339         exit call.
69341 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
69343         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69344         preprocessor.  Test for each exception mask separately.
69346 2012-07-16  Andreas Jaeger  <aj@suse.de>
69348         * po/ru.po: Update from translation team.
69350 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
69352         * conform/data/string.h-data (NULL): Use macro-constant.  Require
69353         equal to 0.
69354         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69355         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69356         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69357         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69358         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69360 2012-07-13  Andreas Jaeger  <aj@suse.de>
69362         * po/fr.po: Update from translation team.
69364 2012-07-12  Marek Polacek  <polacek@redhat.com>
69366         [BZ #14173]
69367         * math/libm-test.inc (yn_test): Add test for BZ #14173.
69368         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69369         loop condition.
69371 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
69373         [BZ #13717]
69374         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69375         Change to 2.4.1 where previously 2.4.0.
69376         * sysdeps/unix/sysv/linux/configure: Regenerated.
69377         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69378         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69379         version.
69380         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69381         (__ASSUME_AT_CLKTCK): Remove.
69382         (__ASSUME_AT_PAGESIZE): Likewise.
69383         (__ASSUME_AT_XID): Likewise.
69384         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69385         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69386         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69387         unconditionally.
69388         (HAVE_AUX_PAGESIZE): Likewise.
69389         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69390         [__ASSUME_AT_CLKTCK]: Make code unconditional.
69391         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69393 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
69395         [BZ #14307]
69396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69397         the temporary buffer used to invoke __gethostbyname2_r,
69398         __gethostbyaddr_r and gethostbyname4_r to make room for struct
69399         host_data / struct gaih_addrtuple.
69400         * resolv/nss_dns/dns-host.c (global scope): Move definition of
69401         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69402         header file nss/nsswitch.h.
69403         * nss/nsswitch.h (global scope): Add definition of implementation
69404         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69405         resolv/nss_dns/dns-host.c).
69407 2012-07-11  Andreas Jaeger  <aj@suse.de>
69409         * po/fr.po: Update from translation team.
69411         * po/sv.po: Update from translation team
69412         * po/fr.po: Another update from translation team.
69414 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69416         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69417         for subnormals or multiply small sinh result by itself.
69418         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69419         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69421 2012-07-11  David S. Miller  <davem@davemloft.net>
69423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69425 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
69427         [BZ #14347]
69428         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69429         (INTERNAL_MARK): Shift it here.
69431 2012-07-10  Marek Polacek  <polacek@redhat.com>
69433         [BZ #14151]
69434         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
69435         libc_cv_asm_global_directive with .globl.
69436         * configure: Regenerated.
69437         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69438         with .globl.
69439         * sysdeps/i386/configure: Regenerated.
69440         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69441         with .globl.
69442         * sysdeps/x86_64/configure: Regenerated.
69443         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69444         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69445         * elf/tst-unique2mod2.c: Likewise.
69446         * elf/tst-unique2mod1.c: Likewise.
69447         * elf/tst-unique1mod2.c: Likewise.
69448         * elf/tst-unique1mod1.c: Likewise.
69449         * sysdeps/s390/s390-32/sysdep.h: Likewise.
69450         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69451         * sysdeps/s390/s390-64/sysdep.h: Likewise.
69452         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69453         * sysdeps/mach/sysdep.h: Likewise.
69454         * sysdeps/i386/sysdep.h: Likewise.
69455         * sysdeps/i386/i386-mcount.S: Likewise.
69456         * sysdeps/x86_64/_mcount.S: Likewise.
69457         * sysdeps/x86_64/sysdep.h: Likewise.
69458         * sysdeps/sh/_mcount.S: Likewise.
69459         * sysdeps/sh/sysdep.h: Likewise.
69460         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69461         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69462         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69463         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69464         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69465         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69466         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69467         * locale/localeinfo.h: Likewise.
69468         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69469         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69471 2012-07-09  Roland McGrath  <roland@hack.frob.com>
69473         [BZ #14336]
69474         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69475         system".
69476         * manual/message.texi (The Uniforum approach): Likewise.
69477         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69478         (glibc iconv Implementation): Likewise.
69480 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
69482         [BZ #14337]
69483         * math/s_clog.c (__clog): Avoid scaling a value down where that
69484         could result in underflow.
69485         * math/s_clog10.c (__clog10): Likewise.
69486         * math/s_clog10f.c (__clog10f): Likewise.
69487         * math/s_clog10l.c (__clog10l): Likewise.
69488         * math/s_clogf.c (__clogf): Likewise.
69489         * math/s_clogl.c (__clogl): Likewise.
69490         * math/libm-test.inc (clog_test): Add more tests.
69491         (clog10_test): Likewise.
69492         * sysdeps/i386/fpu/libm-test-ulps: Update.
69493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69495 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
69497         [BZ #14283]
69498         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69499         by 7 not 8 to examine high bit of fractional part.
69501         [BZ #14042]
69502         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69503         for call to __mcount_internal.
69504         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69505         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69506         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69508 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
69510         [BZ #14154]
69511         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69512         approximation for values within 0x1p-13f of an odd multiple of
69513         pi/4.
69514         * math/libm-test.inc (tan_test): Do not allow spurious underflow
69515         exception.  Add more tests.
69516         * sysdeps/i386/fpu/libm-test-ulps: Update.
69518         [BZ #6778]
69519         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69520         inputs and return -1 for them.  Do not check for +Inf in case not
69521         reachable for +Inf.
69522         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69523         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69524         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69525         and return -1 for them.  Do not check for +Inf in case not
69526         reachable for +Inf.
69527         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69528         define.
69529         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69530         and return -1 for them.  Do not check for +Inf in case not
69531         reachable for +Inf.
69532         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
69533         spurious underflow.
69534         * sysdeps/i386/fpu/libm-test-ulps: Update.
69535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69537 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
69539         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69541 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
69543         [BZ #14157]
69544         [BZ #14331]
69545         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69546         could result in spurious underflow.  Scale down values above
69547         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69548         * math/s_csqrtf.c (__csqrtf): Likewise.
69549         * math/s_csqrtl.c (__csqrtl): Likewise.
69550         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
69551         spurious underflow.
69552         * sysdeps/i386/fpu/libm-test-ulps: Update.
69553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69555 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
69557         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69558         xopen-msg.sed.
69559         * catgets/xopen-msg.awk: New file.
69560         * catgets/xopen-msg.sed: Removed.
69562         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69563         po2text.sed.
69564         * intl/po2test.awk: New file.
69565         * intl/po2test.sed: Removed.
69567 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
69569         [BZ #14328]
69570         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69571         or multiply small sinh result by itself.
69572         * math/s_ctanf.c (__ctanf): Likewise.
69573         * math/s_ctanh.c (__ctanh): Likewise.
69574         * math/s_ctanhf.c (__ctanhf): Likewise.
69575         * math/s_ctanhl.c (__ctanhl): Likewise.
69576         * math/s_ctanl.c (__ctanl): Likewise.
69577         * math/libm-test.inc (ctan_test_tonearest): New function.
69578         (ctan_test_towardzero): Likewise.
69579         (ctan_test_downward): Likewise.
69580         (ctan_test_upward): Likewise.
69581         (ctanh_test_tonearest): Likewise.
69582         (ctanh_test_towardzero): Likewise.
69583         (ctanh_test_downward): Likewise.
69584         (ctanh_test_upward): Likewise.
69585         (main): Call these new functions.
69586         * sysdeps/i386/fpu/libm-test-ulps: Update.
69587         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69589 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
69591         * .gitignore: Delete /ports entry.
69593 2012-07-03  Andreas Jaeger  <aj@suse.de>
69595         * po/bg.po: Update from translation team.
69596         * po/cs.po: Likewise.
69597         * po/de.po: Likewise.
69598         * po/hr.po: Likewise.
69599         * po/nl.pl: Likewise.
69600         * po/pl.po: Likewise.
69601         * po/vi.po: Likewise.
69603 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
69605         * Makeconfig [!+link] (+link-before-libc): New variable.
69606         [!+link] (+link-after-libc): Likewise.
69607         [!+link] (+link-tests): Likewise.
69608         [!+link] (+link): Define in terms of $(+link-before-libc) and
69609         $(+link-after-libc).
69610         [!+link-static] (+link-static-before-libc): New variable.
69611         [!+link-static] (+link-static-after-libc): Likewise.
69612         [!+link-static] (+link-static-tests): Likewise.
69613         [!+link-static] (+link-static): Define in terms of
69614         $(+link-static-before-libc) and $(+link-static-after-libc).
69615         [build-shared] (link-libc-before-gnulib): New variable.
69616         [build-shared] (link-libc-tests): Likewise.
69617         [build-shared] (link-libc): Define in terms of
69618         $(link-libc-before-gnulib).
69619         [!build-shared] (link-libc-tests): New variable.
69620         (link-libc-static-tests): New variable.
69621         [!gnulib] (gnulib-arch): New variable.
69622         [!gnulib] (gnulib-tests): Likewise.
69623         [!gnulib] (static-gnulib-arch): Likewise.
69624         [!gnulib] (static-gnulib-tests): Likewise.
69625         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
69626         Define with "=" instead of ":=".
69627         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
69628         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
69629         * Rules (binaries-all-notests): New variable.
69630         (binaries-all-tests): Likewise.
69631         (binaries-static-notests): Likewise.
69632         (binaries-static-tests): Likewise.
69633         (binaries-all): Define using $(binaries-all-notests) and
69634         $(binaries-all-tests).
69635         (binaries-static): Define using $(binaries-static-notests) and
69636         $(binaries-static-tests).
69637         (binaries-shared-tests): New variable.
69638         (binaries-shared-notests): Likewise.
69639         (binaries-shared): Remove variable.
69640         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69641         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69642         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69643         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69644         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69645         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69646         * elf/Makefile (sln-modules): New variable.
69647         (extra-objs): Add $(sln-modules:=.o).
69648         (ldconfig-modules): Add static-stubs.
69649         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69650         * elf/static-stubs.c: New file.
69652         [BZ #14283]
69653         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69654         by 7 not 8 to examine high bit of fractional part.  Use volatile
69655         variables when splitting into final array of floats if
69656         __FLT_EVAL_METHOD__ != 0.
69657         * math/libm-test.inc (cos_test): Add another test.
69658         (sin_test): Likewise.
69659         * sysdeps/i386/fpu/libm-test-ulps: Update.
69661         [BZ #14273]
69662         * math/libm-test.inc (cosh_test): Add more tests.
69664         * version.h (RELEASE): Set to "development".
69665         (VERSION): Set to "2.16.90".
69667 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
69669         * NEWS: Update copyright. Remove last-updated date.
69670         Mention math library bug fixes and timezone data changes.
69671         * README: Mention GNU/Hurd, x32, and HPPA support status.
69673 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
69675         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69677 2012-06-27  Andreas Jaeger  <aj@suse.de>
69679         * manual/contrib.texi (Contributors): Add Samuel Thibault.
69681 2012-06-25  Andreas Jaeger  <aj@suse.de>
69683         * sysdeps/s390/fpu/libm-test-ulps: Update.
69685 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
69686             Thomas Schwinge  <thomas@codesourcery.com>
69688         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69689         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69690         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69691         fanotify_mark.
69693 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
69695         * sysdeps/mach/start.c: Remove file.
69696         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69697         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69698         * sysdeps/sh/init-first.c: Likewise.
69700         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69701         registers for frame unwinding purposes, add CFI directives.
69702         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69703         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69704         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69705         Likewise.
69707         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69708         __fortify_fail returning.
69709         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69711         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69712         sysdeps/sh/____longjmp_chk.S.
69713         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69714         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69715         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69716         (gen-as-const-headers): Append sigaltstack-offsets.sym.
69718         * sysdeps/sh/abort-instr.h: New file.
69719         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69720         process in case exit returns.
69722         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69723         initialize the GOT register before use.
69725         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69726         calculation of ARGC > 4.
69728         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69729         meaningful names to some local labels.
69731 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
69732             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69734         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69735         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69736         (__arch_compare_and_exchange_val_16_acq): Likewise.
69737         (__arch_compare_and_exchange_val_32_acq): Likewise.
69738         (atomic_exchange_and_add): Fix gUSA sequence.
69739         (atomic_add): Likewise.
69740         (atomic_add_negative): Likewise.
69741         (atomic_add_zero): Likewise.
69742         (atomic_bit_test_set): Likewise.
69744 2012-06-22  Andreas Schwab  <schwab@redhat.com>
69746         [BZ #13579]
69747         * include/link.h (struct link_map): Add l_free_initfini.
69748         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69749         l_initfini.
69750         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69751         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69752         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69753         set.
69755 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
69757         * configure.in: Use AC_LANG_SOURCE.
69758         * configure: Regenerate.
69760 2012-06-22  Roland McGrath  <roland@hack.frob.com>
69762         * configure.in (libc_cv_localstatedir): New substituted variable.
69763         * configure: Regenerated.
69764         * config.make.in (localstatedir): New variable, substituted from
69765         libc_cv_localstatedir.
69766         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69767         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69768         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69769         * sysdeps/gnu/configure: Regenerated.
69771 2012-06-21  Jeff Law  <law@redhat.com>
69773         [BZ #14277]
69774         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69775         free.  Simplify list management for _LIBC case.
69777 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
69779         [BZ #14273]
69780         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69781         Clear sign bit of 64-bit integer value before comparing against
69782         overflow value.
69784         * sysdeps/mach/configure: Regenerated.
69786 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
69788         [BZ #14278]
69789         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69791 2012-06-21  Jeff Law  <law@redhat.com>
69793         [BZ #13882]
69794         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
69795         uint16_t for elements in the "seen" array to avoid char overflows.
69796         * elf/dl-fini.c (_dl_sort_fini): Likewise.
69797         * elf/dl-open.c (dl_open_worker): Likewise.
69799 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
69801         * scripts/list-sources.sh: Scan PORTS for translations.
69802         * po/libc.pot: Regenerated.
69804 2012-06-21  Andreas Jaeger  <aj@suse.de>
69806         [BZ #12194]
69807         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69808         warning.
69809         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69810         * bits/byteswap-16.h (__bswap_16): Likewise.
69811         * bits/byteswap.h (__bswap_constant_16): Likewise.
69813 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
69815         [BZ #14117]
69816         * sysdeps/i386/fpu_control.h: Removed.
69817         * sysdeps/x86_64/fpu_control.h: Moved to ...
69818         * sysdeps/x86/fpu_control.h: Here.
69820         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69821         (_FPU_SETCW): Likewise.
69823 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
69825         [BZ #14117]
69826         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69827         * sysdeps/x86/fpu/bits/mathinline.h: This.
69828         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69830         [BZ #14050]
69831         [BZ #14117]
69832         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69833         functions if __x86_64__ is defined.
69835 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
69837         * string/endian.h: Add !__ASSEMBLER__ condition for including
69838         conversion interfaces.
69840 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
69842         [BZ #14241]
69843         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69844         of ABS(x) in calculating zero to negative powers other than odd
69845         integers.
69846         * math/libm-test.inc (pow_test): Add more tests.
69848 2012-06-15  Andreas Jaeger  <aj@suse.de>
69850         * manual/contrib.texi (Contributors): Update entry of Liubov
69851         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69852         Machado Filho.
69854 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
69856         * string/string.h: Add __wur to GNU version of strerror_r.
69858 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
69860         [BZ #14229]
69861         * string/Makefile (tests): Add tst-strtok_r.
69862         * string/tst-strtok_r.c: New file.
69863         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69864         RAX_LP/RDX_LP on SAVE_PTR.
69866 2012-06-14  Roland McGrath  <roland@hack.frob.com>
69868         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69870 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
69872         * libm_test.inc (csqrt_test): Allow more spurious underflow
69873         exceptions.
69874         (j0_test): Likewise.
69875         (j1_test): Likewise.
69876         (y0_test): Likewise.
69877         (y1_test): Likewise.
69879 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
69881         * po/Makefile (libc.pot): Use UTF-8 charset.
69883 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
69885         [BZ #14210]
69886         Suppress sign-conversion warning from FD_SET.
69887         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69888         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69889         not unsigned long int.
69890         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69892 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
69894         [BZ #14050]
69895         [BZ #14117]
69896         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69897         __extern_always_inline instead of __extern_inline.
69898         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69899         (__signbit): Likewise.
69900         (__signbitl): Support C++ namespace.
69901         (lrintf): New inline function.
69902         (lrint): Likewise.
69903         (llrintf): Likewise.
69904         (llrint): Likewise.
69905         (fmaxf): Likewise.
69906         (fmax): Likewise.
69907         (fminf): Likewise.
69908         (fmin): Likewise.
69909         (rint): Likewise.
69910         (rintf): Likewise.
69911         (ceil): Likewise.
69912         (ceilf): Likewise.
69913         (floor): Likewise.
69914         (floorf): Likewise.
69915         (nearbyint): Likewise.
69916         (nearbyintf): Likewise.
69918 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
69920         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69921         non-default versions.
69923 2012-06-11  Roland McGrath  <roland@hack.frob.com>
69925         [BZ #14218]
69926         * manual/argp.texi (Argp): Reword argp_parse description slightly.
69928 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
69930         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69931         (FE_UPWARD, FE_DOWNWARD): Don't define.
69932         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69933         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69935         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69936         reading it.
69937         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69938         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69940 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
69942         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69943         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69944         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69945         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69947 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
69949         [BZ #14117]
69950         * sysdeps/i386/fpu/bits/fenv.h: Removed.
69951         * sysdeps/i386/fpu/Implies: New file.
69952         * sysdeps/x86_64/fpu/Implies: Likewise.
69953         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69954         * sysdeps/x86/fpu/bits/fenv.h: This.
69956         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69957         __SSE_MATH__.
69959 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
69961         [BZ #14134]
69962         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69963         character 0xffff that matches the last element of the
69964         conversion table.
69966 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69968         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69969         fmodl commit.
69971 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69973         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69974         values higher than 25.6283.
69976 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69978         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69979         subnormal exponent extraction and add some __builtin_expect.
69980         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69981         Fix for subnormal mantissa calculation.
69983 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
69985         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69986         cpu2 is -1 and errno is not ENOSYS.
69988 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
69990         [BZ #14117]
69991         * sysdeps/i386/i486/bits/string.h: Renamed to ...
69992         * sysdeps/x86/bits/string.h: This.
69993         * sysdeps/x86_64/bits/string.h: Removed.
69995         * sysdeps/i386/i486/bits/string.h: Define inline functions only
69996         if not compiling for x86-64, but compiling for >= i486.
69998         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69999         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
70001         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
70002         New macro from Linux kernel 3.4.0.
70003         (FP_XSTATE_MAGIC2): Likewise.
70004         (FP_XSTATE_MAGIC2_SIZE): Likewise.
70005         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
70006         (struct _fpx_sw_bytes): New struct.
70007         (struct _xsave_hdr): Likewise.
70008         (struct _ymmh_state): Likewise.
70009         (struct _xstate): Likewise.
70011         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
70012         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
70013         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
70014         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
70015         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
70016         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
70018         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
70019         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
70020         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
70021         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
70022         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
70023         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
70025 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70027         [BZ #13743]
70028         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
70029         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
70030         (sysdep_headers): Include sys/platform/ppc.h.
70031         * sysdeps/powerpc/test-gettimebase.c: Test for
70032         __ppc_get_timebase() to catch future ISA opcode/insn changes.
70033         * manual/Makefile (appendices): Include platform.texi.
70034         * manual/contrib.texi (Contributors): Update @node pointers.
70035         * manual/maint.texi (Maintenance): Likewise.
70036         (Platform): New node.
70037         * manual/platform.texi: New file.  Document the new features.
70039 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
70040             Jakub Jelinek  <jakub@redhat.com>
70042         [BZ #14188]
70043         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
70044         where __builtin_expect is unavailable.
70046 2012-06-03  David S. Miller  <davem@davemloft.net>
70048         * stdlib/longlong.h: Updated from GCC.
70050 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
70052         [BZ #14042]
70053         * sysdeps/powerpc/powerpc32/mcount.c: New file.
70054         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
70055         __mcount_internal.
70056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
70057         (GLIBC_2.16): Likewise.
70059 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70061         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
70063 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
70066         (default-abi): New variable.
70067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
70068         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
70069         variable.
70070         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
70071         Likewise.
70072         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
70073         Likewise.
70074         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
70075         Likewise.
70077         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70078         definition.  Document in comment.
70080 2012-06-01  David S. Miller  <davem@davemloft.net>
70082         * stdlib/longlong.h: Updated from GCC.
70084 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70086         [BZ #14117]
70087         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70088         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70089         sys/debugreg.h sys/io.h here.
70090         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70091         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70092         sys/io.h.
70093         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70094         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70095         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70096         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70097         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70098         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70100         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70101         Define only if __x86_64__ is defined.
70103 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
70105         [BZ #14048]
70106         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70107         Use int64_t for variable i.
70108         * math/libm-test.inc (fmod_test): Add more tests.
70110         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70111         z computation is not scheduled after fetestexcept.
70112         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70113         Use math_force_eval instead of asm to ensure calculation scheduled
70114         before exception test.
70115         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70116         Ensure a1 + u.d computation is not scheduled after fetestexcept.
70118 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
70120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70121         computation is not scheduled after fetestexcept.
70123 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
70125         [BZ #14117]
70126         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70127         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70129 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70131         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70132         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70134 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
70136         [BZ #14117]
70137         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
70138         <bits/wordsize.h>.
70139         (__WCHAR_MIN): Support __WORDSIZE == 64.
70140         (__WCHAR_MAX): Likewise.
70142         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
70143         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70145         [BZ #14183]
70146         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
70147         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
70149         [BZ #14117]
70150         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
70151         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
70153         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
70154         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
70156         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
70157         Defined to 1 if __x86_64__ isn't defined.
70158         (_STAT_VER_LINUX_OLD): New.
70159         (st_atime): Remove duplicate.
70160         (st_mtime): Likewise.
70161         (st_ctime): Likewise.
70163 2012-05-31  David S. Miller  <davem@davemloft.net>
70165         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70166         entries.
70168 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
70170         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
70171         gen-libm-test.pl.
70173         [BZ #14132]
70174         * elf/dl-reloc.c: Include <_itoa.h>.
70175         (_dl_reloc_bad_type): Remove use of INTUSE.
70176         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
70177         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
70178         * stdio-common/psiginfo.c (psiginfo): Likewise.
70179         * stdio-common/psignal.c (psignal): Likewise.
70180         * string/strsignal.c (strsignal): Likewise.
70181         * include/signal.h (_sys_siglist): Declare hidden proto.
70182         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
70183         INTVARDEF with libc_hidden_data_def.
70184         * stdio-common/itoa-udigits.c: Likewise.
70185         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
70186         (_itoa_lower_digits_internal): Remove declaration.
70187         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
70188         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
70189         (_sys_sigabbrev_internal): Remove aliases.
70190         (_sys_siglist): Define hidden alias.
70192 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
70194         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70195         bits/sysctl.h.
70197 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
70199         [BZ #14117]
70200         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
70201         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
70203         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
70204         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
70205         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
70206         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
70207         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
70208         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
70210         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
70211         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
70212         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
70214         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
70215         with __addr.
70216         (insw): Likewise.
70217         (insl): Likewise.
70218         (outsb): Likewise.
70219         (outsw): Likewise.
70220         (outsl): Likewise.
70222         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
70223         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
70224         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
70226         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
70227         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
70228         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
70229         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
70230         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
70231         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
70233         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
70234         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
70236         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
70237         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
70239         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
70240         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
70241         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
70243         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
70244         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
70245         to ...
70246         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
70248         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
70249         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
70250         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
70252         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
70253         for x86-64.
70254         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
70256 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
70258         * math/math.h (M_El): Use two more decimal places.
70259         (M_LOG2El): Likewise.
70260         (M_LOG10El): Likewise.
70261         (M_LN2l): Likewise.
70262         (M_LN10l): Likewise.
70263         (M_PIl): Likewise.
70264         (M_PI_2l): Likewise.
70265         (M_PI_4l): Likewise.
70266         (M_1_PIl): Likewise.
70267         (M_2_PIl): Likewise.
70268         (M_2_SQRTPIl): Likewise.
70269         (M_SQRT2l): Likewise.
70270         (M_SQRT1_2l): Likewise.
70272 2012-05-31  David S. Miller  <davem@davemloft.net>
70274         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
70275         values between float registers.
70276         * sysdeps/sparc/sparc64/memset.S: Likewise.
70277         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70279 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
70281         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
70282         -D_FORTIFY_SOURCE=1.
70283         (CPPFLAGS-tst-longjmp_chk.c): Define.
70284         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
70285         (CPPFLAGS-tst-longjmp_chk2.c): Define.
70286         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
70287         CFLAGS-tst-wchar-h.c.
70289 2012-05-31  Marek Polacek  <polacek@redhat.com>
70291         [BZ #14132]
70292         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
70293         __endmntent_internal): Remove declaration.
70294         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
70295         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
70296         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
70298 2012-05-30  David S. Miller  <davem@davemloft.net>
70300         * sysdeps/sparc/sparc32/soft-fp/q_util.c
70301         (___Q_simulate_exceptions): Use real FP ops rather than writing
70302         into the %fsr.
70303         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
70304         Likewise.
70306 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70308         [BZ #14117]
70309         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70310         * sysdeps/x86/bits/xtitypes.h: This.
70312         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70313         * sysdeps/x86/bits/wordsize.h: This.
70315         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70316         * sysdeps/x86/bits/huge_vall.h: This.
70318         * sysdeps/i386/bits/select.h: Removed.
70319         * sysdeps/x86_64/bits/select.h: Renamed to ...
70320         * sysdeps/x86/bits/select.h: This.
70322         * sysdeps/i386/bits/setjmp.h: Removed.
70323         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70324         * sysdeps/x86/bits/setjmp.h: This.
70326         * sysdeps/i386/bits/mathdef.h: Removed.
70327         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70328         * sysdeps/x86/bits/mathdef.h: This.
70330 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
70332         [BZ #14132]
70333         * include/sys/socket.h (__connect_internal)
70334         (__libc_sa_len_internal): Remove declaration.
70335         (__connect, __libc_sa_len): Declare hidden_proto.
70336         (SA_LEN): Remove use of INTUSE.
70337         * socket/connect.c: Add libc_hidden_def.
70338         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70339         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70340         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70341         alias.
70342         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70343         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70344         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70345         of adding _internal alias.
70347 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70349         [BZ #14117]
70350         * sysdeps/i386/bits/link.h: Removed.
70351         * sysdeps/i386/bits/linkmap.h: Likewise.
70352         * sysdeps/x86_64/bits/link.h: Renamed to ...
70353         * sysdeps/x86/bits/link.h: This.
70354         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70355         * sysdeps/x86/bits/linkmap.h: This.
70357         * sysdeps/i386/bits/endian.h: Removed.
70358         * sysdeps/x86_64/bits/endian.h: Renamed to ...
70359         * sysdeps/x86/bits/endian.h: This.
70361         * sysdeps/i386/bits/byteswap.h: Removed.
70362         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70363         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70364         * sysdeps/x86/bits/byteswap.h: This.
70365         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70366         * sysdeps/x86/bits/byteswap-16.h: This.
70367         * sysdeps/i386/Implies: Add x86.
70368         * sysdeps/x86_64/Implies: Likewise.
70370 2012-05-30  David S. Miller  <davem@davemloft.net>
70372         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70373         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70374         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70375         (FP_TRAPPING_EXCEPTIONS): Define.
70376         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70377         (FP_TRAPPING_EXCEPTIONS): Define.
70378         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70379         subnormals only when inexact has been signalled or underflow
70380         exceptions are enabled.
70381         (_FP_PACK_CANONICAL): Likewise.
70383 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70385         [BZ #14183]
70386         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70387         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70389 2012-05-30  Richard Henderson  <rth@twiddle.net>
70391         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70392         with #ifndef NOT_IN_libc.
70394         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
70395         marked to avoid plt entry.
70397 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
70399         [BZ #14112]
70400         * Makeconfig (default-abi): New macro.
70401         (abi-includes): Likewise.
70402         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
70403         $(abi-$(default-abi)-lib-soname) for soname if defined.
70404         ($(common-objpfx)gnu/lib-names.stmp): Generate from
70405         abi-variants.
70406         * Makefile (installed-stubs): Likewise.
70407         * include/stubs-biarch.h: Removed.
70408         * scripts/lib-names.awk: Only handle one library at a time.
70409         * scripts/soversions.awk: Remove WORDSIZE support.
70410         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70411         entries.
70412         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70413         Removed.
70414         (syscall-list-default-condition): Likewise.
70415         (syscall-list-default-condition): Likewise.
70416         (syscall-list-includes): Likewise.
70417         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70418         syscall-list-* with abi-*.  Handle undefined abi-variants.
70419         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70420         * sysdeps/unix/sysv/linux/i386/Implies: New file.
70421         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70422         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70423         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70424         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70425         Removed.
70426         (syscall-list-32-options): Likewise.
70427         (syscall-list-32-condition): Likewise.
70428         (syscall-list-64-options): Likewise.
70429         (syscall-list-64-condition): Likewise.
70430         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70431         macro.
70432         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70433         Renamed to ...
70434         (abi-*): This.
70435         (abi-64-ld-soname): New macro.
70436         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70437         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70438         Renamed to ...
70439         (abi-*): This.
70440         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70441         * sysdeps/x86_64/x32/shlib-versions: Likewise.
70443 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
70445         * sysdeps/unix/sysv/linux/kernel-features.h
70446         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70447         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70448         include <kernel-features.h>.
70449         [!__NR_ftruncate64]: Remove conditional code.
70450         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70451         [__NR_ftruncate64]: Make code unconditional.
70452         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70453         * sysdeps/unix/sysv/linux/truncate64.c: Do not
70454         include <kernel-features.h>.
70455         [!__NR_ftruncate64]: Remove conditional code.
70456         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70457         [__NR_ftruncate64]: Make code unconditional.
70458         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70460         include <kernel-features.h>.
70461         [!__NR_ftruncate64]: Remove conditional code.
70462         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70463         [__NR_ftruncate64]: Make code unconditional.
70464         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70466         include <kernel-features.h>.
70467         [!__NR_ftruncate64]: Remove conditional code.
70468         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70469         [__NR_ftruncate64]: Make code unconditional.
70470         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70472         * configure.in (libc_cv_fpie): Weaken to a compile test using
70473         LIBC_TRY_CC_OPTION.
70474         * configure: Regenerated.
70476 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70478         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70480         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70481         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70482         Refreshed.
70483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70484         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70485         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70486         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70487         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70488         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70489         Refreshed.
70491 2012-05-27  David S. Miller  <davem@davemloft.net>
70493         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70494         (___Q_zero): New.
70495         (__Q_simulate_exceptions): Return void.  Change to simulate
70496         exceptions by writing into the %fsr.
70497         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70498         (__Qp_handle_exceptions): Likewise.
70499         (numbers): Delete.
70500         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70501         __Qp_handle_exceptions.
70502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70503         __Qp_handle_exceptions.
70504         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70505         as unused and give dummy FP_RND_NEAREST initializer.
70506         (FP_INHIBIT_RESULTS): Define.
70507         (___Q_simulate_exceptions): Update declaration.
70508         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70509         formatting.
70510         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70511         as unused and give dummy FP_RND_NEAREST initializer.
70512         (__Qp_handle_exceptions): Update declaration.
70513         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70514         formatting.
70516 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
70518         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70519         the temporary FPU control word.
70520         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70521         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70522         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70523         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70524         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70525         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70526         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70527         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70528         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70529         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70530         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70532 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
70534         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70535         fields.
70537 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
70539         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70540         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70541         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70542         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70543         Likewise.
70544         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70545         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70546         Likewise.
70548 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
70550         * po/h.po: Update from translation team.
70552 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
70554         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70556         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70557         handling of denormals.
70558         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70559         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70560         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70561         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70563         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70565         Likewise.
70567 2012-05-26  Marek Polacek  <polacek@redhat.com>
70569         [BZ #14152]
70570         * math/libm-test.inc (fma_test): Don't always expect underflow
70571         exception.
70573 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
70575         [BZ #12416]
70576         * elf/tst-execstack.c: Include stackinfo.h.
70577         (do_test): Adjust test case to ensure that pthread_getattr_np
70578         behaviour remains the same after marking stack executable.
70580 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70582         * sysdeps/unix/sysv/linux/kernel-features.h
70583         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70584         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70585         kernel-features.h.
70586         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70587         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70588         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70589         kernel-features.h.
70590         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70591         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70593 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
70595         * configure.in: Define the default includes to being none.
70596         * configure: Regenerated.
70598 2012-05-25  Roland McGrath  <roland@hack.frob.com>
70600         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70601         * sysdeps/x86_64/setjmp.S: Likewise.
70602         * sysdeps/i386/bsd-setjmp.S: Likewise.
70603         * sysdeps/i386/bsd-_setjmp.S: Likewise.
70604         * sysdeps/i386/setjmp.S: Likewise.
70605         * sysdeps/i386/__longjmp.S: Likewise.
70606         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70607         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70609         * include/stap-probe.h: New file.
70610         * configure.in: Handle --enable-systemtap.
70611         * configure: Regenerated.
70612         * config.h.in (USE_STAP_PROBE): New #undef.
70613         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70614         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70615         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70617 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
70619         [BZ #13717]
70620         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70621         to 2.4.0 where earlier.
70622         * sysdeps/unix/sysv/linux/configure: Regenerated.
70623         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70624         <kernel-features.h>.
70625         [__ASSUME_32BITUIDS]: Make code unconditional.
70626         [!__ASSUME_32BITUIDS]: Remove conditional code.
70627         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70628         <kernel-features.h>.
70629         [__ASSUME_32BITUIDS]: Make code unconditional.
70630         [!__ASSUME_32BITUIDS]: Remove conditional code.
70631         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70632         [__ASSUME_32BITUIDS]: Make code unconditional.
70633         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70634         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70635         <kernel-features.h>.
70636         [__ASSUME_32BITUIDS]: Make code unconditional.
70637         [!__ASSUME_32BITUIDS]: Remove conditional code.
70638         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70639         <kernel-features.h>.
70640         [__ASSUME_32BITUIDS]: Make code unconditional.
70641         [!__ASSUME_32BITUIDS]: Remove conditional code.
70642         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70643         <kernel-features.h>.
70644         [__ASSUME_32BITUIDS]: Make code unconditional.
70645         [!__ASSUME_32BITUIDS]: Remove conditional code.
70646         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70647         <kernel-features.h>.
70648         [__ASSUME_32BITUIDS]: Make code unconditional.
70649         [!__ASSUME_32BITUIDS]: Remove conditional code.
70650         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70651         <kernel-features.h>.
70652         [__ASSUME_32BITUIDS]: Make code unconditional.
70653         [!__ASSUME_32BITUIDS]: Remove conditional code.
70654         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70655         <kernel-features.h>.
70656         [__ASSUME_32BITUIDS]: Make code unconditional.
70657         [!__ASSUME_32BITUIDS]: Remove conditional code.
70658         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70659         <kernel-features.h>.
70660         [__ASSUME_32BITUIDS]: Make code unconditional.
70661         [!__ASSUME_32BITUIDS]: Remove conditional code.
70662         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70663         <kernel-features.h>.
70664         [__ASSUME_32BITUIDS]: Make code unconditional.
70665         [!__ASSUME_32BITUIDS]: Remove conditional code.
70666         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70667         <kernel-features.h>.
70668         [__ASSUME_32BITUIDS]: Make code unconditional.
70669         [!__ASSUME_32BITUIDS]: Remove conditional code.
70670         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70671         <kernel-features.h>.
70672         [__ASSUME_32BITUIDS]: Make code unconditional.
70673         [!__ASSUME_32BITUIDS]: Remove conditional code.
70674         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70675         <kernel-features.h>.
70676         [__NR_setresgid] (__setresgid): Do not declare.
70677         [__ASSUME_32BITUIDS]: Make code unconditional.
70678         [!__ASSUME_32BITUIDS]: Remove conditional code.
70679         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70680         <kernel-features.h>.
70681         [__NR_setresuid] (__setresuid): Do not declare.
70682         [__ASSUME_32BITUIDS]: Make code unconditional.
70683         [!__ASSUME_32BITUIDS]: Remove conditional code.
70684         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70685         <kernel-features.h>.
70686         [__ASSUME_32BITUIDS]: Make code unconditional.
70687         [!__ASSUME_32BITUIDS]: Remove conditional code.
70688         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70689         <kernel-features.h>.
70690         [__ASSUME_32BITUIDS]: Make code unconditional.
70691         [!__ASSUME_32BITUIDS]: Remove conditional code.
70692         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70693         <kernel-features.h>.
70694         [__ASSUME_32BITUIDS]: Make code unconditional.
70695         [!__ASSUME_32BITUIDS]: Remove conditional code.
70696         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70697         <kernel-features.h>.
70698         [__ASSUME_32BITUIDS]: Make code unconditional.
70699         [!__ASSUME_32BITUIDS]: Remove conditional code.
70700         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70701         <kernel-features.h>.
70702         [__ASSUME_32BITUIDS]: Make code unconditional.
70703         [!__ASSUME_32BITUIDS]: Remove conditional code.
70704         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70705         <kernel-features.h>.
70706         [__ASSUME_32BITUIDS]: Make code unconditional.
70707         [!__ASSUME_32BITUIDS]: Remove conditional code.
70708         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70709         <kernel-features.h>.
70710         [__ASSUME_32BITUIDS]: Make code unconditional.
70711         [!__ASSUME_32BITUIDS]: Remove conditional code.
70712         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70713         <kernel-features.h>.
70714         [__ASSUME_32BITUIDS]: Make code unconditional.
70715         [!__ASSUME_32BITUIDS]: Remove conditional code.
70716         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70717         <kernel-features.h>.
70718         [__ASSUME_32BITUIDS]: Make code unconditional.
70719         [!__ASSUME_32BITUIDS]: Remove conditional code.
70720         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70721         <kernel-features.h>.
70722         [__ASSUME_32BITUIDS]: Make code unconditional.
70723         [!__ASSUME_32BITUIDS]: Remove conditional code.
70724         * sysdeps/unix/sysv/linux/kernel-features.h
70725         (__ASSUME_SETRESUID_SYSCALL): Remove.
70726         (__ASSUME_SETRESGID_SYSCALL): Likewise.
70727         (__ASSUME_32BITUIDS): Likewise.
70728         (__ASSUME_LDT_WORKS): Likewise.
70729         (__ASSUME_O_DIRECTORY): Likewise.
70730         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70731         architecture but not kernel version.
70732         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70733         (__ASSUME_MMAP2_SYSCALL): Likewise.
70734         (__ASSUME_STAT64_SYSCALL): Likewise.
70735         (__ASSUME_IPC64): Likewise.
70736         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70737         <kernel-features.h>.
70738         [__ASSUME_32BITUIDS]: Make code unconditional.
70739         [!__ASSUME_32BITUIDS]: Remove conditional code.
70740         * sysdeps/unix/sysv/linux/opendir.c: Do not include
70741         <kernel-features.h>.
70742         [__ASSUME_O_DIRECTORY]: Make code unconditional.
70743         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70744         132096]: Remove conditional code.
70745         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70746         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70747         <kernel-features.h>.
70748         [__ASSUME_32BITUIDS]: Make code unconditional.
70749         [!__ASSUME_32BITUIDS]: Remove conditional code.
70750         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70751         <kernel-features.h>.
70752         [__ASSUME_32BITUIDS]: Make code unconditional.
70753         [!__ASSUME_32BITUIDS]: Remove conditional code.
70754         * sysdeps/unix/sysv/linux/setegid.c: Do not include
70755         <kernel-features.h>.
70756         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70757         unconditional.
70758         (__setresgid): Do not declare.
70759         [__ASSUME_32BITUIDS]: Make code unconditional.
70760         [!__ASSUME_32BITUIDS]: Remove conditional code.
70761         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70762         <kernel-features.h>.
70763         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70764         unconditional.
70765         (__setresuid): Do not declare.
70766         [__ASSUME_32BITUIDS]: Make code unconditional.
70767         [!__ASSUME_32BITUIDS]: Remove conditional code.
70768         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70769         <kernel-features.h>.
70770         [__ASSUME_32BITUIDS]: Make code unconditional.
70771         [!__ASSUME_32BITUIDS]: Remove conditional code.
70772         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70773         <kernel-features.h>.
70774         [__ASSUME_32BITUIDS]: Make code unconditional.
70775         [!__ASSUME_32BITUIDS]: Remove conditional code.
70777 2012-05-25  Richard Henderson  <rth@twiddle.net>
70779         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70780         dl_hwcap to ifunc resolver.
70781         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70782         elf_ifunc_invoke.
70783         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70784         dl_hwcap to ifunc resolver.
70785         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70787 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70789         [BZ #14153]
70790         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70791         for |x| <= 2**-26, not 2**-57.
70792         * math/libm-test.inc (acos_test): Do not allow spurious underflow
70793         exception.
70795 2012-05-24  Jeff Law  <law@redhat.com>
70797         * stdio-common/Makefile (tests): Add bug25.
70798         * stdio-common/bug25.c: New test.
70800 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
70802         [BZ #13576]
70803         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70804         multiple of MALLOC_ALIGNMENT in size.
70805         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70807 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
70809         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70810         Require >= 256.
70811         (FILENAME_MAX): Use macro-int-constant.
70812         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
70813         (_IOFBF): Use macro-int-constant.
70814         (_IOLBF): Likewise.
70815         (_IONBF): Likewise.
70816         (SEEK_CUR): Likewise.
70817         (SEEK_END): Likewise.
70818         (SEEK_SET): Likewise.
70819         (TMP_MAX): Likewise.
70820         (EOF): Use macro-int-constant.  Require < 0.
70821         (NULL): Use macro-constant.  Require == 0.
70822         (stdin): Require type to be FILE *.
70823         (stdout): Likewise.
70824         (stderr): Likewise.
70825         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70826         macro-int-constant.
70827         (EXIT_SUCCESS): Likewise.
70828         (NULL): Use macro-constant.  Require == 0.
70829         (RAND_MAX): Use macro-int-constant.
70830         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70831         [C99-based standards] (strtof): Require function.
70832         [C99-based standards] (strtold): Likewise.
70833         [C99-based standards] (strtoll): Likewise.
70834         [C99-based standards] (strtoull): Likewise.
70835         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70836         [ISO || ISO99 || ISO11] (limits.h): Likewise.
70837         [ISO || ISO99 || ISO11] (math.h): Likewise.
70838         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70839         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70840         [ISO || ISO99 || ISO11] (*_t): Do not allow.
70842 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
70844         [BZ #14132]
70845         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70846         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70847         * intl/dgettext.c (DCGETTEXT): Likewise.
70848         * intl/gettext.c (DCGETTEXT): Likewise.
70849         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70850         * posix/regex_internal.h (gettext): Likewise.
70851         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70852         Remove declaration.
70853         * include/argz.h (__argz_count_internal)
70854         (__argz_stringify_internal): Remove declaration.
70855         (__argz_count, __argz_stringify): Declare hidden proto.
70856         * intl/dcgettext.c: Remove use of INTDEF.
70857         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70858         * string/argz-stringify.c: Likewise.
70859         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70860         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70861         Declare hidden proto.
70862         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70863         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70864         Declare hidden proto.
70865         * include/stdio.h (__asprintf_internal): Don't declare.
70866         (__asprintf): Don't define as macro.  Declare hidden proto.
70867         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70868         (__fsetlocking): Declare hidden proto.
70869         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70870         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70871         hidden proto.
70872         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70873         (_IO_setlinebuf): Remove use of INTUSE.
70874         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70875         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70876         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70877         Remove declaration.
70878         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70879         (_IO_do_flush): Remove use of INTUSE.
70880         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70881         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70882         (_IO_adjust_column, _IO_least_wmarker)
70883         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70884         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70885         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70886         (_IO_default_doallocate, _IO_wdefault_doallocate)
70887         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70888         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70889         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70890         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70891         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70892         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70893         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70894         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70895         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70896         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70897         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70898         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70899         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70900         proto.
70901         (_IO_flush_all_internal, _IO_adjust_column_internal)
70902         (_IO_default_uflow_internal, _IO_default_finish_internal)
70903         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70904         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70905         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70906         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70907         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70908         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70909         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70910         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70911         (_IO_file_close_internal, _IO_file_close_it_internal)
70912         (_IO_file_underflow_internal, _IO_file_overflow_internal)
70913         (_IO_file_init_internal, _IO_file_attach_internal)
70914         (_IO_file_fopen_internal, _IO_file_read_internal)
70915         (_IO_file_sync_internal, _IO_file_seek_internal)
70916         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70917         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70918         (_IO_str_underflow_internal, _IO_str_overflow_internal)
70919         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70920         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70921         (_IO_list_all_internal, _IO_link_in_internal)
70922         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70923         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70924         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70925         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70926         (_IO_do_write_internal, _IO_padn_internal)
70927         (_IO_getline_info_internal, _IO_getline_internal)
70928         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70929         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70930         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70931         (_IO_vfscanf_internal, _IO_vfprintf_internal)
70932         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70933         (_IO_init_internal, _IO_un_link_internal): Don't declare.
70934         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70935         with libc_hidden_ver, remove use of INTUSE.
70936         * libio/genops.c: Likewise.
70937         * libio/freopen.c: Likewise.
70938         * libio/freopen64.c: Likewise.
70939         * libio/iofclose.c: Likewise.
70940         * libio/iofdopen.c: Likewise.
70941         * libio/iofflush.c: Likewise.
70942         * libio/iofflush_u.c: Likewise.
70943         * libio/iofgets.c: Likewise.
70944         * libio/iofgets_u.c: Likewise.
70945         * libio/iofopen.c: Likewise.
70946         * libio/iofopncook.c: Likewise.
70947         * libio/iofread.c: Likewise.
70948         * libio/iofread_u.c: Likewise.
70949         * libio/ioftell.c: Likewise.
70950         * libio/iofwrite.c: Likewise.
70951         * libio/iogetline.c: Likewise.
70952         * libio/iogets.c: Likewise.
70953         * libio/iogetwline.c: Likewise.
70954         * libio/iopadn.c: Likewise.
70955         * libio/iopopen.c: Likewise.
70956         * libio/ioseekoff.c: Likewise.
70957         * libio/ioseekpos.c: Likewise.
70958         * libio/iosetbuffer.c: Likewise.
70959         * libio/iosetvbuf.c: Likewise.
70960         * libio/ioungetc.c: Likewise.
70961         * libio/ioungetwc.c: Likewise.
70962         * libio/iovdprintf.c: Likewise.
70963         * libio/iovsprintf.c: Likewise.
70964         * libio/iovsscanf.c: Likewise.
70965         * libio/memstream.c: Likewise.
70966         * libio/obprintf.c: Likewise.
70967         * libio/oldfileops.c: Likewise.
70968         * libio/oldiofclose.c: Likewise.
70969         * libio/oldiofdopen.c: Likewise.
70970         * libio/oldiofopen.c: Likewise.
70971         * libio/oldiopopen.c: Likewise.
70972         * libio/oldstdfiles.c: Likewise.
70973         * libio/putc.c: Likewise.
70974         * libio/setbuf.c: Likewise.
70975         * libio/setlinebuf.c: Likewise.
70976         * libio/stdfiles.c: Likewise.
70977         * libio/strops.c: Likewise.
70978         * libio/vasprintf.c: Likewise.
70979         * libio/vscanf.c: Likewise.
70980         * libio/vsnprintf.c: Likewise.
70981         * libio/vswprintf.c: Likewise.
70982         * libio/wfiledoalloc.c: Likewise.
70983         * libio/wfileops.c: Likewise.
70984         * libio/wgenops.c: Likewise.
70985         * libio/wmemstream.c: Likewise.
70986         * libio/wstrops.c: Likewise.
70987         * libio/__fpurge.c: Likewise.
70988         * libio/__fsetlocking.c: Likewise.
70989         * assert/assert.c: Likewise.
70990         * debug/fgets_chk.c: Likewise.
70991         * debug/fgets_u_chk.c: Likewise.
70992         * debug/fread_chk.c: Likewise.
70993         * debug/fread_u_chk.c: Likewise.
70994         * debug/gets_chk.c: Likewise.
70995         * debug/obprintf_chk.c: Likewise.
70996         * debug/vasprintf_chk.c: Likewise.
70997         * debug/vdprintf_chk.c: Likewise.
70998         * debug/vsnprintf_chk.c: Likewise.
70999         * debug/vsprintf_chk.c: Likewise.
71000         * malloc/mtrace.c: Likewise.
71001         * misc/error.c: Likewise.
71002         * misc/syslog.c: Likewise.
71003         * stdio-common/asprintf.c: Likewise.
71004         * stdio-common/fxprintf.c: Likewise.
71005         * stdio-common/getw.c: Likewise.
71006         * stdio-common/isoc99_fscanf.c: Likewise.
71007         * stdio-common/isoc99_scanf.c: Likewise.
71008         * stdio-common/isoc99_vfscanf.c: Likewise.
71009         * stdio-common/isoc99_vscanf.c: Likewise.
71010         * stdio-common/isoc99_vsscanf.c: Likewise.
71011         * stdio-common/printf-prs.c: Likewise.
71012         * stdio-common/printf_fp.c: Likewise.
71013         * stdio-common/printf_fphex.c: Likewise.
71014         * stdio-common/printf_size.c: Likewise.
71015         * stdio-common/putw.c: Likewise.
71016         * stdio-common/scanf.c: Likewise.
71017         * stdio-common/sprintf.c: Likewise.
71018         * stdio-common/tmpfile.c: Likewise.
71019         * stdio-common/vfprintf.c: Likewise.
71020         * stdio-common/vfscanf.c: Likewise.
71021         * stdlib/strfmon_l.c: Likewise.
71022         * sunrpc/openchild.c: Likewise.
71023         * sunrpc/xdr_stdio.c: Likewise.
71024         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
71025         * sysdeps/mach/hurd/tmpfile.c: Likewise.
71027 2012-05-24  Roland McGrath  <roland@hack.frob.com>
71029         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71031         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
71032         in the third column, to generate for the shared library an IFUNC
71033         that uses _dl_vdso_vsym.
71034         * Makerules (COMPILE.c, compile-stdin.c): New variables.
71035         * Makeconfig (object-suffixes-noshared): New variable.
71037         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
71038         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
71039         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
71040         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
71042         [BZ #14132]
71043         * include/sys/time.h (__gettimeofday): Remove macro.
71044         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
71045         * time/gettimeofday.c (__gettimeofday): Remove #undef.
71046         Remove INTDEF.
71047         (__gettimeofday): Add libc_hidden_def.
71048         (gettimeofday): Add libc_hidden_weak.
71049         * sysdeps/mach/gettimeofday.c: Likewise.
71050         * sysdeps/posix/gettimeofday.c: Likewise.
71051         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
71052         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
71053         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
71054         (__gettimeofday_internal): Remove strong_alias.
71055         (__gettimeofday): Add libc_hidden_def.
71056         (gettimeofday): Add libc_hidden_weak.
71057         * sysdeps/unix/syscalls.list (gettimeofday):
71058         Remove __gettimeofday_internal alias.
71060 2012-05-24  Daniel Jacobowitz  <drow@false.org>
71061             H.J. Lu  <hongjiu.lu@intel.com>
71063         [BZ #12495]
71064         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
71065         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
71066         (largebin_index_32_big): New.
71067         (largebin_index): Use it for 16-byte alignment.
71068         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
71069         correction with front_misalign.
71071 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
71073         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
71074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
71075         Likewise.
71076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71077         Likewise.
71078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71079         Likewise.
71080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71081         Likewise.
71082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71083         Likewise.
71084         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71085         Likewise.
71086         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71087         Likewise.
71088         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71089         Likewise.
71090         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71091         Likewise.
71092         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71093         Likewise.
71094         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71095         Likewise.
71096         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71097         Likewise.
71099         * scripts/data/c++-types-x32-linux-gnu.data: New file.
71100         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71102 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
71104         [BZ #10846]
71105         [BZ #14036]
71106         * math/libm-test.inc (exp_test): Add test from bug 14036.
71107         (pow_test): Add test from bug 10846.
71109         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71110         and other flags.
71111         (special_function): Do not include flags in test name.
71112         (parse_args): Likewise.
71113         * sysdeps/i386/fpu/libm-test-ulps: Update.
71114         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71115         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71116         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71119         * math/gen-libm-test.pl (%beautify): Add entries for underflow
71120         exceptions.
71121         * math/libm-test.inc ("Philosophy"): Update comment about
71122         exception testing.
71123         (UNDERFLOW_EXCEPTION): New macro.
71124         (UNDERFLOW_EXCEPTION_OK): Likewise.
71125         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71126         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71127         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71128         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71129         (INVALID_EXCEPTION_OK): Update value.
71130         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71131         (OVERFLOW_EXCEPTION_OK): Likewise.
71132         (IGNORE_ZERO_INF_SIGN): Likewise.
71133         (test_exceptions): Handle underflow exceptions.
71134         (acos_test): Update for underflow exception expectations.
71135         (cexp_test): Likewise.
71136         (clog_test): Likewise.
71137         (clog10_test): Likewise.
71138         (csqrt_test): Likewise.
71139         (ctan_test): Likewise.
71140         (ctanh_test): Likewise.
71141         (exp_test): Likewise.
71142         (exp10_test): Likewise.
71143         (exp2_test): Likewise.
71144         (expm1_test): Likewise.
71145         (fma_test): Likewise.
71146         (j0_test): Likewise.
71147         (jn_test): Likewise.
71148         (nexttoward_test): Likewise.
71149         (pow_test): Likewise.
71150         (scalbn_test): Likewise.
71151         (scalbln_test): Likewise.
71152         (tan_test): Likewise.
71153         (y1_test): Likewise.
71154         * sysdeps/i386/fpu/libm-test-ulps: Update.
71155         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71157 2012-05-23  David S. Miller  <davem@davemloft.net>
71159         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71160         (__libc_sigaction): Remove unused local variables.
71162 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
71164         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
71166 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
71168         mktime: avoid signed integer overflow
71169         * time/mktime.c (__mktime_internal): Do not mishandle the case
71170         where diff == INT_MIN.
71172         mktime: simplify computation of average
71173         * time/mktime.c (ranged_convert): Use new time_t_avg function
71174         instead of rolling our own (probably-slower) code.
71176         mktime: do not assume signed right shift propagates sign bit
71177         * time/mktime.c (isdst_differ): New static function.
71178         (__mktime_internal): No need to normalize tm_isdst now.
71179         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
71180         tm_isdst values.
71182         mktime: merge another wrapv change from gnulib
71183         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
71184         from some compilers.
71186         mktime: remove incorrect attempt at unusual arithmetics
71187         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
71188         The code didn't really work on such machines anyway.
71189         (TYPE_MINIMUM): Assume two's complement.
71190         (twos_complement_arithmetic): Verify that long_int and time_t
71191         are two's complement (or unsigned, in the latter case).
71193         mktime: check signed shifts on long_int and time_t, too
71194         * time/mktime.c (SHR): Check that shifts work as desired
71195         on the types long_int and time_t too, as SHR is used on
71196         such types.
71198         mktime: do not assume 'long' is wide enough
71199         * time/mktime.c (verify): Move decl up.
71200         (long_int): New type.
71201         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
71202         to remove assumption in the code that 'long' is wide enough to
71203         store year values.  This assumption is not true on x32 and on
71204         some non-glibc platforms.
71206         mktime: merge wrapv change from gnulib
71207         * time/mktime.c (WRAPV): New macro.
71208         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
71209         (guess_time_tm, __mktime_internal): Do not assume that signed
71210         integer overflow wraps around; modern compilers generate code
71211         where this assumption is no longer valid.
71213 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
71215         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71216         Replace "jmp L(pseudo_end)" with "ret".
71217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
71218         Likewise.
71220 2012-05-23  Andreas Jaeger  <aj@suse.de>
71222         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
71223         * sysdeps/unix/sysv/linux/poll.c: Remove file.
71225 2012-05-23  Andreas Jaeger  <aj@suse.de>
71226             Maximilian Attems  <max@stro.at>
71228         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
71229         New macros.
71231 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
71233         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
71234         code so that pseudo_end is just ret and the stack pointer is
71235         correct also for static library in error case.
71237 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
71239         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
71240         move to syscalls.list.
71241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
71242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
71243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
71244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
71246         * manual/install.texi (Running make install): Do not mention Linux
71247         kernel version for which pt_chown is not needed.
71248         (Linux): Do not mention problems with nscd with 2.0 kernels.
71249         * INSTALL: Regenerated.
71251 2012-05-23  Andreas Jaeger  <aj@suse.de>
71253         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
71254         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
71255         macro.
71256         * sysdeps/unix/sysv/linux/s390/bits/mman.h
71257         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71258         * sysdeps/unix/sysv/linux/sh/bits/mman.h
71259         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71260         * sysdeps/unix/sysv/linux/i386/bits/mman.h
71261         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71262         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
71263         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71264         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
71265         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71266         * sysdeps/unix/sysv/linux/bits/in.h
71267         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
71269 2012-05-22  Roland McGrath  <roland@hack.frob.com>
71271         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
71272         (PREPARE_VERSION): Just use assert instead, it will be elided
71273         under [NDEBUG] anyway.
71275 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71277         * sysdeps/unix/sysv/linux/Makefile: Include
71278         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
71279         (sysdep_routines): Remove sysctl.
71280         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
71281         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
71282         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
71283         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
71284         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
71286 2012-05-22  Andreas Jaeger  <aj@suse.de>
71288         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
71289         that pseudo_end is just ret and the stack pointer is correct also
71290         for static library in error case.
71292 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
71294         [BZ #14122]
71295         * nss/nsswitch.c (defconfig_entries): New variable.
71296         (__nss_database_lookup): Don't leak defconfig entries.
71297         (nss_parse_service_list): Don't leak on error paths.
71298         (free_database_entries): New function.
71299         (free_defconfig): New function.
71300         (free_mem): Move common code to free_database_entries.
71302 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71304         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
71305         Add arch_prctl.
71306         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71308         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71309         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71310         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71311         New macro.
71312         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71313         (INTERNAL_SYSCALL_TYPES): Likewise.
71314         (LOAD_ARGS_TYPES_[1-6]): Likewise.
71315         (LOAD_REGS_TYPES_[1-6]): Likewise.
71316         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71317         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71319 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71321         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71322         copysignl for GLIBC_2_0.
71323         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71324         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71325         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71326         logbl for GLIBC_2_0.
71327         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71328         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71330 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71332         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71333         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71335         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71336         Use "neg %eax".
71338         * time/mktime.c: Update copyright years.
71340 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
71342         mktime: merge comment-quoting-style change from gnulib
71343         * time/mktime.c: Quote 'like this' in comments.
71344         The GNU coding standards suggest that we no longer quote `like this',
71345         as "`" and "'" are typically rendered asymmetrically nowadays.
71346         The typical gnulib style is to quote 'like this' when quoting
71347         code, and "like this" when quoting English.
71349         * time/mktime.c (compile-command): Add "-I.".
71351         mktime: merge mktime-internal.h change from gnulib
71352         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71354         mktime: merge time_r change from gnulib
71355         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71357         mktime: merge DEBUG change from gnulib
71358         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71359         case system <time.h> has a #define.
71361         mktime: merge <sys/types.h> change from gnulib
71362         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71363         since <time.t> is now guaranteed to define time_t.
71365         mktime: merge HAVE_CONFIG_H change from gnulib
71366         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71368 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
71370         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71371         Use "neg %eax".
71373         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71374         __rlim_t cast.
71375         (struct rusage): Use anonymous union to pad each field to
71376         __syscall_slong_t.
71378 2012-05-21  David S. Miller  <davem@davemloft.net>
71380         * Makefules (o-iterator): Remove .s cases.
71381         (compile-command.s): Delete.
71382         (COMPILE.s): Delete.
71383         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71385 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
71387         * configure.in (libc_cv_predef_stack_protector): Only consider
71388         "foobar" and "__stack_chk_fail" lines in libc_undefs.
71389         * configure: Regenerated.
71391 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71393         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71394         New macro.  Use R*LP on int and pointer.
71395         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71396         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71397         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71398         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71400         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71401         [__WORDSIZE_TIME64_COMPAT32] instead of
71402         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71403         (struct utmp): Likewise.
71404         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71405         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71406         Renamed to ...
71407         (__WORDSIZE_TIME64_COMPAT32): This.
71408         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71409         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71410         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71411         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71412         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71413         (__WORDSIZE_TIME64_COMPAT32): New macro.
71415 2012-05-21  Andreas Jaeger  <aj@suse.de>
71417         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71418         only if [SHARED]. Add prototype for __wcschr_ia32.
71420 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71422         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71423         of %rbp unmolested in the jmp_buf while mangling the low bits.
71424         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71425         unmolested high bits of %rbp while demangling the low bits.
71426         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71428 2012-05-21  Andreas Jaeger  <aj@suse.de>
71430         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71431         * sunrpc/svc_simple.c: Use it for registerrpc.
71432         * sunrpc/xcrypt.c: Use it for passwd2des.
71434         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71436 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71438         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71439         Don't define if [__SYSCALL_WORDSIZE != 32].
71440         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71441         New macro.
71443 2012-05-21  Bruno Haible  <bruno@clisp.org>
71444             Andreas Jaeger  <aj@suse.de>
71446         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71447         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71448         inptr and inend for must_buffer_ch.
71449         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71450         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71451         * stdio-common/Makefile (tests): Remove bug15.
71452         (bug15-ENV): Remove macro.
71453         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71454         anymore.
71456 2012-05-19  Andreas Jaeger  <aj@suse.de>
71457             Roland McGrath  <roland@hack.frob.com>
71459         * manual/contrib.texi: Completely rewritten. It contains now an
71460         alphabetical list of contributors and their contributions.
71462 2012-05-21  Richard Henderson  <rth@twiddle.net>
71464         * misc/getauxval.c (__getauxval): Use unsigned long int.
71465         * misc/sys/auxv.h: Include <sys/cdefs.h>.
71466         (getauxval): Use unsigned long int.
71468 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
71470         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71472 2012-05-21  Roland McGrath  <roland@hack.frob.com>
71474         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71475         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71476         __alignof__ (long double).
71478 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71480         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71482 2012-05-20  Richard Henderson  <rth@twiddle.net>
71484         * misc/getauxval.c: New file.
71485         * misc/sys/auxv.h: New file.
71486         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71487         (routines): Add getauxval.
71488         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71489         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71490         * elf/dl-sysdep.c (_dl_auxv): Remove.
71491         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71492         * elf/dl-support.c (_dl_auxv): New variable.
71493         (_dl_aux_init): Initialize it.
71494         * manual/startup.texi (Auxiliary Vector): New node.
71495         * sysdeps/generic/bits/hwcap.h: New file.
71496         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71497         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
71498         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71499         * sysdeps/sparc/sysdep.h: ... here.  Include it.
71500         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71501         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71503         Update.
71504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71505         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71506         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71507         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71508         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71510         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71513 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
71515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71517 2012-05-19  David S. Miller  <davem@davemloft.net>
71519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71521 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71523         [BZ #14123]
71524         * math/s_ccosh.c: Include <float.h>
71525         (__ccosh): Avoid internal overflow calculating sinh and cosh
71526         values before multiplying by sin and cos values.
71527         * math/s_ccoshf.c: Likewise.
71528         * math/s_ccoshl.c: Likewise.
71529         * math/s_csin.c: Likewise.
71530         * math/s_csinf.c: Likewise.
71531         * math/s_csinl.c: Likewise.
71532         * math/s_csinh.c: Likewise.
71533         * math/s_csinhf.c: Likewise.
71534         * math/s_csinhl.c: Likewise.
71535         * math/libm-test.inc (ccos_test): Add more tests.
71536         (ccosh_test): Likewise.
71537         (csin_test): Likewise.
71538         (csinh_test): Likewise.
71539         * sysdeps/i386/fpu/libm-test-ulps: Update.
71540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71542 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
71544         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71545         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71547         * sysdeps/x86_64/x32/_itoa.h: Add comment.
71549 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
71551         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71552         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71553         * sysdeps/powerpc/soft-fp/Versions: Likewise.
71554         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71555         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71556         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71557         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71558         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71559         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71560         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71561         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71562         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71563         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71564         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71565         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71566         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71567         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71568         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71569         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71570         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71571         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71572         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71573         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71574         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71575         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71576         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71577         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71578         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71579         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71580         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71581         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71583 2012-05-18  Andreas Jaeger  <aj@suse.de>
71585         * csu/.gitignore: Delete.
71587 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71589         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71590         (timex): Use __syscall_slong_t.
71592 2012-05-18  Andreas Jaeger  <aj@suse.de>
71593             Carlos O'Donell  <carlos_odonell@mentor.com>
71595         * manual/install.texi (Configuring and compiling): Update
71596         description about files modified in the source directory.
71597         * INSTALL: Regenerated.
71599 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71601         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71602         value.  Use "or" to set return value to -1.
71603         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71604         negate return value.
71606 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
71608         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71609         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71610         failure if the compiler has Graphite support disabled.
71611         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71612         Likewise.
71613         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71614         (CFLAGS-memmove.c): Likewise.
71615         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71616         Likewise.
71618 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
71620         * sysdeps/x86_64/x32/_itoa.h: New file.
71622         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71623         getdents system call only if kernel and user dirents have the
71624         same d_ino and d_off.
71626         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71627         LLONG_MAX != LONG_MAX.
71628         (_itoa_word): Use _ITOA_WORD_TYPE on value.
71629         (_fitoa_word): Likewise.
71631         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71632         years.
71633         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71634         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71635         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71637         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71638         include <bits/wordsize.h>.  Check __x86_64__ instead of
71639         __WORDSIZE.
71640         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71641         if __x86_64__ is defined.  Use anonymous union on fpstate.
71643         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71644         anonymous union.
71646 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
71648         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71649         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71650         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71651         Refer to _rtld_local_ro instead of _rtld_global_ro.
71652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71653         Likewise.
71654         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71655         Likewise.
71656         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71657         Likewise.
71658         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71659         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71660         of _rtld_global, and rtld_progname instead of _dl_argv[0].
71662         [BZ #10882]
71663         * sysdeps/powerpc/powerpc32/dl-machine.c
71664         (__elf_machine_runtime_setup) [PROF]: Don't reference
71665         _dl_prof_resolve.
71667 2012-05-18  Andreas Jaeger  <aj@suse.de>
71669         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71670         function only available for GCCs before 3.4 since GCC 3.4
71671         introduced a builtin.
71672         (lrint): Likewise.
71673         (llrintf): Likewise.
71674         (llrint): Likewise.
71675         (fmaxf): Likewise.
71676         (fmax): Likewise.
71677         (fminf): Likewise.
71678         (fmin): Likewise.
71679         (rint): Likewise.
71680         (rintf): Likewise.
71681         (nearbyint): Likewise.
71682         (nearbyintf): Likewise.
71683         (ceil): Likewise.
71684         (ceilf): Likewise.
71685         (floor): Likewise.
71686         (floorf): Likewise.
71688 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71690         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71691         on both fields and cast pointer to __syscall_ulong_t.
71693         * bits/types.h (__fsword_t): New type.
71694         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71695         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71696         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71697         (__FSWORD_T_TYPE): Likewise.
71698         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71699         (__FSWORD_T_TYPE): Likewise.
71700         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71701         (__FSWORD_T_TYPE): Likewise.
71702         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71703         (__FSWORD_T_TYPE): Likewise.
71704         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71705         __SWORD_TYPE with __fsword_t.
71706         (statfs64): Likewise.
71708 2012-05-17  David S. Miller  <davem@davemloft.net>
71710         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71712 2012-05-17  Andreas Jaeger  <aj@suse.de>
71714         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71715         warning.
71717 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71719         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71721 2012-05-17  Andreas Jaeger  <aj@suse.de>
71723         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71724         when it is used.
71726 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71728         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71730 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
71732         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71733         * sysdeps/x86_64/tst-mallocalign1.c: New file.
71735 2012-05-17  Andreas Jaeger  <aj@suse.de>
71736             Carlos O'Donell  <carlos_odonell@mentor.com>
71738         [BZ #14059]
71739         * sysdeps/x86_64/multiarch/init-arch.h
71740         (bit_YMM_Usable): Rename to...
71741         (bit_AVX_Usable): ... this.
71742         (bit_FMA4_Usable): New macro.
71743         (bit_XMM_state): New macro.
71744         (bit_YMM_state): New macro.
71745         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71746         [__ASSEMBLER__] (index_AVX_Usable): ... this.
71747         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71748         (CPUID_OSXSAVE): New macro.
71749         (CPUID_AVX): New macro.
71750         (CPUID_FMA4): New macro.
71751         (index_YMM_Usable): Rename to...
71752         (index_AVX_Usable): ... this.
71753         (HAS_AVX): Use HAS_ARCH_FEATURE.
71754         (HAS_FMA4): Likewise.
71755         (HAS_YMM_USABLE): Remove.
71756         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71757         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71758         are present.
71759         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71760         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71761         * sysdeps/x86_64/multiarch/Makefile: Likewise.
71762         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71763         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71765 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
71767         * math/libm-test.c: Support platforms without multiple rounding modes.
71768         * math/bug-nextafter.c: Support platforms without FP exceptions.
71769         * math/bug-nexttoward.c: Likewise.
71770         * math/test-fenv.c: Likewise.
71771         * math/test-misc.c: Likewise.
71772         * stdlib/bug-getcontext.c: Likewise.
71774 2012-05-17  Andreas Jaeger  <aj@suse.de>
71776         * manual/examples/search.c (critter_cmp): Change signature to
71777         avoid warnings.
71778         * manual/string.texi (Collation Functions): Likewise.
71780 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71782         * bits/types.h: Fold copyright years.
71783         * bits/typesizes.h: Likewise.
71784         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71785         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71786         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71787         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71788         * time/time.h: Likewise.
71790 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
71792         [BZ #208]
71793         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71794         in instead of returning them.  Return void.
71795         (__libc_mallinfo): Accumulate over all arenas.
71796         (__malloc_stats): Adjust for change in int_mallinfo interface.
71798 2012-05-16  Roland McGrath  <roland@hack.frob.com>
71800         [BZ #10375]
71801         * configure.in (NM): Add AC_CHECK_TOOL for it.
71802         (libc_extra_cflags): New substituted variable.
71803         Check for -fstack-protector being used implicitly.
71804         * configure: Regenerated.
71805         * config.make.in (config-extra-cflags): New variable,
71806         gets @libc_extra_cflags@.
71807         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71809         [BZ #10375]
71810         * configure.in: Check for _FORTIFY_SOURCE being predefined.
71811         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71812         * configure: Regenerated.
71813         * config.make.in (CPPUNDEFS): New substituted variable.
71814         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71815         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71816         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71818 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71820         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71821         (mq_attr): Use __syscall_slong_t.
71823 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71825         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71826         Check __x86_64__ instead of __WORDSIZE.
71827         (_STAT_VER_LINUX): Likewise.
71828         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
71829         __syscall_ulong_t and __syscall_slong_t.
71830         (stat64): Likewise.
71832 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71834         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71836 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71838         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71840 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71842         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71843         __syscall_ulong_t.
71845         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71846         include <bits/wordsize.h>.  Check __x86_64__ instead of
71847         __WORDSIZE.
71848         (greg_t): Use "__extension__ long long int" if __x86_64__ is
71849         defined.
71850         (mcontext_t): Replace "unsigned long" with "unsigned long long".
71852         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71853         include <bits/wordsize.h>.  Check __x86_64__ instead of
71854         __WORDSIZE.
71855         (user_regs_struct): Use "__extension__ unsigned long long"
71856         instead of "unsigned long" if __x86_64__ is defined.
71857         (user): Likewise.  Pad after pointer field if __ILP32__ is
71858         defined.
71860 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
71862         * configure.in (makeinfo): Require version 4.5 or later.  Allow
71863         versions 5 to 9.
71864         * configure: Regenerated.
71865         * manual/install.texi (texinfo): Increase version requirement to
71866         4.5 or later.
71867         * INSTALL: Regenerated.
71869         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71871 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
71873         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71875         * sysdeps/x86_64/x32/ffs.c: New file.
71877         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71878         __syscall_ulong_t.
71879         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71880         defined.  Use __syscall_ulong_t.
71881         (shminfo): Use __syscall_ulong_t.
71882         (shm_info): Likewise.
71884         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71885         __syscall_ulong_t.
71887         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71888         <bits/wordsize.h>.
71889         (msgqnum_t): Use __syscall_ulong_t.
71890         (msglen_t): Likewise.
71891         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
71892         __syscall_ulong_t.
71894         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71895         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71897         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71899         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71900         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71902         * sysvipc/sys/msg.h (msgbuf): Replace long int with
71903         __syscall_slong_t.
71905         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71906         include <bits/wordsize.h>.  Check __x86_64__ instead of
71907         __WORDSIZE.
71909         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71910         "unsigned long long int" if __x86_64__ is defined.
71911         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71913         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71914         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
71915         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71917         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71918         <stdint.h>.
71919         (GET_PC): Cast to uintptr_t first.
71920         (GET_FRAME): Likewise.
71921         (GET_STACK): Likewise.
71923         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71924         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71925         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71926         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71927         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71928         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71929         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71930         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71931         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71932         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71933         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71934         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71935         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71936         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71937         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71938         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71939         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71940         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71941         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71942         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71943         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71944         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71945         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71946         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71947         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71948         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71949         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71950         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71951         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71953 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
71955         * Makerules (+depfiles): Also collect depfiles from .oS in
71956         $(extra-objs).
71957         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71958         .oS, $(libnldbl-routines)).
71960         * Makerules (native-compile-mkdep-flags): Define.
71961         * sunrpc/Makefile (extra-objs): Add $(addprefix
71962         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71963         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71964         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
71965         calling $(make-target-directory).
71967 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71969         * bits/types.h (__snseconds_t): Removed.
71970         * time/time.h (struct timespec): Replace __snseconds_t with
71971         __syscall_slong_t.
71972         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71973         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71974         Likewise.
71975         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71976         (__SNSECONDS_T_TYPE): Likewise.
71977         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71978         (__SNSECONDS_T_TYPE): Likewise.
71979         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71980         (__SNSECONDS_T_TYPE): Likewise.
71982 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71984         * sysdeps/mach/hurd/bits/typesizes.h
71985         (__SYSCALL_SLONG_TYPE): New macro.
71986         (__SYSCALL_ULONG_TYPE): Likewise.
71988 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
71990         * bits/types.h (__syscall_slong_t): New type.
71991         (__syscall_ulong_t): Likewise.
71993         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71994         (__SYSCALL_ULONG_TYPE): Likewise.
71995         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71996         (__SYSCALL_SLONG_TYPE): Likewise.
71997         (__SYSCALL_ULONG_TYPE): Likewise.
71998         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71999         (__SYSCALL_SLONG_TYPE): Likewise.
72000         (__SYSCALL_ULONG_TYPE): Likewise.
72001         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
72002         (__SYSCALL_SLONG_TYPE): Likewise.
72003         (__SYSCALL_ULONG_TYPE): Likewise.
72005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72007         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
72008         Add sigaltstack-offsets.sym.
72009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
72010         <sigaltstack-offsets.h>.
72011         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
72012         longjmp_msg pointer.
72013         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
72014         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
72015         signal stack.
72016         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
72018 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
72020         * elf/stackguard-macros.h: Remove file.
72021         * sysdeps/generic/stackguard-macros.h: New file.
72022         * sysdeps/i386/stackguard-macros.h: Likewise.
72023         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
72024         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
72025         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
72026         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
72027         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
72028         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
72029         * sysdeps/x86_64/stackguard-macros.h: Likewise.
72030         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
72031         <elf/stackguard-macros.h>.
72033         [BZ #14109]
72034         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
72035         __aligned__ in attribute.
72036         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
72037         (gregset_t): Likewise.
72039 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72041         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
72042         * sysdeps/x86_64/64/Implies-after: Here.  New file.
72043         * sysdeps/x86_64/x32/Implies-after: New file.
72045 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72047         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
72048         and access return value for _dl_profile_fixup.  Use R10_LP to
72049         load frame size.
72051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72053         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
72055 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72057         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
72058         * sysdeps/x86_64/x32/sysdep.h: New file.
72060 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72062         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
72063         * sysdeps/x86_64/setjmp.S: Likewise.
72065 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72067         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
72068         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
72069         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
72070         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
72071         remove unused global constant.
72073 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
72075         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72076         include of <not-cancel.h>.
72078 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72080         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72082 2012-05-15  Jeff Law  <law@redhat.com>
72083             Andreas Jaeger  <aj@suse.de>
72085         [BZ #13594]
72086         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72087         out from...
72088         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72089         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72090         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72091         code changing __hst_map_handle.map.
72093 2012-05-15  Roland McGrath  <roland@hack.frob.com>
72095         * configure.in (sysnames): Look for Implies-before and Implies-after
72096         files.
72097         * configure: Regenerated.
72099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72101         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72102         8-byte data alignment with LP_SIZE alignment.
72104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72106         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72107         into R10_LP.
72109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72111         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72113 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72115         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72116         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72117         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72118         Likewise.
72119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72123         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72124         (stackinfo_sub_sp): Likewise.
72126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72128         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72129         RAX_LP.
72131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72133         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72134         into R*_LP.
72136 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72138         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
72139         sizes into R*_LP.
72141 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72143         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72145 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72147         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
72148         into R11_LP and load __x86_64_shared_cache_size_half into
72149         R8_LP.
72151 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
72153         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
72154         R8_LP.
72156 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72158         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
72159         logb for POWER7.
72160         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
72161         logbf for POWER7.
72162         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
72163         logbl for POWER7.
72164         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
72165         powerpc32/power7/fpu/s_logb.c via #include.
72166         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
72167         powerpc32/power7/fpu/s_logbf.c via #include.
72168         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
72169         powerpc32/power7/fpu/s_logbl.c via #include.
72171 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
72173         * README.libm: Remove file.
72175 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72177         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
72178         count for x32.  Use R*_LP and omit operand-size suffix.
72180 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72182         * shlib-versions: Move x86_64-.*-linux.* entries to ...
72183         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
72184         * sysdeps/x86_64/x32/shlib-versions: New file.
72186 2012-05-14  Roland McGrath  <roland@hack.frob.com>
72188         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
72189         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
72190         Use _dl_fatal_printf instead.
72192 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
72194         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
72195         set if not set by the user.  Do not allow for being unset.
72196         * sysdeps/unix/sysv/linux/configure: Regenerated.
72198 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72200         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
72201         the `q' suffix from lea and replace .quad with ASM_ADDR.
72203 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72205         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
72206         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
72207         instead of $17.
72208         (PTR_DEMANGLE): Likewise.
72210 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72212         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
72213         (LP_OP): Likewise.
72214         (ASM_ADDR): Likewise.
72215         (RAX_LP): Likewise.
72216         (RBP_LP): Likewise.
72217         (RBX_LP): Likewise.
72218         (RCX_LP): Likewise.
72219         (RDI_LP): Likewise.
72220         (RSI_LP): Likewise.
72221         (RSP_LP): Likewise.
72222         (R8_LP): Likewise.
72223         (R9_LP): Likewise.
72224         (R10_LP): Likewise.
72225         (R10_LP): Likewise.
72226         (R11_LP): Likewise.
72227         (R12_LP): Likewise.
72228         (R13_LP): Likewise.
72229         (R14_LP): Likewise.
72230         (R15_LP): Likewise.
72232 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72234         * sysdeps/x86_64/x32/dl-machine.h: New file.
72236 2012-05-14  Andreas Jaeger  <aj@suse.de>
72238         * manual/Makefile (subdir): Remove export of subdir.
72239         (all): Remove target.
72240         (.PHONY): Remove all from list.
72241         (mkinstalldirs): Remove.
72242         (.PHONY): Remove installdirs from list.
72243         ($(inst_infodir)/libc.info): Use make-target-directory.
72244         (installdirs): Remove.
72245         (subdir_%): Remove.
72246         (glibc-targets): Remove.
72247         (lib): Remove.
72248         (stubs): Remove.
72249         ($(objpfx)stubs ../po/manual.pot): Remove.
72250         ($(objpfx)stamp%): Remove.
72251         (make-target-directory): Remove.
72252         (subdir_install): Remove.
72253         (routines): Remove.
72254         (aux): Remove.
72255         (sources): Remove.
72256         (objects): Remove.
72257         (headers): Remove.
72259         [BZ #13750]
72260         * manual/.gitignore: Remove, it's not needed anymore.
72261         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
72262         all files in it.
72263         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
72264         directory.
72265         (texis): Renamed to $(objpfx)texis.
72266         (texis-path): New, contains path to generated files.
72267         (chapters.%): Use texis-path for complete path, add extra argument
72268         libc-texinfo.sh.
72269         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
72270         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
72271         (summary,texi, stamp-summary): Use complete path of
72272         files. Generate files in build dir.
72273         (dir-add.texi): Build in build dir.
72274         (libm-err.texi,stamp-libm-err): Likewise.
72275         (version.texi, stamp-version): Likewise.
72276         (.%c.texi): Likewise.
72277         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
72278         (mostlyclean): Remove target.
72279         (realclean): Remove target.
72280         (generated): Add new variable with contents from mostlyclean and
72281         realclean, remove entries duplicated in common-mostlyclean, add
72282         stamp-libm-err and stamp-version.
72283         (generated-dirs): Add libc directory.
72284         ($(inst_infodir)/libc.info): Install files from build dir.
72286         * manual/install.texi (Configuring and compiling): Adjust since
72287         the info files are not part of the tar ball anymore.
72289 2012-05-14  Andreas Jaeger  <aj@suse.de>
72291         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
72292         variable.
72294 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
72296         [BZ #13717]
72297         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72298         to 2.2.0 where earlier.
72299         * sysdeps/unix/sysv/linux/configure: Regenerated.
72300         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
72301         Remove conditional code.
72302         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
72303         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
72304         Remove conditional code.
72305         [!__NR_lchown]: Likewise.
72306         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72307         [__NR_lchown]: Likewise.
72308         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72309         comment referencing __ASSUME_LCHOWN_SYSCALL.
72310         * sysdeps/unix/sysv/linux/i386/sigaction.c
72311         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72312         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72313         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72314         Remove conditional code.
72315         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72316         (__protocol_available): Remove #if 0 code.
72317         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72318         conditional code.
72319         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72320         * sysdeps/unix/sysv/linux/kernel-features.h
72321         (__ASSUME_GETCWD_SYSCALL): Don't define.
72322         (__ASSUME_REALTIME_SIGNALS): Likewise.
72323         (__ASSUME_PREAD_SYSCALL): Likewise.
72324         (__ASSUME_PWRITE_SYSCALL): Likewise.
72325         (__ASSUME_POLL_SYSCALL): Likewise.
72326         (__ASSUME_LCHOWN_SYSCALL): Likewise.
72327         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72328         non-SPARC.
72329         (__ASSUME_SIOCGIFNAME): Don't define.
72330         (__ASSUME_MSG_NOSIGNAL): Likewise.
72331         (__ASSUME_SENDFILE): Define unconditionally.
72332         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72333         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72334         conditional code.
72335         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72336         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72337         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72338         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72339         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72340         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72341         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72343         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72346         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72347         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72349         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72350         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72352         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72353         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72355         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72356         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72358         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72359         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72361         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72362         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72364         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72365         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72366         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72367         Remove conditional code.
72368         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72369         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72370         Remove conditional code.
72371         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72372         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72373         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72374         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72375         Remove conditional code.
72376         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72377         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72378         Remove conditional code.
72379         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72380         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72381         Remove conditional code.
72382         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72383         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72384         Remove conditional code.
72385         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72386         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72387         Remove conditional code.
72388         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72389         * sysdeps/unix/sysv/linux/sh/pwrite64.c
72390         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72391         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72392         * sysdeps/unix/sysv/linux/sigaction.c
72393         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72394         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72395         * sysdeps/unix/sysv/linux/sigpending.c
72396         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72397         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72398         * sysdeps/unix/sysv/linux/sigprocmask.c
72399         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72400         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72401         * sysdeps/unix/sysv/linux/sigsuspend.c
72402         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72403         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72404         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72405         (__libc_missing_rt_sigs): Remove.
72406         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72407         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72408         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72409         Remove conditional code.
72410         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72411         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72412         return 1.
72413         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72414         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72415         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72416         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72418 2012-05-14  Andreas Jaeger  <aj@suse.de>
72420         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72421         it's not used in glibc.
72422         (__coshm1): Likewise.
72423         (__acosh1p): Likewise.
72424         (__sgn): Likewise.
72426         * manual/string.texi (Copying and Concatenation): Add missing
72427         variable in concat example.
72428         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72430 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72432         [BZ #14103]
72433         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72434         __builtin_clzl with __builtin_clzll.
72436 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
72438         [BZ #14104]
72439         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72440         libc_freeres_ptr.
72442 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72444         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72445         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72446         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72447         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72449 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
72451         * NEWS: Update ia64 info.
72453 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
72455         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72456         used as bcopy.
72458 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
72460         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72461         * sysdeps/unix/syscalls.list (dup3): Likewise.
72462         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72463         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72465 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72467         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72468         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72470 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
72472         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72473         thread pointer.
72474         (TLS_IE): Use mov/add instead of movq/addq to load thread
72475         pointer.
72476         (TLS_GD_PREFIX): New.
72477         (TLS_GD): Use it.
72479 2012-05-11  David S. Miller  <davem@davemloft.net>
72481         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72482         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72483         (_FPU_SETCW): Likewise.
72485 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72487         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72488         is 32-byte aligned.
72490 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
72492         [BZ #11837]
72493         * iconvdata/gb18030.c: Update tables.
72494         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
72495         characters specially.
72496         (BODY for TO_LOOP): Add encoding of missing ranges.
72498 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
72500         [BZ #13673]
72501         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72502         * sysdeps/mach/hurd/dup3.c: Likewise.
72503         * sysdeps/mach/hurd/readlinkat.c: Likewise.
72504         * sysdeps/powerpc/memmove.c:: Likewise.
72506 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72509         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72511 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72513         * elf/elf.h (R_X86_64_RELATIVE64): New.
72514         (R_X86_64_NUM): Updated.
72515         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72516         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
72517         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72518         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72519         tst-quad1pie tst-quad2pie
72520         (modules-names): Add tst-quadmod1 tst-quadmod2.
72521         ($(objpfx)tst-quad1): New dependency.
72522         ($(objpfx)tst-quad2): Likewise.
72523         ($(objpfx)tst-quad1pie): Likewise.
72524         ($(objpfx)tst-quad2pie): Likewise.
72525         * sysdeps/x86_64/tst-quad1.c: New file.
72526         * sysdeps/x86_64/tst-quad1pie.c: New file.
72527         * sysdeps/x86_64/tst-quad2.c: Likewise.
72528         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72529         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72530         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72531         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72532         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72534 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72536         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72537         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72538         * streams/stropts.h (t_scalar_t): Define type.
72540         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72541         (_PATH_PRESERVE): Set to "/var/lib".
72542         (_PATH_RWHODIR): Set to "/var/spool/rwho".
72544         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72545         instead of int.
72547         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72548         if __dir_mkfile succeeded.
72550         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72551         checking for _hurd_dtablesize.  Unlock it right after having
72552         finished _hurd_dtable allocation.
72554 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72556         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72557         * sysdeps/mach/hurd/configure: Regenerated.
72558         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72559         special-casing to...
72560         * sysdeps/gnu/configure.in: ... this new file.
72561         * sysdeps/unix/sysv/linux/configure: Regenerated.
72562         * sysdeps/gnu/configure: New generated file.
72564         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72565         for Linux: use nsec instead of usec, as well as:
72566         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72567         members of type struct timespec.
72568         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72569         New macros.
72570         (struct stat64): Likewise.
72571         (_STATBUF_ST_NSEC): New macro.
72572         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72574         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72575         __strtoul_internal rather than strtoul.
72577 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72579         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72580         and reject them.
72582 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72584         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72585         which preserves existing values.
72586         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72588 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72590         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72591         TIMEOUT values.  Return EINVAL for NFDS values either negative or
72592         greater than FD_SETSIZE.
72594 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72596         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72597         allocated, call __vm_protect to finish enabling the existing space, and
72598         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72599         allocate the remainder.
72601 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72603         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72604         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
72606 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72608         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72609         sysdeps/mach/hurd/readlink.c.
72611         * posix/tst-sysconf.c (posix_options): Only use
72612         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72613         _POSIX_SYNCHRONIZED_IO when they are defined
72614         * sysdeps/mach/hurd/bits/posix_opt.h:
72615         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72616         (_XOPEN_REALTIME): Undefine macro.
72617         (_XOPEN_REALTIME_THREADS): Undefine macro.
72618         (_XOPEN_SHM): Undefine macro.
72619         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72620         macro to -1.
72621         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72622         macro to -1.
72623         (_POSIX_ASYNC_IO): Undefine macro.
72624         (_POSIX_PRIORITIZED_IO): Undefine macro.
72625         (_POSIX_SPIN_LOCKS): Define macro to -1.
72627         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72628         SA_NODEFER, SA_RESETHAND.
72629         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72630         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72631         F_DUPFD_CLOEXEC.
72633 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72635         * elf/Makefile (pldd-modules): Define unconditionally.
72637 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72639         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72641 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72643         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72644         Return ENOENT when name is empty.
72645         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72647 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72649         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72651         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72655         Fix mlock in all cases except non-readable pages.
72656         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72657         instead of VM_PROT_ALL as parameter to __vm_wire function.
72659         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72660         (__mkdir): When path is `/', just fail with EEXIST.
72661         * sysdeps/mach/hurd/mkdirat.c: Likewise.
72663 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72665         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72666         <sys/uio.h> (for writev).
72667         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72668         and <sys/param.h> (for MIN).
72670 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
72672         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72673         REQUESTED_TIME.  Properly set the remaining time and return EINTR
72674         if interrupted.
72676 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72678         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72679         Depend on against $(link-rpcuserlibs).
72681 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72683         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72684         (__libc_stack_end): Do not use attribute_relro.
72685         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72686         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72687         to libthread-provided value.
72688         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72689         attribute_relro.
72691 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72693         [BZ #3748]
72694         * bits/libc-lock.h (__libc_once_get): New macro.
72695         * sysdeps/mach/bits/libc-lock.h: Likewise.
72696         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72697         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72698         instead of using implementation details.
72700         * libio/fileops.c: Unconditionally include <kernel-features.h>.
72701         * libio/freopen.c: Likewise.
72702         * libio/freopen64.c: Likewise.
72703         * misc/syslog.c: Likewise.
72704         * nscd/connections.c: Likewise.
72705         * nscd/netgroupcache.c: Likewise.
72706         * sysdeps/posix/getcwd.c: Likewise.
72708 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72710         * math/w_ilogbf.c: Add #include <limits.h>.
72712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72714         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72715         path instead of returning without unlocking.
72717         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72718         immediate-write ioctls.
72719         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72721 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72723         * sysdeps/mach/hurd/i386/init-first.c (init): Use
72724         __builtin_frame_address instead of making assumptions about the
72725         location of the return address relative to DATA.  Force early load of
72726         the return address.
72727         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72728         __builtin_frame_address.
72730         dup3 for GNU Hurd.
72731         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72732         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
72733         implement dup3 and do some further code clean-ups.
72734         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72735         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72737 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72739         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72741         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72742         HURD_CRITICAL_END around holding _hurd_dtable_lock.
72743         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72744         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72745         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72746         d->port.lock.
72748         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72749         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
72750         when handler == SIG_ERR, not when handler != SIG_ERR.
72752 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72754         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72755         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72756         definitions.
72758         accept4 for GNU Hurd.
72759         * include/sys/socket.h (__libc_accept4): New prototype.
72760         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
72761         to implement __libc_accept4.
72762         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72763         __libc_accept4.
72764         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72766         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72767         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72768         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72769         signal-defines.sym.
72771 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72773         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72775 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
72777         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72778         assertion on O_CLOEXEC flag.
72779         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72780         * hurd/intern-fd.c: Likewise.
72781         * hurd/port2fd.c: Likewise.
72783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72785         [BZ #3906]
72786         * bits/in.h (IPV6_PKTINFO): Define new macro.
72787         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72789 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72791         [BZ #13954]
72792         [BZ #13955]
72793         [BZ #13956]
72794         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72795         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72796         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72797         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72798         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72799         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72800         * math/libm-test.inc (logb_test) : Additional logb tests.
72802 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
72803             Andreas Jaeger  <aj@suse.de>
72805         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72806         * configure: Regenerated.
72807         * config.h.in (LINK_OBSOLETE_RPC): New macro.
72808         * config.make.in (link-obsolete-rpc): New substituted variable.
72809         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72810         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72811         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72812         (shared-only-routines): Don't set it under [link-obsolete-rpc],
72813         so that libc.a contains the symbols.
72814         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72815         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72816         * sunrpc/auth_none.c: Likewise.
72817         * sunrpc/auth_unix.c: Likewise.
72818         * sunrpc/authdes_prot.c: Likewise.
72819         * sunrpc/authuxprot.c: Likewise.
72820         * sunrpc/clnt_gen.c: Likewise.
72821         * sunrpc/clnt_perr.c: Likewise.
72822         * sunrpc/clnt_raw.c: Likewise.
72823         * sunrpc/clnt_simp.c: Likewise.
72824         * sunrpc/clnt_tcp.c: Likewise.
72825         * sunrpc/clnt_udp.c: Likewise.
72826         * sunrpc/clnt_unix.c: Likewise.
72827         * sunrpc/des_crypt.c: Likewise.
72828         * sunrpc/des_soft.c: Likewise.
72829         * sunrpc/get_myaddr.c: Likewise.
72830         * sunrpc/key_call.c: Likewise.
72831         * sunrpc/key_prot.c: Likewise.
72832         * sunrpc/netname.c: Likewise.
72833         * sunrpc/pm_getmaps.c: Likewise.
72834         * sunrpc/pm_getport.c: Likewise.
72835         * sunrpc/pmap_clnt.c: Likewise.
72836         * sunrpc/pmap_prot.c: Likewise.
72837         * sunrpc/pmap_prot2.c: Likewise.
72838         * sunrpc/pmap_rmt.c: Likewise.
72839         * sunrpc/publickey.c: Likewise.
72840         * sunrpc/rpc_cmsg.c: Likewise.
72841         * sunrpc/rpc_common.c: Likewise.
72842         * sunrpc/rpc_dtable.c: Likewise.
72843         * sunrpc/rpc_prot.c: Likewise.
72844         * sunrpc/rpc_thread.c: Likewise.
72845         * sunrpc/rtime.c: Likewise.
72846         * sunrpc/svc.c: Likewise.
72847         * sunrpc/svc_auth.c: Likewise.
72848         * sunrpc/svc_raw.c: Likewise.
72849         * sunrpc/svc_run.c: Likewise.
72850         * sunrpc/svc_tcp.c: Likewise.
72851         * sunrpc/svc_udp.c: Likewise.
72852         * sunrpc/svc_unix.c: Likewise.
72853         * sunrpc/svcauth_des.c: Likewise.
72854         * sunrpc/xcrypt.c: Likewise.
72855         * sunrpc/xdr.c: Likewise.
72856         * sunrpc/xdr_array.c: Likewise.
72857         * sunrpc/xdr_float.c: Likewise.
72858         * sunrpc/xdr_intXX_t.c: Likewise.
72859         * sunrpc/xdr_mem.c: Likewise.
72860         * sunrpc/xdr_rec.c: Likewise.
72861         * sunrpc/xdr_ref.c: Likewise.
72862         * sunrpc/xdr_sizeof.c: Likewise.
72863         * sunrpc/xdr_stdio.c: Likewise.
72865 2012-05-10  Roland McGrath  <roland@hack.frob.com>
72867         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72868         change.  Update copyright years.
72870 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72872         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72874 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
72875             Joseph Myers  <joseph@codesourcery.com>
72876             Paul Pluzhnikov  <ppluzhnikov@google.com>
72878         [BZ #14012]
72879         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72880         requiring rpcgen.
72881         [cross-compiling] (extra-libs): Likewise.
72882         [cross-compiling] (extra-libs-others): Likewise.
72883         [cross-compiling] (librpcsvc-routines): Likewise.
72884         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72885         [cross-compiling] (omit-deps): Likewise.
72886         (sunrpc-CPPFLAGS): New variable.
72887         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72888         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72889         (cross-rpcgen-objs): New variable.
72890         (extra-objs): Append $(cross-rpcgen-objs).
72891         ($(cross-rpcgen-objs)): New rule.
72892         ($(objpfx)cross-rpcgen): Likewise.
72893         (rpcgen-cmd): Define to use $(built-program-file).  Expand
72894         comment.
72895         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72896         ($(objpfx)x%.stmp): Likewise.
72897         * sunrpc/proto.h [IS_IN_build] (_): Define.
72898         [IS_IN_build] (_libc_intl_domainname): Likewise.
72900 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
72902         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72903         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72904         and R_X86_64_TPOFF64.
72906 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
72908         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72909         sysdeps/unix/sysv/syscalls.list.
72910         (stime): Likewise.
72911         (utime): Likewise.
72912         * sysdeps/unix/sysv/syscalls.list: Remove file.
72914 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
72916         [BZ #3440]
72917         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72918         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72919         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72920         (__LC_IDENTIFICATION): Make these macros useful in #if
72921         expressions, as required by C99.
72923 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
72925         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72926         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
72927         after this.
72929 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
72931         * stdlib/longlong.h: Updated from GCC.
72933 2012-05-09  Andreas Jaeger  <aj@suse.de>
72935         * nscd/nscd.c (run_modes): Make named enum, reorder so that
72936         default is first entry.
72937         (run_mode): Set type.
72938         (main): Remove informal message about syslog.
72939         (options): Fix typo.
72941         [BZ #14053]
72942         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72943         to asm.
72944         (lrint): Likewise.
72945         (llrintf): Likewise.
72946         (llrint): Likewise.
72947         (rint): Likewise.
72948         (rintf): Likewise.
72949         (nearbyint): Likewise.
72950         (nearbyintf): Likewise.
72952 2012-05-09  Andreas Jaeger  <aj@suse.de>
72953             Pedro Alves  <palves@redhat.com>
72955         * nscd/nscd.c (run_mode): Use enum.
72956         (main): Cleanup coding style issue.
72958 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
72959             Andreas Jaeger  <aj@suse.de>
72961         * nscd/nscd.c (go_background): Replaced with...
72962         (run_mode): ... this.
72963         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72964         (options): Add -F --foreground.
72965         (main): Implement it.
72966         (parse_opt): Parse it.
72968 2012-05-09  Andreas Jaeger  <aj@suse.de>
72970         [BZ #14083]
72971         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72972         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72973         -Wconversion warning.
72974         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72975         Likewise.
72977 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
72979         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
72980         == 0.
72981         (LC_ALL): Use macro-int-constant.
72982         (LC_COLLATE): Likewise.
72983         (LC_CTYPE): Likewise.
72984         (LC_MESSAGES): Likewise.
72985         (LC_MONETARY): Likewise.
72986         (LC_NUMERIC): Likewise.
72987         (LC_TIME): Likewise.
72988         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72989         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72990         [ISO || ISO99 || ISO11] (*_t): Do not allow.
72991         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72992         Specify type.
72993         [C99-based standards] (float_t): Expect type.
72994         [C99-based standards] (double_t): Expect type.
72995         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
72996         type.
72997         [C99-based standards] (HUGE_VALL): Likewise.
72998         [C99-based standards] (INFINITY): Likewise.
72999         [C99-based standards] (NAN): Likewise.
73000         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
73001         [C99-based standards] (FP_NAN): Likewise.
73002         [C99-based standards] (FP_NORMAL): Likewise.
73003         [C99-based standards] (FP_SUBNORMAL): Likewise.
73004         [C99-based standards] (FP_ZERO): Likewise.
73005         [C99-based standards] (FP_FAST_FMA): Use
73006         optional-macro-int-constant.  Specify type.  Require == 1.
73007         [C99-based standards] (FP_FAST_FMAF): Likewise.
73008         [C99-based standards] (FP_FAST_FMAL): Likewise.
73009         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
73010         [C99-based standards] (FP_ILOGBNAN): Likewise.
73011         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
73012         Specify type.
73013         [C99-based standards] (MATH_ERREXCEPT): Likewise.
73014         [C99-based standards] (math_errhandling): Specify type.
73015         [ISO99 || ISO11] (signgam): Do not allow.
73016         [non-C99-based standards] (copysignf): Do not allow.
73017         [non-C99-based standards] (exp2f): Likewise.
73018         [non-C99-based standards] (log2f): Likewise.
73019         [non-C99-based standards] (modff): Allow.
73020         [non-C99-based standards] (erff): Do not allow.
73021         [non-C99-based standards] (erfcf): Likewise.
73022         [non-C99-based standards] (gammaf): Likewise.
73023         [non-C99-based standards] (hypotf): Likewise.
73024         [non-C99-based standards] (j0f): Likewise.
73025         [non-C99-based standards] (j1f): Likewise.
73026         [non-C99-based standards] (jnf): Likewise.
73027         [non-C99-based standards] (lgammaf): Likewise.
73028         [non-C99-based standards] (tgammaf): Likewise.
73029         [non-C99-based standards] (y0f): Likewise.
73030         [non-C99-based standards] (y1f): Likewise.
73031         [non-C99-based standards] (ynf): Likewise.
73032         [non-C99-based standards] (isnanf): Likewise.
73033         [non-C99-based standards] (acoshf): Likewise.
73034         [non-C99-based standards] (asinhf): Likewise.
73035         [non-C99-based standards] (atanhf): Likewise.
73036         [non-C99-based standards] (cbrtf): Likewise.
73037         [non-C99-based standards] (expm1f): Likewise.
73038         [non-C99-based standards] (ilogbf): Likewise.
73039         [non-C99-based standards] (log1pf): Likewise.
73040         [non-C99-based standards] (logbf): Likewise.
73041         [non-C99-based standards] (nextafterf): Likewise.
73042         [non-C99-based standards] (remainderf): Likewise.
73043         [non-C99-based standards] (rintf): Likewise.
73044         [non-C99-based standards] (scalbf): Likewise.
73045         [non-C99-based standards] (copysignl): Likewise.
73046         [non-C99-based standards] (exp2l): Likewise.
73047         [non-C99-based standards] (log2l): Likewise.
73048         [non-C99-based standards] (modfl): Allow.
73049         [non-C99-based standards] (erfl): Do not allow.
73050         [non-C99-based standards] (erfcl): Likewise.
73051         [non-C99-based standards] (gammal): Likewise.
73052         [non-C99-based standards] (hypotl): Likewise.
73053         [non-C99-based standards] (j0l): Likewise.
73054         [non-C99-based standards] (j1l): Likewise.
73055         [non-C99-based standards] (jnl): Likewise.
73056         [non-C99-based standards] (lgammal): Likewise.
73057         [non-C99-based standards] (tgammal): Likewise.
73058         [non-C99-based standards] (y0l): Likewise.
73059         [non-C99-based standards] (y1l): Likewise.
73060         [non-C99-based standards] (ynl): Likewise.
73061         [non-C99-based standards] (isnanl): Likewise.
73062         [non-C99-based standards] (acoshl): Likewise.
73063         [non-C99-based standards] (asinhl): Likewise.
73064         [non-C99-based standards] (atanhl): Likewise.
73065         [non-C99-based standards] (cbrtl): Likewise.
73066         [non-C99-based standards] (expm1l): Likewise.
73067         [non-C99-based standards] (ilogbl): Likewise.
73068         [non-C99-based standards] (log1pl): Likewise.
73069         [non-C99-based standards] (logbl): Likewise.
73070         [non-C99-based standards] (nextafterl): Likewise.
73071         [non-C99-based standards] (remainderl): Likewise.
73072         [non-C99-based standards] (rintl): Likewise.
73073         [non-C99-based standards] (scalbl): Likewise.
73074         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73075         [non-C99-based standards] (FP_*): Do not allow.
73076         [C99-based standards] (FP_*): Change to
73077         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73078         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73079         allow.
73080         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73081         (SIG_ERR): Likewise.
73082         [X/Open-based standards] (SIG_HOLD): Likewise.
73083         (SIG_IGN): Likewise.
73084         (SIGABRT): Use macro-int-constant.  Specify type.  Require
73085         positive value.
73086         (SIGFPE): Likewise.
73087         (SIGILL): Likewise.
73088         (SIGINT): Likewise.
73089         (SIGSEGV): Likewise.
73090         (SIGTER): Likewise.
73091         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73092         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73093         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73094         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73095         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73096         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73097         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73098         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73099         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73100         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73101         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73102         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73103         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73104         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73105         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73106         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73107         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73108         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73109         [X/Open-based standards] (SIGTRAP): Likewise.
73110         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73111         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73112         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73113         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73114         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73115         allow.
73117 2012-05-08  Ian Wienand  <ianw@vmware.com>
73119         [BZ #14080]
73120         * time/tzset.c (__tzset_parse_tz): Update default rules for
73121         daylight time changes in the Energy Policy Act of 2005.
73123 2012-05-09  Andreas Jaeger  <aj@suse.de>
73125         [BZ #13983]
73126         * elf/ldconfig.c (parse_conf): Change string to make clear that
73127         ldconfig only issued a warning if ld.so.conf does not exist.
73129 2012-05-08  David S. Miller  <davem@davemloft.net>
73131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73132         movxtod instead of popping the value on the stack.
73134         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73136 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
73138         * config.h.in: Add HAVE_ARM_PCS_VFP.
73140 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
73142         [BZ #13979]
73143         * include/features.h: Warn if user requests __FORTIFY_SOURCE
73144         checking but the checks are disabled for any reason.
73146 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
73148         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
73149         and ELF64_R_TYPE with ELFW(R_TYPE).
73151 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
73153         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
73154         (ulimit): Likewise.
73156         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
73157         (settimeofday): Likewise.
73159 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
73161         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
73162         a struct th_u2 inside the union, and move tu_block/tu_code into
73163         a new th_u3 union of tu_block/tu_code inside of that.  Move
73164         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
73165         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
73166         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
73167         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
73168         (th_stuff): Change to th_u1.tu_stuff.
73169         (th_data): Define.
73170         (th_msg): Change to th_u1.th_u2.tu_data.
73172 2012-05-07  David S. Miller  <davem@davemloft.net>
73174         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73176         [BZ #14074]
73177         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
73178         (SETUP_PIC_REG): Use it.
73179         (SETUP_PIC_REG_LEAF): Use it.
73181 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
73183         [BZ #13885]
73184         [BZ #13923]
73185         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73186         USE_AS_EXPM1L.
73187         (EXPL_FINITE): Likewise.
73188         (FLDLOG): Likewise.
73189         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73190         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73191         e_expl.S.
73192         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73193         USE_AS_EXPM1L.
73194         (EXPL_FINITE): Likewise.
73195         (FLDLOG): Likewise.
73196         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73197         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73198         e_expl.S.
73199         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
73200         test of -max_value argument for long double.
73201         * sysdeps/i386/fpu/libm-test-ulps: Update.
73202         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73204 2012-05-06  David S. Miller  <davem@davemloft.net>
73206         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
73207         quad soft-float symbols whose references which are compiler
73208         generated.
73209         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73211 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
73213         [BZ #13884]
73214         [BZ #13914]
73215         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73216         USE_AS_EXP10L.
73217         (EXPL_FINITE): Likewise.
73218         (FLDLOG): Likewise.
73219         (c0): Likewise.
73220         (c1): Likewise.
73221         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
73222         Adjust comments for base varying.
73223         (__expl_finite): Change alias to EXPL_FINITE.
73224         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
73225         e_expl.S.
73226         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
73227         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
73228         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
73229         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
73230         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73231         USE_AS_EXP10L.
73232         (EXPL_FINITE): Likewise.
73233         (FLDLOG): Likewise.
73234         (c0): Likewise.
73235         (c1): Likewise.
73236         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
73237         Adjust comments for base varying.
73238         (__expl_finite): Change alias to EXPL_FINITE.
73239         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
73240         tests for bugs.
73241         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73243         [BZ #14064]
73244         * math/libm-test.inc (check_float_internal): Correct ulp
73245         calculation for subnormal expected results.
73247 2012-05-06  Andreas Jaeger  <aj@suse.de>
73249         * Makeconfig (+math-flags): New, set to -frounding-math.
73250         (+cflags): Add +math-flags so that all of glibc gets compiled with
73251         it.
73253         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
73255 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
73257         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
73258         Disable one test.
73260         [BZ #13787]
73261         [BZ #13922]
73262         [BZ #14036]
73263         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
73264         (__ieee754_expl): Allow for and saturate large arguments.
73265         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
73266         (u_threshold): Likewise.
73267         (__exp): Call __ieee754_exp before checking for overflow and
73268         underflow.
73269         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
73270         (u_threshold): Likewise.
73271         (__expf): Call __ieee754_expf before checking for overflow and
73272         underflow.
73273         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
73274         (u_threshold): Likewise.
73275         (__expl): Call __ieee754_expl before checking for overflow and
73276         underflow.
73277         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
73278         (__ieee754_expl): Allow for and saturate large arguments.
73279         * math/libm-test.inc (exp_test): Add another test.  Do not allow
73280         missing overflow exception on overflow.
73281         (expm1_test): Do not allow missing overflow exception on overflow.
73283         * sysdeps/i386/fpu/e_expl.c: Move to ...
73284         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
73285         rather than using inline asm.
73286         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
73287         * sysdeps/x86_64/fpu/e_expl.S: Copy from
73288         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
73290         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
73291         (nice): Likewise.
73292         (poll): Likewise.
73293         (signal): Likewise.
73294         (time): Likewise.
73295         (times): Likewise.
73297 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73299         * sysdeps/unix/syscalls.list (adjtime): Add entry from
73300         sysdeps/unix/common/syscalls.list.
73301         (fchmod): Likewise.
73302         (fchown): Likewise.
73303         (ftruncate): Likewise.
73304         (getrusage): Likewise.
73305         (gettimeofday): Likewise.
73306         (setpgid): Likewise.
73307         (setregid): Likewise.
73308         (setreuid): Likewise.
73309         (sigaction): Likewise.
73310         (truncate): Likewise.
73311         (vhangup): Likewise.
73312         * sysdeps/unix/common/syscalls.list: Remove file.
73313         * sysdeps/unix/bsd/Implies: Don't include unix/common.
73314         * sysdeps/unix/sysv/linux/Implies: Likewise.
73316 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
73318         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73319         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73320         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73321         Moved to ...
73322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73323         Here.
73324         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73325         to ...
73326         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73327         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73328         to ...
73329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73330         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73331         to ...
73332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73333         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73334         to ...
73335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73336         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73337         to ...
73338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73339         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73340         to ...
73341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73342         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73343         to ...
73344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73345         Here.
73346         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73347         to ...
73348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73349         Here.
73350         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73351         to ...
73352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73353         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73354         Moved to ...
73355         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73356         Here.
73357         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73358         to ...
73359         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73361 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73363         * sysdeps/unix/common/bits/dirent.h: Remove file.
73364         * sysdeps/unix/common/bits/fcntl.h: Likewise.
73366         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73367         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73368         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73369         * sysdeps/unix/bsd/isatty.c: Likewise.
73370         * sysdeps/unix/bsd/tcdrain.c: Likewise.
73371         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73372         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73374 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73376         [BZ #13563]
73377         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73378         long double comparison inaccuracies.
73379         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73380         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73382 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
73384         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73385         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73387 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
73389         [BZ #14049]
73390         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73391         nonzero digits before rounding a hex value.
73392         * stdlib/tst-strtod.c (tests): Add another test.
73394 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73396         * sysdeps/s390/fpu/libm-test-ulps: Update.
73398 2012-05-03  Andreas Jaeger  <aj@suse.de>
73400         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73401         does not get optimized out.
73402         (malloc_opt_barrier): New.
73404 2012-05-03  Andreas Jaeger  <aj@suse.de>
73405             Roland McGrath  <roland@hack.frob.com>
73407         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73408         intermediate file deletion.
73409         (generated): Add .symlist files.
73411 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
73413         [BZ #13775]
73414         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73415         Redirect under this condition.
73416         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73417         [__USE_GNU] (__dprintf_chk): Not under this condition.
73418         [__USE_GNU] (__vdprintf_chk): Likewise.
73419         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73420         under this condition.
73421         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73422         [__USE_XOPEN2K8] (dprintf): Define under this condition.
73423         [__USE_XOPEN2K8] (vdprintf): Likewise.
73424         [__USE_GNU] (__dprintf_chk): Not under this condition.
73425         [__USE_GNU] (__vdprintf_chk): Likewise.
73426         [__USE_GNU] (dprintf): Likewise.
73427         [__USE_GNU] (vdprintf): Likewise.
73429 2012-05-03  Roland McGrath  <roland@hack.frob.com>
73431         * elf/Makefile (common-generated): Set this instead of generated for
73432         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
73433         $(all-built-dso)-derived lists.
73435 2012-05-03  Andreas Jaeger  <aj@suse.de>
73437         * sysdeps/i386/fpu/libm-test-ulps: Update.
73439         * FAQ: Removed.
73440         * FAQ.in: Likewise.
73441         * scripts/gen-FAQ.pl: Likewise.
73442         * manual/install.texi (Installation): Point to online location of
73443         FAQ.
73444         * Makefile (files-for-dist): Remove FAQ.
73445         (FAQ): Remove.
73447 2012-05-02  Allan McRae  <allan@archlinux.org>
73449         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73450         (LDFLAGS-reldepmod5.so): Likewise.
73451         (LDFLAGS-reldep6mod1.so): Likewise.
73452         (LDFLAGS-reldep6mod4.so): Likewise.
73453         (LDFLAGS-reldep8mod3.so): Likewise.
73454         (LDFLAGS-unload4mod1.so): Likewise.
73455         (LDFLAGS-unload4mod2.so): Likewise.
73456         (LDFLAGS-tst-initorder): Likewise.
73457         (LDFLAGS-tst-initordera2.so): Likewise.
73458         (LDFLAGS-tst-initordera3.so): Likewise.
73459         (LDFLAGS-tst-initordera4.so): Likewise.
73460         (LDFLAGS-tst-initorderb2.so): Likewise.
73461         (LDFLAGS-noload): Likewise.
73462         (LDFLAGS-next): Likewise.
73463         (LDFLAGS-order2mod1.so): Likewise.
73464         (LDFLAGS-order2mod2.so): Likewise.
73465         (LDFLAGS-tst-initorder2): Likewise.
73466         (LDFLAGS-tst-initorder2a.so): Likewise.
73467         (LDFLAGS-tst-initorder2b.so): Likewise.
73468         (LDFLAGS-tst-initorder2c.so): Likewise.
73469         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73471 2012-05-02  David S. Miller  <davem@davemloft.net>
73473         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73475 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
73477         [BZ #14055]
73478         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73480 2012-05-02  Andreas Jaeger  <aj@suse.de>
73482         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73483         since we manipulate rounding mode.
73484         (CPPFLAGS-test-idouble.c): Likewise.
73485         (CPPFLAGS-test-ifloat.c): Likewise.
73486         (CFLAGS-test-ldouble.c): Likewise.
73487         (CFLAGS-test-double.c): Likewise.
73488         (CFLAGS-test-float.c): Likewise.
73489         (CFLAGS-test-misc.c): Likewise.
73490         (CFLAGS-test-test-fenv.c): Likewise.
73492 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73494         [BZ #2550]
73495         [BZ #2570]
73496         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73497         comparisons to determine direction to adjust input.
73499 2012-05-01  Roland McGrath  <roland@hack.frob.com>
73501         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73502         output to the target.
73504         * scripts/localplt.awk: New file.
73505         * elf/Makefile ($(objpfx)check-localplt): Target removed.
73506         (check-localplt-CFLAGS): Variable removed.
73507         ($(all-built-dso:=.jmprel)): New static pattern rule.
73508         (generated): Add those targets.
73509         (localplt-built-dso): New variable.
73510         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73512         * elf/check-localplt.c: File removed.
73514         * scripts/check-execstack.awk: New file.
73515         * elf/Makefile ($(objpfx)check-execstack): Target removed.
73516         (check-execstack-CFLAGS): Variable removed.
73517         ($(objpfx)check-execstack.h): Target removed.
73518         ($(objpfx)execstack-default): New target.
73519         (generated): Add that instead of check-execstack.h.
73520         ($(all-built-dso:=.phdr)): New static pattern rule.
73521         (generated): Add those targets.
73522         * elf/check-execstack.c: File removed.
73524         * scripts/check-textrel.awk: New file.
73525         * elf/Makefile ($(objpfx)check-textrel): Target removed.
73526         (check-textrel-CFLAGS): Variable removed.
73527         (all-built-dso): Use := to define.o
73528         ($(all-built-dso:=.dyn)): New static pattern rule.
73529         (generated): Add those targets.
73530         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73531         * config.make.in (READELF): New substituted variable.
73532         * elf/check-textrel.c: File removed.
73534 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73536         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73537         allow.
73538         * conform/data/ctype.h-data [C99-based standards] (isblank):
73539         Expect function.
73540         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73541         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73542         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73543         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73544         Specify type.  Require positive value.
73545         (EILSEQ): Likewise.
73546         (ERANGE): Likewise.
73547         [ISO || POSIX] (EILSEQ): Do not expect.
73548         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73549         Specify type.  Require positive value.
73550         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73551         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73552         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73553         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73554         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73555         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73556         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73557         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73558         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73559         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73560         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73561         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73562         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73563         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73564         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73565         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73566         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73567         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73568         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73569         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73570         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73571         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73572         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73573         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73574         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73575         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73576         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73577         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73578         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73579         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73580         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73581         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73582         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73583         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73584         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73585         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73586         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73587         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73588         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73589         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73590         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73591         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73592         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73593         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73594         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73595         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73596         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73597         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73598         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73599         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73600         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73601         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73602         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73603         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73604         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73605         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73606         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73607         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73608         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73609         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73610         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73611         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73612         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73613         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73614         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73615         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73616         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73617         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73618         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73619         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73620         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73621         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73622         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73623         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73624         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73625         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73626         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73627         Require >= 2.
73628         (FLT_ROUNDS): Expect as macro, not constant.
73629         (FLT_MANT_DIG): Use macro-int-constant.
73630         (DBL_MANT_DIG): Likewise.
73631         (LDBL_MANT_DIG): Likewise.
73632         (FLT_DIG): Likewise.
73633         (DBL_DIG): Likewise.
73634         (LDBL_DIG): Likewise.
73635         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
73636         (DBL_MIN_EXP): Likewise.
73637         (LDBL_MIN_EXP): Likewise.
73638         (FLT_MAX_EXP): Use macro-int-constant.
73639         (DBL_MAX_EXP): Likewise.
73640         (LDBL_MAX_EXP): Likewise.
73641         (FLT_MAX_10_EXP): Likewise.
73642         (DBL_MAX_10_EXP): Likewise.
73643         (LDBL_MAX_10_EXP): Likewise.
73644         (FLT_MAX): Use macro-constant.
73645         (DBL_MAX): Likewise.
73646         (LDBL_MAX): Likewise.
73647         (FLT_EPSILON): Use macro-constant.  Give upper bound.
73648         (DBL_EPSILON): Likewise.
73649         (LDBL_EPSILON): Likewise.
73650         (FLT_MIN): Likewise.
73651         (DBL_MIN): Likewise.
73652         (LDBL_MIN): Likewise.
73653         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73654         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73655         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73656         [ISO11] (FLT_HAS_SUBNORM): Likewise.
73657         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73658         [ISO11] (DBL_DECIMAL_DIG): Likewise.
73659         [ISO11] (FLT_DECIMAL_DIG): Likewise.
73660         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73661         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73662         [ISO11] (FLT_TRUE_MIN): Likewise.
73663         [ISO11] (LDBL_TRUE_MIN): Likewise.
73664         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73665         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73666         (SCHAR_MIN): Use macro-int-constant.  Specify type.
73667         (SCHAR_MAX): Likewise.
73668         (UCHAR_MAX): Likewise.
73669         (CHAR_MIN): Likewise.
73670         (CHAR_MAX): Likewise.
73671         (MB_LEN_MAX): Use macro-int-constant.
73672         (SHRT_MIN): Use macro-int-constant.  Specify type.
73673         (SHRT_MAX): Likewise.
73674         (USHRT_MAX): Likewise.
73675         (INT_MAX): Likewise.
73676         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
73677         bound negative.
73678         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73679         bound with "U".
73680         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73681         bound with "L".
73682         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
73683         bound negative.  Suffix upper bound with "L".
73684         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
73685         bound with "UL".
73686         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73687         Specify type.
73688         [C99-based standards] (LLONG_MAX): Likewise.
73689         [C99-based standards] (ULLONG_MAX): Likewise.
73690         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
73691         == 0.
73692         [ISO11] (max_align_t): Require type.
73693         [ISO || ISO99 || ISO11] (*_t): Do not allow.
73695         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73696         from $CFLAGS, without defining away __attribute__ calls.
73697         (checknamespace): Use $CFLAGS_namespace.
73699         * conform/conformtest.pl (@keywords): Only include C99 keywords
73700         for standards based on C99 or C11.
73702         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73703         Disable tests.
73704         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73705         UNIX98]: Likewise.
73707         * conform/conformtest.pl: Handle "macro-int-constant" and test for
73708         usability of symbols in #if.
73710         * conform/conformtest.pl: If macro or constant types start
73711         "promoted:", expect the symbol to be of the following type
73712         promoted by the integer promotions.
73714         * conform/conformtest.pl: Parse all "constant" and "macro" lines
73715         in one place.  Also handle "macro-constant".
73717         * conform/conformtest.pl: Only accept expected macro values with
73718         "==".  Parse all "macro" lines in one place.
73719         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73721         * conform/conformtest.pl: Handle braced types on "constant" lines
73722         instead of handling "typed-constant".
73723         * conform/data/signal.h-data: Use "constant" instead of
73724         "typed-constant".
73726         * conform/conformtest.pl: Handle "optional-" at start of lines in
73727         one place rather than duplicating several cases.  Handle each
73728         format of "macro" line with initial "optional-".
73730         * conform/conformtest.pl: Only accept expected constant or
73731         optional-constant values with "==".  Parse all "constant" lines in
73732         one place.  Parse all "optional-constant" lines in one place.
73733         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73734         * conform/data/fmtmsg.h-data: Likewise.
73735         * conform/data/netinet/in.h-data: Likewise.
73736         * conform/data/tar.h-data: Likewise.
73737         * conform/data/limits.h-data: Use "==" form on "constant" and
73738         "optional-constant" lines.
73740         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73741         Use -std=c99 for XOPEN2K.
73742         (@knownproblems): Remove.
73743         (newtoken): Don't check %isknown.
73745         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73746         Do not expect macro.
73747         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73748         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73749         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73750         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73751         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73752         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73753         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73754         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73755         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73756         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73757         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73758         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73759         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73760         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73761         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73762         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73763         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73764         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73765         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73766         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73767         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73768         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73769         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73770         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73771         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73772         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73773         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73774         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73775         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73776         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73777         [XPG3] (acosh): Likewise.
73778         [XPG3] (asinh): Likewise.
73779         [XPG3] (atanh): Likewise.
73780         [XPG3] (cbrt): Likewise.
73781         [XPG3] (expm1): Likewise.
73782         [XPG3] (ilogb): Likewise.
73783         [XPG3] (log1p): Likewise.
73784         [XPG3] (logb): Likewise.
73785         [XPG3] (nextafter): Likewise.
73786         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73787         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73788         [XPG3] (remainder): Likewise.
73789         [XPG3] (rint): Likewise.
73790         [XPG3 || XPG4 || UNIX98] (round): Likewise.
73791         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73792         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73793         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73794         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73795         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73796         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73797         [UNIX98 || XOPEN2K] (scalb): Expect.
73798         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73799         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73800         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73801         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73802         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73803         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73804         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73805         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73806         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73807         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73808         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73809         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73810         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73811         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73812         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73813         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73814         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73815         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73816         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73817         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73818         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73819         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73820         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73821         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73822         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73823         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73824         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73825         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73826         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73827         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73828         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73829         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73830         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73831         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73832         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73833         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73834         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73835         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73836         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73837         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73838         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73839         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73840         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73841         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73842         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73843         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73844         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73845         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73846         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73847         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73848         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73849         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73850         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73851         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73852         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73853         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73854         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73855         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73856         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73857         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73858         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73859         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73860         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73861         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73862         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73863         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73864         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73865         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73866         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73867         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73868         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73869         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73870         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73871         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73872         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73873         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73874         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73875         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73876         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73877         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73878         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73879         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73880         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73881         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73882         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73883         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73884         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73885         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73886         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73887         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73888         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73889         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73890         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73891         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73892         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73893         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73894         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73895         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73896         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73897         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73898         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73899         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73900         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73901         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73902         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73903         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73904         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73905         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73906         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73907         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73908         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73909         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73910         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73911         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73912         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73913         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73914         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73915         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73916         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73917         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73918         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73919         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73920         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73921         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73922         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73923         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73924         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73925         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73926         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73927         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73928         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73929         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73930         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73931         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73932         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73933         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73934         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73936         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73937         _XOPEN_SOURCE_EXTENDED for XPG4.
73939         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73941         * Makeconfig (localtime): Remove variable.
73942         (inst_localtime-file): Likewise.
73944 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73947         Update.
73948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73949         Update.
73950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73951         Update.
73952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73953         Update.
73954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73955         Update.
73956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73957         Update.
73958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73959         Update.
73960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73961         Update.
73962         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73963         Update.
73965 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
73967         [BZ #2550]
73968         [BZ #2570]
73969         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73970         comparisons to determine direction to adjust input.
73971         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73972         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73973         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73974         Likewise.
73975         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73976         Likewise.
73977         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73978         Likewise.
73979         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73980         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73981         Likewise.
73982         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73983         Likewise.
73984         * math/libm-test.inc (nexttoward_test): Add more tests.
73986 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
73988         [BZ #14040]
73989         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73990         in version GLIBC_2.1, not GLIBC_2.0.
73991         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73992         Likewise.
73994 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
73996         [BZ #13942]
73997         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73998         (1 - x) * (1 + x).
73999         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74000         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
74001         * math/libm-test.inc (acos_test): Add more tests.
74002         (asin_test): Likewise.
74003         * sysdeps/i386/fpu/libm-test-ulps: Update.
74004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74006         [BZ #14034]
74007         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
74008         of square root.
74009         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
74010         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
74011         * math/libm-test.inc (acos_test_tonearest): New function.
74012         (acos_test_towardzero): Likewise.
74013         (acos_test_downward): Likewise.
74014         (acos_test_upward): Likewise.
74015         (asin_test_tonearest): Likewise.
74016         (asin_test_towardzero): Likewise.
74017         (asin_test_downward): Likewise.
74018         (asin_test_upward): Likewise.
74019         (main): Call the new functions.
74020         * sysdeps/i386/fpu/libm-test-ulps: Update.
74021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74023         [BZ #13884]
74024         [BZ #13924]
74025         * math/e_exp10.c: Include <float.h>.
74026         (__ieee754_exp10): Handle underflow here rather than multiplying
74027         large negative argument by M_LN10.
74028         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
74029         of __ieee754_expf.
74030         * math/e_exp10l.c: Include <float.h>.
74031         (__ieee754_exp10l): Handle underflow here rather than multiplying
74032         large negative argument by M_LN10l.
74033         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
74034         spurious overflow exception on underflow.
74036 2012-04-29  Marek Polacek  <polacek@redhat.com>
74038         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
74039         (__fortify_function): New macro.
74040         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
74041         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
74042         __extern_always_inline.
74043         * libio/bits/stdio2.h: Likewise.
74044         * libio/bits/stdio.h: Likewise.
74045         * string/string.h: Likewise.
74046         * string/bits/string3.h: Likewise.
74047         * include/stdio.h: Likewise.
74048         * stdlib/bits/stdlib.h: Likewise.
74049         * stdlib/stdlib.h: Likewise.
74050         * rt/bits/mqueue2.h: Likewise.
74051         * rt/mqueue.h: Likewise.
74052         * posix/bits/unistd.h: Likewise.
74053         * posix/unistd.h: Likewise.
74054         * io/bits/poll2.h: Likewise.
74055         * io/bits/fcntl2.h: Likewise.
74056         * io/fcntl.h: Likewise.
74057         * io/sys/poll.h: Likewise.
74058         * misc/bits/syslog.h: Likewise.
74059         * misc/bits/syslog-ldbl.h: Likewise.
74060         * misc/sys/syslog.h: Likewise.
74061         * socket/bits/socket2.h: Likewise.
74062         * socket/sys/socket.h: Likewise.
74063         * debug/tst-chk1.c: Likewise.
74064         * wcsmbs/bits/wchar2.h: Likewise.
74065         * wcsmbs/bits/wchar-ldbl.h: Likewise.
74066         * wcsmbs/wchar.h: Likewise.
74068 2012-04-29  Andreas Jaeger  <aj@suse.de>
74070         * Makerules (tests): Remove enable-check-abi protection.
74071         (check-abi-warn): Remove.
74072         (check-abi-%): Remove check-abi-warn usage.
74074         * configure.in: Remove check-abi configure option.
74075         * configure: Regenerated.
74076         * config.make.in (enable-check-abi): Remove.
74078 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
74080         [BZ #14033]
74081         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74082         double functions to double *_finite functions.
74084         [BZ #13941]
74085         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74086         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74087         LDBL_MIN_EXP.
74088         * stdio-common/Makefile (tests): Add tst-sprintf3.
74089         * stdio-common/tst-sprintf3.c: New file.
74091         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74092         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74094 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74096         * conform/conformtest.pl: Remove duplicate typed-constant
74097         handling.
74099 2012-04-28  David S. Miller  <davem@davemloft.net>
74101         * Makerules (%.abilist): Add vpath on sysdep_dirs.
74102         (check-abi-%): Remove AWK script prerequisite and explicit
74103         abilist directory.
74104         (check-abi): Rewrite to just diff the symlist with the abilist.
74105         (config-tls, config-abi-config): Delete, no longer used.
74106         (update-abi-%): Remove AWK script and explicit abilist directory.
74107         (update-abi): Rewrite to simply compare and conditionally copy the
74108         symlist and the sysdep abilist file.  Remove update-abi-config
74109         checks.
74110         * abilist/ld.abilist: Remove.
74111         * abilist/libBrokenLocale.abilist: Remove.
74112         * abilist/libanl.abilist: Remove.
74113         * abilist/libcrypt.abilist: Remove.
74114         * abilist/libdl.abilist: Remove.
74115         * abilist/librt.abilist: Remove.
74116         * abilist/libthread_db.abilist: Remove.
74117         * abilist/libutil.abilist: Remove.
74118         * scripts/extract-abilist.awk: Remove.
74119         * scripts/merge-abilist.awk: Remove.
74120         * sysdeps/generic/libcidn.abilist: New file.
74121         * sysdeps/generic/libnss_compat.abilist: New file.
74122         * sysdeps/generic/libnss_db.abilist: New file.
74123         * sysdeps/generic/libnss_dns.abilist: New file.
74124         * sysdeps/generic/libnss_files.abilist: New file.
74125         * sysdeps/generic/libnss_hesiod.abilist: New file.
74126         * sysdeps/generic/libnss_nis.abilist: New file.
74127         * sysdeps/generic/libnss_nisplus.abilist: New file.
74128         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74129         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74130         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74131         file.
74132         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74133         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74134         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74135         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74136         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
74137         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
74138         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
74139         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
74140         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
74141         file.
74142         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
74143         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
74144         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
74145         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
74146         file.
74147         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
74148         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
74149         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
74150         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
74151         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74152         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
74153         file.
74154         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
74155         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
74156         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
74157         file.
74158         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
74159         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
74160         New file.
74161         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
74162         New file.
74163         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
74164         New file.
74165         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
74166         New file.
74167         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
74168         New file.
74169         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
74170         New file.
74171         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74172         New file.
74173         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
74174         New file.
74175         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
74176         New file.
74177         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
74178         New file.
74179         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
74180         New file.
74181         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
74182         New file.
74183         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
74184         New file.
74185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
74186         file.
74187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
74188         New file.
74189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
74190         New file.
74191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
74192         file.
74193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
74194         New file.
74195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
74196         New file.
74197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
74198         file.
74199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
74200         New file.
74201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74202         New file.
74203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
74204         New file.
74205         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
74206         New file.
74207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
74208         New file.
74209         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
74210         New file.
74211         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
74212         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
74213         file.
74214         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
74215         New file.
74216         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
74217         file.
74218         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
74219         file.
74220         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
74221         file.
74222         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
74223         file.
74224         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
74225         file.
74226         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74227         New file.
74228         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
74229         file.
74230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
74231         file.
74232         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
74233         New file.
74234         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
74235         file.
74236         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
74237         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
74238         file.
74239         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
74240         New file.
74241         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
74242         file.
74243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
74244         file.
74245         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
74246         file.
74247         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
74248         file.
74249         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
74250         file.
74251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74252         New file.
74253         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
74254         file.
74255         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
74256         file.
74257         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
74258         New file.
74259         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
74260         file.
74261         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74262         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
74263         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
74264         file.
74265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
74266         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
74267         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
74268         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
74269         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
74270         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
74271         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
74272         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
74273         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
74274         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
74275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
74276         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
74277         file.
74278         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
74279         New file.
74280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
74281         file.
74282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
74283         file.
74284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
74285         file.
74286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
74287         file.
74288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
74289         file.
74290         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
74291         New file.
74292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
74293         New file.
74294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
74295         file.
74296         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
74297         New file.
74298         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
74299         file.
74300         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
74301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
74302         file.
74303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
74304         New file.
74305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
74306         file.
74307         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74308         file.
74309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74310         file.
74311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74312         file.
74313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74314         file.
74315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74316         New file.
74317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74318         New file.
74319         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74320         file.
74321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74322         New file.
74323         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74324         file.
74326 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
74328         * conform/conformtest.pl: Fix typo in handling typed-constant from
74329         allow-header.
74331 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74333         * README: Cut down references to pre-2.6 Linux kernels and
74334         Linuxthreads.  Update lists of configurations in libc and ports
74335         and sort alphabetically.  Say "or newer" with Linux kernel version
74336         requirements.
74338         * config.h.in [IS_IN_build]: Allow compiling without optimization.
74340 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
74342         [BZ #887]
74343         * math/libm-test.inc (logb_test_downward): New test to expose
74344         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74345         rounding mode.
74347 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
74349         [BZ #14027]
74350         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74351         to be done.
74352         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74353         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74355 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
74357         * sysdeps/unix/i386/brk.S: Remove file.
74358         * sysdeps/unix/i386/dl-brk.S: Likewise.
74359         * sysdeps/unix/i386/pipe.S: Likewise.
74360         * sysdeps/unix/i386/sigreturn.S: Likewise.
74361         * sysdeps/unix/i386/syscall.S: Likewise.
74362         * sysdeps/unix/i386/vfork.S: Likewise.
74363         * sysdeps/unix/i386/wait.S: Likewise.
74365         * sysdeps/unix/common/tcsendbrk.c: Move to ...
74366         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74368         * configure.in (arm*-none*): Do not allow without
74369         --enable-hacker-mode.
74370         (netbsd*): Remove case setting base_os.
74371         (386bsd*): Likewise.
74372         (freebsd*): Likewise.
74373         (bsdi*): Likewise.
74374         (osf*): Likewise.
74375         (sunos*): Likewise.
74376         (ultrix*): Likewise.
74377         (newsos*): Likewise.
74378         (dynix*): Likewise.
74379         (*bsd*): Likewise.
74380         (sysv*): Likewise.
74381         (isc*): Likewise.
74382         (esix*): Likewise.
74383         (sco*): Likewise.
74384         (minix*): Likewise.
74385         (irix4*): Likewise.
74386         (irix6*): Likewise.
74387         (solaris[2-9]*): Likewise.
74388         (none): Likewise.
74389         * configure: Regenerated.
74391 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74393         [BZ #11521]
74394         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74395         overflow or cancellation in calculating denominator.
74396         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74397         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74398         down expression to avoid unexpected rounding in newer GCCs.
74399         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74401 2012-04-26  David S. Miller  <davem@davemloft.net>
74403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74404         long-double compat symbols.
74405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74406         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74408         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74411         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74412         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74413         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74414         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74415         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74417         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74419 2012-04-25  David S. Miller  <davem@davemloft.net>
74421         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74422         HWCAP_* values only after the memory barriers have been defined.
74423         (atomic_full_barrier): Define.
74424         (atomic_read_barrier): Define.
74425         (atomic_write_barrier): Define.
74427 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
74429         * shlib-versions: Add libgcc_s version information.
74430         * sysdeps/generic/libgcc_s.h: Remove.
74431         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74432         libgcc_s.h.
74433         * sysdeps/gnu/unwind-resume.c: Likewise.
74434         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74436 2012-04-25  David S. Miller  <davem@davemloft.net>
74438         * sysdeps/unix/sparc/brk.S: Delete.
74439         * sysdeps/unix/sparc/dl-brk.S: Delete.
74440         * sysdeps/unix/sparc/pipe.S: Delete.
74441         * sysdeps/unix/sparc/sysdep.S: Delete.
74442         * sysdeps/unix/sparc/sysdep.h: Delete.
74443         * sysdeps/unix/sparc/vfork.S: Delete.
74444         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74445         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74446         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74447         (ret_ERRVAL, r0, r1, MOVE): Define.
74448         (JUMPTARGET): Remove.
74449         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74450         sysdeps/unix/sparc/sysdep.h
74451         (ENTRY, END): Remove.
74452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74454 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
74456         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74457         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74458         -DIS_IN_build.
74460         * timezone/README: Update upstream location and email address for
74461         tzcode and tzdata.
74462         * timezone/zdump.c: Update from tzcode 2012b.
74463         * timezone/zic.c: Likewise.
74465         * configure.in (libc_cv_as_needed): Remove test.
74466         * configure: Regenerated.
74467         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74468         conditional definition.
74469         [$(have-as-needed) != yes] (no-as-needed): Likewise.
74470         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74471         * config.make.in (have-as-needed): Remove variable.
74473 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
74474             Paul Pluzhnikov  <ppluzhnikov@google.com>
74476         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74477         strings correctly.
74479 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
74481         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74482         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74483         * sysdeps/sh/strlen.S: Likewise.
74485 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74487         * sysdeps/unix/fork.S: Remove file.
74488         * sysdeps/unix/i386/fork.S: Likewise.
74489         * sysdeps/unix/sparc/fork.S: Likewise.
74491         * sysdeps/unix/system.c: Remove file.
74492         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74494         * sysdeps/unix/getegid.S: Remove file.
74495         * sysdeps/unix/geteuid.S: Likewise.
74497 2012-04-24  Roland McGrath  <roland@hack.frob.com>
74499         * scripts/check-localplt.awk: New file.
74500         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74501         of diff.
74502         * scripts/data/localplt-generic.data: Add a comment.
74504         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74505         NODE when __dir_mkfile failed.
74506         * sysdeps/mach/hurd/symlinkat.c: Likewise.
74507         Reported by Ludovic Courtès <ludo@gnu.org>.
74509 2012-04-24  Andreas Jaeger  <aj@suse.de>
74511         * Makerules (common-clean): Also remove gen-as-const-headers
74512         files.
74514 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74516         * Makerules (native-compile): Do not change working directory for
74517         build.  Use $(OUTPUT_OPTION) in command.
74518         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74520 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74522         [BZ #13886]
74523         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74524         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74525         * math/libm-test.inc (floor_test): Add more tests.
74526         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74528 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
74530         * sysdeps/unix/getdents.c: Remove file.
74531         * sysdeps/unix/sysv/getdents.c: Likewise.
74532         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74534         * sysdeps/unix/syscalls.list (madvise): Add syscall from
74535         sysdeps/unix/mman/syscalls.list.
74536         (mmap): Likewise.
74537         (mprotect): Likewise.
74538         (msync): Likewise.
74539         (munmap): Likewise.
74540         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74541         * sysdeps/unix/mman/syscalls.list: Remove.
74542         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74544         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74545         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74546         * configure: Regenerated.
74547         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74548         $(libgcc_s_suffix).
74549         * config.make.in (libgcc_s_suffix): Remove variable.
74551 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
74553         * sysdeps/unix/sysv/gethostname.c: Move to ...
74554         * sysdeps/posix/gethostname.c: ... here.
74556         * sysdeps/unix/execve.S: Remove file.
74558         * sysdeps/unix/_exit.S: Remove file.
74560 2012-04-23  Andreas Jaeger  <aj@suse.de>
74562         [BZ #13739]
74563         * manual/Makefile: Remove make dist support, there's no
74564         need for a stand-alone documentation tar ball.
74565         (TEXI2DVI): Define always, it's not in Makeconfig.
74566         (dist): Removed.
74567         (tar-it): Removed.
74568         (edition): Removed.
74569         (glibc-doc-$(edition).tar): Removed
74570         (%.Z): Removed.
74571         (%.gz): Removed.
74572         (%.uu): Removed.
74573         (ETAGS): Remove, it's in Makeconfig.
74574         (move-if-change): Remove, it's in Makeconfig.
74576 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
74578         [BZ #13970]
74579         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74580         (strtod, strtof, strtold, strtol, strtoul, strtoq)
74581         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74582         (strtod_l, strtof_l, strtold_l): Remove __wur.
74583         It is not necessarily an error to ignore strtol's return value.
74584         One can reliably look at the stored endptr to decide whether
74585         the number had valid syntax.
74587 2012-04-21  Andreas Jaeger  <aj@suse.de>
74589         [BZ #13739]
74590         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74592 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
74594         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74595         * sysdeps/unix/sysv/Versions: Remove file.
74597 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
74599         [BZ #13927]
74600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74602 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
74604         [BZ #7064]
74605         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74606         version from __vm86.
74608 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
74610         * sysdeps/unix/common/lxstat.c: Remove file.
74611         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74613         * sysdeps/unix/sysv/Makefile: Remove file.
74615         * sysdeps/unix/sysv/direct.h: Remove file.
74617         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74618         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74619         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74620         * sysdeps/unix/sysv/bits/signum.h: Likewise.
74621         * sysdeps/unix/sysv/bits/stat.h: Likewise.
74622         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74623         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74625         * sysdeps/unix/sysv/setrlimit.c: Remove file.
74627         * sysdeps/unix/xmknod.c: Remove file.
74628         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74630         * sysdeps/unix/sysv/settimeofday.c: Remove file.
74632         * sysdeps/unix/sysv/i386/time.S: Remove file.
74634         * sysdeps/unix/fxstat.c: Remove file.
74635         * sysdeps/unix/xstat.c: Likewise.
74636         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74638         * sysdeps/unix/sysv/sigaction.c: Remove file.
74640         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74641         (sysdep_headers): Remove variable.
74642         [termio.h not in sysdep_headers] (generated): Likewise.
74643         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74644         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74645         * sysdeps/unix/sysv/tcdrain.c: Likewise.
74646         * sysdeps/unix/sysv/tcflow.c: Likewise.
74647         * sysdeps/unix/sysv/tcflush.c: Likewise.
74648         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74649         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74650         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74651         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74652         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74654         * sysdeps/unix/siglist.c: Remove file.
74656         * sysdeps/unix/getppid.S: Remove file.
74658         * sysdeps/unix/mkdir.c: Remove file.
74659         * sysdeps/unix/rmdir.c: Likewise.
74661 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
74663         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74664         ERR_MAX value.
74665         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74666         errlist-compat value.
74668 2012-04-18  David S. Miller  <davem@davemloft.net>
74670         * sysdeps/generic/memcopy.h (reg_char): Delete.
74671         * debug/strcat_chk.c: Use char, not reg_char.
74672         * debug/strcpy_chk.c: Likewise.
74673         * debug/strncat_chk.c: Likewise.
74674         * debug/strncpy_chk.c: Likewise.
74675         * string/memchr.c: Likewise.
74676         * string/memrchr.c: Likewise.
74677         * string/rawmemchr.c: Likewise.
74678         * string/strcat.c: Likewise.
74679         * string/strchr.c: Likewise.
74680         * string/strchrnul.c: Likewise.
74681         * string/strcmp.c: Likewise.
74682         * string/strcpy.c: Likewise.
74683         * string/strncat.c: Likewise.
74684         * string/strncmp.c: Likewise.
74685         * string/strncpy.c: Likewise.
74687 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74689         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74690         __builtin_memcopy is called when src and dest ranges are known to not
74691         overlap.
74693 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74695         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74696         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74697         fwd_align_merge macro call.
74698         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74699         bwd_align_merge macro call.
74700         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74702 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
74704         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74705         bwd_align_merge macros.
74706         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74707         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74708         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74710 2012-04-18  David S. Miller  <davem@davemloft.net>
74712         * sysdeps/sparc/sparc64/memcopy.h: Delete.
74714 2012-04-18  Andreas Jaeger  <aj@suse.de>
74716         [BZ# 6794]
74717         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74718         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74719         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74721         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74722         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74723         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74725         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74726         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74727         Adjust for changed ldbl-128 files.
74729         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74730         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74731         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74733 2012-04-17  David S. Miller  <davem@davemloft.net>
74735         * sysdeps/sparc/sparc32/memcopy.h: Delete.
74737 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
74739         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74740         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74741         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74742         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74743         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74744         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74746 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74748         [BZ #6794]
74749         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74750         * math/libm-test.inc: Add ilogb errno and exception tests.
74751         * math/w_ilogb.c: New file: ilogb wrapper.
74752         * math/w_ilogbf.c: New file: ilogbf wrapper.
74753         * math/w_ilogbl.c: New file: ilogbl wrapper.
74754         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74755         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74756         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74757         exception being thrown with 0.0 as argument.
74758         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74759         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74760         exception being thrown with 0.0 as argument.
74761         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74762         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74763         exception being thrown with 0.0 as argument.
74764         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74765         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74766         exception being thrown with 0.0 as argument.
74767         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74768         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74769         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74770         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74771         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74772         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74773         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74774         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74775         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74777 2012-04-17  Petr Baudis  <pasky@ucw.cz>
74779         * include/sys/uio.h: Change __vector to __iovec to avoid clash
74780         with altivec.
74782 2012-04-16  Marek Polacek  <polacek@redhat.com>
74784         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74786 2012-04-16  Marek Polacek  <polacek@redhat.com>
74788         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74789         operands of fdivp instruction.
74791 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74793         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74794         * elf/tst-auditmod3b.c: Likewise.
74795         * elf/tst-auditmod4b.c: Likewise.
74796         * elf/tst-auditmod5b.c: Likewise.
74797         * elf/tst-auditmod6b.c: Likewise.
74798         * elf/tst-auditmod6c.c: Likewise.
74799         * elf/tst-auditmod7b.c: Likewise.
74800         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74801         * sysdeps/x86_64/preconfigure.in: Likewise.
74802         * sysdeps/x86_64/preconfigure: Regenerated.
74804 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
74806         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74807         __ILP32__.
74809 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
74811         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74812         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74814 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
74816         [BZ #13973]
74817         * locale/iso-639.def: Fix gl language name. Spotted by
74818         Yaron Shahrabani.
74820 2012-04-12  Roland McGrath  <roland@hack.frob.com>
74822         [BZ #2074]
74823         * libio/libio.h (__io_write_fn): Update comment.
74825 2012-04-12  Petr Baudis  <pasky@ucw.cz>
74827         [BZ #2074]
74828         * stdio.texi (Hook Functions): The user provided writer function
74829         is not allowed to return -1.
74831 2012-04-11  David S. Miller  <davem@davemloft.net>
74833         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74835 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
74837         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74838         Add a leading slash to rtkaio.
74840 2012-04-11  Jim Meyering  <meyering@redhat.com>
74842         [BZ #11959]
74843         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74844         It is not necessarily an error to ignore fwrite's return
74845         value.  One can reliably use ferror to test for errors after
74846         the fact.
74848 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74850         * bits/types.h (__snseconds_t): New type.
74851         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74853         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74854         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74855         (__SNSECONDS_T_TYPE): Likewise.
74856         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74857         (__SNSECONDS_T_TYPE): Likewise.
74858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74859         (__SNSECONDS_T_TYPE): Likewise.
74861 2012-04-10  Andreas Jaeger  <aj@suse.de>
74863         [BZ #2636]
74864         * manual/time.texi (Processor Time): Return type of times is
74865         elapsed real time since an arbitrary point in the past.
74866         (CPU Time): Move CLK_TCK from here...
74867         (Processor Time): ...to here.  Correct description.
74868         * manual/conf.texi (Constants for Sysconf): Correct description of
74869         _SC_CLK_TCK.
74871 2012-04-10  David S. Miller  <davem@davemloft.net>
74873         [BZ #13967]
74874         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74875         where the is a gap between DT_REL(A) and DT_JMPREL.
74877 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
74879         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74880         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74881         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74883 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
74885         * elf/dl-support.c (_dl_inhibit_cache): New variable.
74886         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74887         (dl_main): Handle --inhibit-cache.
74888         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74889         _dl_inhibit_cache.
74890         * elf/dl-load.c (_dl_map_object): Use it.
74891         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74893 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74895         [BZ #13872]
74896         * sysdeps/i386/fpu/e_powl.S (p78): New object.
74897         (__ieee754_powl): Saturate large exponents rather than testing for
74898         overflow of y*log2(x).
74899         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74900         * math/libm-test.inc (pow_test): Do not permit spurious overflow
74901         exceptions.
74903         [BZ #11521]
74904         * math/s_ctan.c: Include <float.h>.
74905         (__ctan): Avoid internal overflow or cancellation in calculating
74906         denominator.
74907         * math/s_ctanf.c: Likewise.
74908         * math/s_ctanl.c: Likewise.
74909         * math/s_ctanh.c: Likewise.
74910         * math/s_ctanhf.c: Likewise.
74911         * math/s_ctanhl.c: Likewise.
74912         * math/libm-test.inc (ctan_test): Add more tests.
74913         (ctanh_test): Likewise.
74914         * sysdeps/i386/fpu/libm-test-ulps: Update.
74915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74917 2012-04-09  Andreas Jaeger  <aj@suse.de>
74919         [BZ #6894]
74920         * manual/filesys.texi (Directory Entries): Mention that d_namlen
74921         is an optional BSD extension.
74923         [BZ #10254]
74924         * manual/stdio.texi (Opening Streams): Document additional fopen
74925         parameters.
74927 2012-04-09  Roland McGrath  <roland@hack.frob.com>
74929         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74930         %eax without telling the compiler.
74932 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
74934         [BZ # 13963]
74935         * manual/install.texi: Use sourceware.org.
74937 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
74939         [BZ #13873]
74940         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74941         (__ieee754_pow): Generate overflow and underflow using huge*huge
74942         and tiny*tiny rather than just returning constant infinity or zero
74943         for large exponents.
74944         * math/libm-test.inc (pow_test): Require overflow exceptions for
74945         applicable cases of large exponents.
74947         [BZ #706]
74948         * sysdeps/i386/fpu/e_pow.S (p10): New object.
74949         (__ieee754_pow): Use iterative multiplication algorithm only for
74950         integer exponents with absolute value below 1024.  Check for odd
74951         integer exponents when using algorithm for real exponents.
74952         * math/libm-test.inc (pow_test): Add more tests.
74953         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74955 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
74957         [BZ #13705]
74958         * math/libm-test.inc (exp_test): Do not allow overflow exception
74959         on underflow test.
74961 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
74963         [BZ #13705]
74964         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74965         instead of __kernel_standard_f.
74967 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
74969         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74970         * sysdeps/x86_64/memset_chk.S: Likewise.
74972 2012-04-08  Andreas Jaeger  <aj@suse.de>
74974         [BZ #10153]
74975         * manual/startup.texi (Environment Access): Describe return value
74976         for putenv and setenv.
74978         [BZ #6895]
74979         * manual/filesys.texi (Directory Entries): Add description for
74980         DT_LNK.
74982         [BZ #6890]
74983         * manual/filesys.texi (Directory Entries): Clarify that it's file
74984         system not operating system in the description of DT_UNKNOWN.
74986         [BZ #6578]
74987         * manual/syslog.texi (closelog): Fix reference, it's openlog.
74989 2012-04-08  Stephen Compall  <s11@member.fsf.org>
74991         [BZ #6649]
74992         * manual/llio.texi (Opening and Closing Files): Add cross
74993         reference to explain mode argument.
74995 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
74997         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74998         * sysdeps/x86_64/memset_chk.S: Likewise.
75000 2012-04-07  David S. Miller  <davem@davemloft.net>
75002         * elf/elf.h (R_SPARC_WDISP10): Define.
75003         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
75004         R_SPARC_SIZE32.
75005         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
75006         R_SPARC_SIZE64 and R_SPARC_H34.
75008 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
75010         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
75011         conditions and remove no longer applicable assertion.
75013 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75015         * bits/byteswap.h: Include <features.h>.
75016         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
75017         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
75019 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
75021         * bits/byteswap.h (__bswap_16): Removed.
75022         Include <bits/byteswap-16.h> to get __bswap_16.
75023         * sysdeps/i386/bits/byteswap.h: Likewise.
75024         * sysdeps/s390/bits/byteswap.h: Likewise.
75025         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75026         * bits/byteswap-16.h: New file.
75027         * sysdeps/i386/bits/byteswap-16.h: Likewise.
75028         * sysdeps/s390/bits/byteswap-16.h: Likewise.
75029         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
75030         * string/Makefile (headers): Add bits/byteswap-16.h.
75032 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
75034         [BZ #13895]
75035         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
75036         extra indirection.
75037         * nss/Makefile (tests-static, tests): Add tst-nss-static.
75038         * nss/tst-nss-static.c: New.
75040 2012-04-06  Robert Millan  <rmh@gnu.org>
75042         [BZ #6486]
75043         * manual/llio.texi (File Position Primitive): lseek
75044         refers to WHENCE when it really means OFFSET.
75046 2012-04-06  Andreas Jaeger  <aj@suse.de>
75048         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
75049         strncmp declarations.
75051         * abilist/libc.abilist: Add __poll and __ppoll.
75053 2012-04-05  David S. Miller  <davem@davemloft.net>
75055         * scripts/check-local-headers.sh: Accept a host triplet in the
75056         path matched by the exclude regexp.
75058         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
75059         definition.
75060         * sysdeps/powerpc/powerpc32/dl-machine.h
75061         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
75062         * sysdeps/s390/s390-32/dl-machine.h
75063         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75064         * sysdeps/sparc/sparc32/dl-machine.h
75065         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75066         * sysdeps/sparc/sparc64/dl-machine.h
75067         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75069         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
75070         lazy binding.
75071         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
75072         undefined symbol errors.
75074         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75075         DT_NEEDED entries.
75077 2012-04-05  Michael Matz  <matz@suse.de>
75079         [BZ #13592]
75080         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75082 2012-04-05  Andreas Jaeger  <aj@suse.de>
75084         [BZ #13908]
75085         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75086         comment.
75088 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75090         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75091         which ROUND is no valid rounding mode.
75093 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75095         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75096         read again.
75097         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75099 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75101         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75102         an exception using FPU order intentionally.
75104 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
75106         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75107         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75108         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75109         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75111 2012-04-05  Simon Josefsson  <simon@josefsson.org>
75113         [BZ #12340]
75114         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75115         EINVAL when BUFLEN is too smal.
75117 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
75119         [BZ #13553]
75120         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75121         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75123 2012-04-03  Andreas Jaeger  <aj@suse.de>
75125         [BZ #13938]
75126         * manual/setjmp.texi (System V contexts): Fix sentence.
75128         [BZ #13926]
75129         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75130         New macro for this case.
75131         [!__GNUC__] (__bswap_64): New inline function for this case.
75132         * sysdeps/x86_64/bits/byteswap.h: Likewise.
75133         * bits/byteswap.h: Likewise.
75134         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75135         ull, guard with __GLIBC_HAVE_LONG_LONG.
75137         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
75138         __GLIBC_HAVE_LONG_LONG.
75140         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75141         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
75143 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75145         [BZ #13691]
75146         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
75147         inptr and inend, rather than using last_ch.
75149 2012-04-02  David S. Miller  <davem@davemloft.net>
75151         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
75152         * stdio-common/printf-parse.h (read_int): Change return type to
75153         'int', return -1 on INT_MAX overflow.
75154         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
75155         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
75156         overflows INT_MAX.  Check for overflow of in-format-string precision
75157         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
75158         SIZE_MAX not INT_MAX for integer overflow test.
75159         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
75160         skip the construct in the format string but do not record anything.
75161         * stdio-common/bug22.c: Adjust to test both width/prevision
75162         INT_MAX overflow as well as total length INT_MAX overflow.  Check
75163         explicitly for proper errno values.
75165 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
75167         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
75168         CHAR_MAX.
75169         * string/test-strcmp.c [! WIDE]: Likewise.
75170         * time/tst-mktime2.c: Likewise for INT_MAX.
75171         * string/test-string.h: #include <sys/param.h> for MIN.
75173         * csu/init-first.c (__libc_init_first): Call __ctype_init.
75174         * sysdeps/i386/init-first.c (init): Likewise.
75175         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
75176         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
75177         * sysdeps/sh/init-first.c (init): Likewise.
75179 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
75181         * po/ru.po: Update from translation team.
75182         * po/vi.po: Likewise.
75184 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
75186         * resolv/nss_dns/dns-host.c: Merge copyright years.
75188 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75190         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75191         Optimize memcpy with prefetch if
75192         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
75193         src, dst pointers have unequal 16 byte alignments.
75195 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
75197         [BZ #13928]
75198         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
75199         from a CNAME entry and return the minimum ttl for the query.
75200         (gaih_getanswer_slice): Likewise.
75202 2012-03-30  Jeff Law  <law@redhat.com>
75204         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
75205         due to long keys.
75206         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
75207         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
75209         * resolv/nss_dns/dns-host.c: Update copyright year.
75211 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
75213         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
75214         requests to save a system call.  Fix check that all bytes are sent.
75216         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
75217         comments for sendmmsg.
75219 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
75221         [BZ #13691]
75222         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
75223         with only 1 character between 0x0041 and 0x01b0.
75224         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
75225         * wcsmbs/tst-mbsnrtowcs.c: New file.
75227 2012-03-29  David S. Miller  <davem@davemloft.net>
75229         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
75230         small copies by hand.
75232 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
75234         [BZ #13761]
75235         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
75236         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
75237         group memberships.
75239 2012-03-28  David S. Miller  <davem@davemloft.net>
75241         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
75242         that branches into memcpy.
75243         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
75244         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
75245         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75246         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
75247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
75248         bits.
75249         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
75250         implementation too.
75251         * sysdeps/sparc/mempcpy.S: New file.
75253         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
75254         the IFUNC routine in the libc case.
75255         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75257         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
75258         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
75259         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
75260         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
75261         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
75262         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
75263         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
75264         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
75266         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
75267         loop to 256 bytes instead of 64 bytes and fix test signedness.
75269         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
75270         * sysdeps/sparc/sparc32/Makefile: rather than here...
75271         * sysdeps/sparc/sparc64/Makefile: and here.
75273 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
75275         * malloc/mallocbug.c: Avoid warnings about unused variables.
75277 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
75279         [BZ #13760]
75280         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
75281         in the right place. Discard and retry query if response is
75282         larger than input buffer size.
75284 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
75286         [BZ #369]
75287         [BZ #2678]
75288         [BZ #3866]
75289         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
75290         x for large integer exponent.
75291         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
75292         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
75293         sign of result as needed afterwards.
75294         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
75295         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
75296         result for underflowing pow the same as for overflow.
75297         (__kernel_standard_l): Handle powl overflow and underflow here
75298         rather than calling __kernel_standard.
75299         * math/libm-test.inc (pow_test): Add more tests.
75301         [BZ #3868]
75302         [BZ #13879]
75303         [BZ #13910]
75304         [BZ #13911]
75305         [BZ #13912]
75306         [BZ #13913]
75307         [BZ #13915]
75308         [BZ #13916]
75309         [BZ #13917]
75310         [BZ #13918]
75311         [BZ #13919]
75312         [BZ #13920]
75313         [BZ #13921]
75314         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75315         * sysdeps/ieee754/k_standard.c: Include <float.h>.
75316         (__kernel_standard_l): New function.
75317         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75318         __kernel_standard.
75319         * math/w_acosl.c (__acosl): Likewise.
75320         * math/w_asinl.c (__asinl): Likewise.
75321         * math/w_atan2l.c (__atan2l): Likewise.
75322         * math/w_atanhl.c (__atanhl): Likewise.
75323         * math/w_coshl.c (__coshl): Likewise.
75324         * math/w_exp10l.c (__exp10l): Likewise.
75325         * math/w_exp2l.c (__exp2l): Likewise.
75326         * math/w_fmodl.c (__fmodl): Likewise.
75327         * math/w_hypotl.c (__hypotl): Likewise.
75328         * math/w_j0l.c (__j0l, __y0l): Likewise.
75329         * math/w_j1l.c (__j1l, __y1l): Likewise.
75330         * math/w_jnl.c (__jnl, __ynl): Likewise.
75331         * math/w_lgammal.c (__lgammal): Likewise.
75332         * math/w_log10l.c (__log10l): Likewise.
75333         * math/w_log2l.c (__log2l): Likewise.
75334         * math/w_logl.c (__logl): Likewise.
75335         * math/w_powl.c (__powl): Likewise.
75336         * math/w_remainderl.c (__remainderl): Likewise.
75337         * math/w_scalbl.c (sysv_scalbl): Likewise.
75338         * math/w_sinhl.c (__sinhl): Likewise.
75339         * math/w_sqrtl.c (__sqrtl): Likewise.
75340         * math/w_tgammal.c (__tgammal): Likewise.
75341         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75342         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75343         * math/libm-test.inc (acos_test): Add more tests.
75344         (acosh_test): Likewise.
75345         (asin_test): Likewise.
75346         (atanh_test): Likewise.
75347         (exp_test): Likewise.
75348         (exp10_test): Likewise.
75349         (exp2_test): Likewise.
75350         (expm1_test): Likewise.
75351         (lgamma_test): Likewise.
75352         (log_test): Likewise.
75353         (log10_test): Likewise.
75354         (log1p_test): Likewise.
75355         (log2_test): Likewise.
75356         (pow_test): Do not allow some spurious overflow exceptions.
75357         (sqrt_test): Add more tests.
75358         (tgamma_test): Likewise.
75359         (y0_test): Likewise.
75360         (y1_test): Likewise.
75361         (yn_test): Likewise.
75363 2012-03-27  Anton Blanchard  <anton@samba.org>
75365         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75366         MAP_HUGETLB.
75367         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75368         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75369         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75371 2012-03-27  David S. Miller  <davem@davemloft.net>
75373         * conform/Makefile: Run run-conformtest.sh using $(BASH).
75375         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75376         have-as-vis3 check.
75378 2012-03-27  Andreas Jaeger  <aj@suse.de>
75380         * sysdeps/x86_64/elf/configure.in: Moved to ...
75381         * sysdeps/x86_64/configure.in: ... here.
75382         * sysdeps/x86_64/elf/start.S: Moved to ...
75383         * sysdeps/x86_64/start.S: ... here.
75384         * sysdeps/x86_64/elf/configure: Delete.
75386         * sysdeps/x86_64/configure.in: Merge contents from
75387         sysdeps/i386/configure.in (without i686 check).
75389         * sysdeps/i386/elf/Versions: Merge into ...
75390         * sysdeps/i386/Versions: ... this.
75391         * sysdeps/i386/elf/Versions: Delete file.
75392         * sysdeps/i386/elf/start.S: Moved to ...
75393         * sysdeps/i386/start.S: ...here.
75394         * sysdeps/i386/elf/configure.in: Merge into...
75395         * sysdeps/i386/configure.in: ...here.
75396         * sysdeps/i386/elf/configure.in: Delete file.
75397         * sysdeps/i386/elf/configure: Delete file.
75399         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75400         * debug/backtracesyms.c: ... here.
75401         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75402         * debug/backtracesymsfd.c: ... here.
75403         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75404         * sysdeps/generic/ifunc-sel.h: ... here.
75406         * sysdeps/unix/i386/start.c: Delete file.
75407         * sysdeps/unix/sparc/start.c: Delete file.
75408         * sysdeps/unix/start.c: Delete file.
75410         * sysdeps/sh/elf/configure.in: Moved to ...
75411         * sysdeps/sh/configure.in: ... here.
75412         * sysdeps/sh/elf/start.S: Moved to ...
75413         * sysdeps/sh/start.S: ... here.
75414         * sysdeps/sh/elf/configure: Delete file.
75416         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75417         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75418         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75419         * sysdeps/powerpc/powerpc64/entry.h: ... here.
75420         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75421         * sysdeps/powerpc/powerpc64/start.S: here.
75422         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75423         * sysdeps/powerpc/powerpc64/Makefile: ... this.
75424         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75425         * sysdeps/powerpc/powerpc64/configure.in: ... this.
75426         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75428         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75429         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75430         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75431         * sysdeps/powerpc/powerpc32/start.S: ... here.
75432         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75433         * sysdeps/powerpc/powerpc32/configure.in: ... this.
75434         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75436         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75437         * sysdeps/powerpc/ifunc-sel.h: ... here.
75438         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75439         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75441         * sysdeps/sparc/elf/configure.in: Moved to ...
75442         * sysdeps/sparc/configure.in: ... here.
75443         * sysdeps/sparc/elf/configure: Delete file.
75444         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75445         * sysdeps/sparc/sparc32/start.S: ... here.
75446         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75447         * sysdeps/sparc/sparc64/start.S: ... here.
75448         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75449         * sysdeps/sparc/sparc32/Makefile: ... this.
75450         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75451         * sysdeps/sparc/sparc64/Makefile: ... this.
75453         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75454         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75455         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75456         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75457         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75458         * sysdeps/s390/s390-32/setjmp.S: ... here.
75459         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75460         * sysdeps/s390/s390-32/configure.in: ... here.
75461         * sysdeps/s390/s390-32/elf/configure: Delete file.
75462         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75463         * sysdeps/s390/s390-32/start.S: ... here.
75465         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75466         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75467         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75468         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75469         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75470         * sysdeps/s390/s390-64/setjmp.S: ... here.
75471         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75472         * sysdeps/s390/s390-64/configure.in: ... here
75473         * sysdeps/s390/s390-64/elf/configure: Delete file.
75474         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75475         * sysdeps/s390/s390-64/start.S: ... here.
75476         * sysdeps/s390/s390-64/elf/configure: Delete.
75478         * configure.in: Remove support for elf directories in sysdeps.
75480         * configure: Regenerated.
75481         * sysdeps/i386/configure: Regenerated.
75482         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75483         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75484         * sysdeps/s390/s390-32/configure: Regenerated.
75485         * sysdeps/s390/s390-64/configure: Regenerated.
75486         * sysdeps/sh/configure: Regenerated.
75487         * sysdeps/sparc/configure: Regenerated.
75488         * sysdeps/x86_64/configure: Regenerated.
75490 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
75492         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75494         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75495         denormal result into account.
75497 2012-03-25  Roland McGrath  <roland@hack.frob.com>
75499         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75500         Reported by Allan McRae <allan@archlinux.org>.
75502 2012-03-23  Jeff Law  <law@redhat.com>
75504         * nss/getnssent.c (__nss_getent): Fix typo.
75506 2012-03-23  David S. Miller  <davem@davemloft.net>
75508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75510 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
75512         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75513         to pad to uint64_t for each field.
75514         (dl_tls_index): Replace unsigned long with uint64_t.
75516 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
75517         Paul Pluzhnikov  <ppluzhnikov@google.com>
75519         [BZ #6528]
75520         * grp/Makefile (otherlibs): Don't set it.
75521         * inet/Makefile (otherlibs): Likewise.
75522         * login/Makefile (otherlibs): Likewise.
75523         * nscd/Makefile (otherlibs): Likewise.
75524         * posix/Makefile (otherlibs): Likewise.
75525         * pwd/Makefile (otherlibs): Likewise.
75526         * rt/Makefile (otherlibs): Likewise.
75527         * sunrpc/Makefile (otherlibs): Likewise.
75528         * nss/Makefile (otherlibs): Likewise.
75529         Add libnss_files to routines and static-only-routines.
75530         ($(objpfx)getent): Remove rule.
75531         * resolv/Makefile: Add libnss_dns and libresolv to routines and
75532         static-only-routines.
75534 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75536         [BZ #13892]
75537         * math/s_cexp.c: Include <float.h>.
75538         (__cexp): Handle exp result overflowing not necessarily
75539         overflowing both real and imaginary parts of result.
75540         * math/s_cexpf.c: Likewise.
75541         * math/s_cexpl.c: Likewise.
75542         * math/libm-test.inc (cexp_test): Add more tests.
75543         * sysdeps/i386/fpu/libm-test-ulps: Update.
75544         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75546 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75548         * include/link.h (ELFW): New macro.
75549         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75550         Replace ELF64_R_TYPE with ELFW(R_TYPE).
75552 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75554         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75555         with uint64_t.
75557 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75559         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75560         declaration.
75561         (struct La_x32_retval): Likewise.
75563 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
75565         * sysdeps/x86_64/preconfigure.in: New file.
75566         * sysdeps/x86_64/preconfigure: New generated file.
75568 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
75570         [BZ #13824]
75571         * math/e_exp2l.c: Include <float.h>.
75572         (__ieee754_exp2l): Handle overflow and underflow cases
75573         separately.  Only pass fractional part of argument to
75574         __ieee754_expl.
75575         * math/libm-test.inc (exp2_test): Add more tests.
75577         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75578         negating x to take absolute value.
75579         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75580         Likewise.
75581         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75582         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75583         Likewise.
75584         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75585         computing low part if x was negated.
75586         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75588 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75590         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75591         la_x32_gnu_pltexit.
75592         (pltexit): Cast int_retval to ptrdiff_t.
75593         * elf/tst-auditmod3b.c: Likewise.
75594         * elf/tst-auditmod4b.c: Likewise.
75595         * elf/tst-auditmod5b.c: Likewise.
75596         * elf/tst-auditmod6b.c: Likewise.
75597         * elf/tst-auditmod6c.c: Likewise.
75598         * elf/tst-auditmod7b.c: Likewise.
75600         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75601         and x32_gnu_pltexit.
75603         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75604         __ELF_NATIVE_CLASS.
75605         (La_x32_regs): New macro.
75606         (La_x32_retval): Likewise.
75607         (la_x32_gnu_pltenter): New function prototype.
75608         (la_x32_gnu_pltexit): Likewise.
75610 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
75612         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75613         exponent.
75615         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75617         * configure.in (libc_cv_cc_nofma): Check for option to disable
75618         generation of FMA instructions.
75619         * configure: Regenerate.
75620         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75621         * sysdeps/ieee754/dbl-64/Makefile: New file.
75622         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75623         Remove brandred-fma4.
75624         (CFLAGS-brandred-fma4.c): Remove.
75625         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75626         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75627         define.
75628         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75629         define.
75631 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75633         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75634         LLONG_MAX != LONG_MAX.
75635         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75636         (_fitoa_word): Likewise.
75637         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75638         LLONG_MAX != LONG_MAX.
75639         * stdio-common/_itowa.h: Include <_itoa.h>.
75640         (_itowa_word): Use _ITOA_WORD_TYPE on value.
75641         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
75642         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
75643         only if not defined.
75644         (_ITOA_WORD_TYPE): Likewise.
75645         (_itoa_word): Use _ITOA_WORD_TYPE on value.
75646         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75648 2012-03-21  David S. Miller  <davem@davemloft.net>
75650         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75652 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
75654         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75655         of x86_64 when setting libc_cv_slibdir, libdir and
75656         libc_cv_localedir.
75657         * sysdeps/unix/sysv/linux/configure: Regenerated.
75659 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75661         * manual/lang.texi (Old Varargs): Remove section.
75662         (How Variadic): Update menu.
75663         (va_start): Do not mention varargs.h.
75665 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75666             Joseph Myers  <joseph@codesourcery.com>
75668         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75669         link test.
75670         * configure: Regenerated.
75672 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
75674         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75675         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75676         conformtest.pl
75678 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75680         * NOTES: Remove.
75681         * Makefile (files-for-dist): Remove NOTES.
75682         (NOTES): Remove rule.
75683         * README: Don't refer to NOTES.
75684         * manual/creature.texi: Don't include macros.texi.
75685         * manual/intro.texi (creature.texi): Remove comment referring to
75686         NOTES.
75688         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75689         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75690         * configure: Regenerated.
75691         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75692         LIBC_TRY_CC_OPTION.
75693         (libc_cv_as_i686): Likewise.
75694         (libc_cv_cc_avx): Likewise.
75695         (libc_cv_cc_sse2avx): Likewise.
75696         (libc_cv_cc_fma4): Likewise.
75697         (libc_cv_cc_novzeroupper): Likewise.
75698         * sysdeps/i386/configure: Regenerated.
75700         [BZ #13883]
75701         * sysdeps/i386/fpu/s_cexp.S: Remove.
75702         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75703         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75704         * math/libm-test.inc (cexp_test): Add more tests.
75705         * sysdeps/i386/fpu/libm-test-ulps: Update.
75706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75708 2012-03-21  Allan McRae  <allan@archlinux.org>
75710         * timezone/Makefile: Do not install iso3166.tab and zone.tab
75712 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
75714         [BZ #13871]
75715         * math/w_exp2.c: Do not include <float.h>.
75716         (o_threshold, u_threshold): Remove.
75717         (__exp2): Calculate result before checking finiteness and calling
75718         __kernel_standard.
75719         * math/w_exp2f.c: Likewise.
75720         * math/w_exp2l.c: Likewise.
75721         * math/libm-test.inc (exp2_test): Require overflow exception for
75722         1e6 input.
75724         [BZ #3866]
75725         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75726         range of signed 64-bit integers before using fistpll.  Remove
75727         checks for whether integers fit in mantissa bits.
75728         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75729         the range of signed 32-bit integers before using fistpl.  Remove
75730         checks for whether integers fit in mantissa bits.
75731         * sysdeps/i386/fpu/e_powl.S (p64): New object.
75732         (__ieee754_powl): Test for y outside the range of signed 64-bit
75733         integers before using fistpll.  Reduce 64-bit values to 63-bit
75734         ones as needed.
75735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75736         divide-by-zero is raised for zero to large negative powers.
75737         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75738         (__ieee754_powl): Test for y outside the range of signed 64-bit
75739         integers before using fistpll.  Reduce 64-bit values to 63-bit
75740         ones as needed.
75741         * math/libm-test.inc (pow_test): Add more tests.
75743 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75745         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75746         <stdio-common/_itoa.h>.
75747         * debug/segfault.c: Likewise.
75748         * elf/dl-cache.c: Likewise.
75749         * elf/dl-minimal.c: Likewise.
75750         * elf/dl-misc.c: Likewise.
75751         * elf/dl-sysdep.c: Likewise.
75752         * elf/dl-version.c: Likewise.
75753         * elf/rtld.c: Likewise.
75754         * hurd/hurdsock.c: Likewise.
75755         * hurd/lookup-retry.c: Likewise.
75756         * malloc/malloc.c: Likewise.
75757         * malloc/mtrace.c: Likewise.
75758         * nscd/nscd_getgr_r.c: Likewise.
75759         * nscd/nscd_getpw_r.c: Likewise.
75760         * nscd/nscd_getserv_r.c: Likewise.
75761         * posix/getopt_init.c: Likewise.
75762         * posix/wordexp.c: Likewise.
75763         * stdio-common/_itoa.c: Likewise.
75764         * stdio-common/printf_fphex.c: Likewise.
75765         * stdio-common/vfprintf.c: Likewise.
75766         * string/_strerror.c: Likewise.
75767         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75768         * sysdeps/i386/i686/hp-timing.h: Likewise.
75769         * sysdeps/mach/_strerror.c: Likewise.
75770         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75771         * sysdeps/mach/hurd/sethostid.c: Likewise.
75772         * sysdeps/mach/hurd/xmknodat.c: Likewise.
75773         * sysdeps/mach/xpg-strerror.c: Likewise.
75774         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75775         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75776         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75777         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75778         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75779         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75780         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75781         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75782         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75783         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75784         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75785         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75786         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75787         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75788         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75789         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75790         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75791         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75792         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75793         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75794         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75796         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75798         * stdio-common/_itoa.h: Moved to ...
75799         * sysdeps/generic/_itoa.h: Here.
75801         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75803         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75804         instead of "_itoa.h" and "_itowa.h".
75805         * stdio-common/vfprintf.: Likewise.
75807 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75809         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75810         <bits/wordsize.h>.
75811         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75812         (__signbit): Likewise.
75813         (llrintf): Likewise.
75814         (llrint): Likewise.
75816 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
75818         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75819         __WORDSIZE != 64.
75821 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
75823         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75824         OVERFLOW_EXCEPTION_OK.
75825         * math/libm-test.inc ("Philosophy"): Update comment about
75826         exception testing.
75827         (OVERFLOW_EXCEPTION): Define.
75828         (OVERFLOW_EXCEPTION_OK): Likewise.
75829         (INVALID_EXCEPTION_OK): Renumber.
75830         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75831         (IGNORE_ZERO_INF_SIGN): Likewise.
75832         (test_exceptions): Handle FE_OVERFLOW.
75833         (exp10_test): Expect overflow exceptions.
75834         (exp2_test): Likewise.
75835         (expm1_test): Likewise.
75836         (nextafter_test): Likewise.
75837         (pow_test): Likewise.
75838         (scalbn_test): Likewise.
75839         (scalbln_test): Likewise.
75841 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75843         * sysdeps/x86_64/bits/atomic.h
75844         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75845         64bit integer.
75846         (atomic_exchange_acq): Likewise.
75847         (__arch_exchange_and_add_body): Likewise.
75848         (__arch_add_body): Likewise.
75849         (atomic_add_negative): Likewise.
75850         (atomic_add_zero): Likewise.
75852 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75854         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75855         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75857 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75859         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75860         Check __x86_64__ instead of __WORDSIZE.
75862 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75864         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75866 2012-03-19  David S. Miller  <davem@davemloft.net>
75868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75870         * sysdeps/sparc/fpu/fenv_private.h: New file.
75871         * sysdeps/sparc/fpu/math_private.h: Use it.
75872         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75873         Remove.
75874         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75875         (libc_feholdexcept_setroundl): Remove.
75876         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75877         Remove.
75878         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75879         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75881 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75883         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75884         int64_t instead of long int.
75885         (INSERT_WORDS64): Likewise.
75887 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
75889         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75890         _Unwind_GetCFA return to _Unwind_Ptr first.
75892 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
75894         [BZ #13629]
75895         * math/s_clog.c: Include <float.h>.
75896         (__clog): Scale large or subnormal inputs.
75897         * math/s_clogf.c: Likewise.
75898         * math/s_clogl.c: Likewise.
75899         * math/s_clog10.c: Include <float.h>.
75900         (M_LOG10_2): Define.
75901         (__clog10): Scale large or subnormal inputs.
75902         * math/s_clog10f.c: Likewise.
75903         * math/s_clog10l.c: Likewise.
75904         * math/libm-test.inc (clog_test): Add more tests.
75905         (clog10_test): Likewise.
75906         * sysdeps/i386/fpu/libm-test-ulps: Update.
75907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75909         [BZ #11451]
75910         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75911         x and y.
75912         * math/libm-test.inc (atan2_test): Add another test.
75914         * Makerules (common-objdir-compile): Remove.
75915         * sysdeps/unix/Makefile (config-generated): Do not add
75916         $(unix-generated) to variable.
75917         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75918         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75919         Remove rule.
75920         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75921         Likewise.
75922         [generic bits/local_lim.h] (before-compile): Do not append to
75923         variable.
75924         [generic bits/local_lim.h] (common-generated): Likewise.
75925         [generic sys/param.h] (before-compile): Do not append to variable.
75926         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75927         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75928         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75929         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75930         include.
75931         [generic sys/param.h] (sys/param.h-includes): Remove variable.
75932         [generic sys/param.h] (sys/param.h-includes): Remove rule.
75933         [generic sys/param.h] ($(addprefix
75934         $(common-objpfx),$(sys/param.h-includes))): Likewise.
75935         [generic sys/param.h] (common-generated): Do not append to
75936         variable.
75937         [generic sys/param.h] (sysdep_headers): Likewise.
75938         [generic bits/errno.h] (before-compile): Do not append to
75939         variable.
75940         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75941         rule.
75942         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75943         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75944         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75945         [generic bits/errno.h] (common-generated): Do not append to
75946         variable.
75947         [generic bits/ioctls.h] (before-compile): Do not append to
75948         variable.
75949         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75950         rule.
75951         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75952         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75953         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75954         rule.
75955         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75956         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75957         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75958         [generic bits/ioctls.h] (common-generated): Do not append to
75959         variable.
75960         [generic sys/syscall.h] (syscall.h): Remove variable.
75961         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75962         rule.
75963         [generic sys/syscall.h] (before-compile): Do not append to
75964         variable.
75965         [generic sys/syscall.h] (common-generated): Likewise.
75966         * sysdeps/unix/errnos-tmpl.c: Remove file.
75967         * sysdeps/unix/errnos.awk: Likewise.
75968         * sysdeps/unix/ioctls-tmpl.c: Likewise.
75969         * sysdeps/unix/ioctls.awk: Likewise.
75970         * sysdeps/unix/mk-local_lim.c: Likewise.
75971         * sysdeps/unix/snarf-ioctls: Likewise.
75973 2012-03-19  Richard Henderson  <rth@twiddle.net>
75975         * sysdeps/i386/fpu/fenv_private.h: New file.
75976         * sysdeps/i386/fpu/math_private.h: Use it.
75977         (math_opt_barrier, math_force_eval): Remove.
75978         (libc_feholdexcept_setround_53bit): Remove.
75979         (libc_feupdateenv_53bit): Remove.
75980         * sysdeps/x86_64/fpu/math_private.h: Likewise.
75981         (math_opt_barrier, math_force_eval): Remove.
75982         (libc_feholdexcept): Remove.
75983         (libc_feholdexcept_setround): Remove.
75984         (libc_fetestexcept, libc_fesetenv): Remove.
75985         (libc_feupdateenv_test): Remove.
75986         (libc_feupdateenv, libc_feholdsetround): Remove.
75987         (libc_feresetround): Remove.
75989         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75990         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75992         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75993         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75994         (libc_feupdateenv_testl): New.
75995         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75996         (libc_feupdateenv_testf): New.
75997         (libc_feupdateenv): Use libc_feupdateenv_test.
75998         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75999         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
76001         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
76002         (libc_feholdsetroundf, libc_feholdsetroundl): New.
76003         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
76004         (libc_feresetround_noex): New.
76005         (libc_feresetround_noexf): New.
76006         (libc_feresetround_noexl): New.
76007         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
76008         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
76009         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
76010         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
76011         SET_RESTORE_ROUND.
76012         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
76013         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
76014         (__cos): Likewise.
76015         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
76016         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
76017         SET_RESTORE_ROUND_NOEX.
76018         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
76019         SET_RESTORE_ROUND_NOEXF.
76020         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
76021         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
76022         (libc_feholdsetroundf): New.
76023         (libc_feresetround, libc_feresetroundf): New.
76025         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
76026         (libc_feholdexcept_setround_53bit): Convert from macro to function.
76027         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
76029         * sysdeps/generic/math_private.h: Include <fenv.h>.
76030         (default_libc_feholdexcept): New.
76031         (default_libc_feholdexcept_setround): New.
76032         (default_libc_fesetenv, default_libc_feupdateenv): New.
76033         (libc_feholdexcept): Only define if undefined.
76034         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
76035         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
76036         (libc_feholdexcept_setroundl): Likewise.
76037         (libc_feholdexcept_setround_53bit): Likewise.
76038         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
76039         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
76040         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
76041         (libc_feupdateenv_53bit): Likewise.
76042         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
76043         (libc_feholdexcept): Convert from macro to inline function.
76044         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
76045         (libc_fesetenv, libc_feupdateenv): Likewise.
76047         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
76048         not previously defined.
76049         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
76050         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
76051         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
76052         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
76053         * sysdeps/ieee754/flt-32/math_private.h: New file.
76054         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
76055         math_private.h below SET_FLOAT_WORD.
76056         (__isnan, __isinf_ns, __finite): Remove.
76057         (__isnanf, __isinf_nsf, __finitef): Remove.
76059 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
76061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76063 2012-03-17  David S. Miller  <davem@davemloft.net>
76065         [BZ #6471]
76066         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
76067         for 2.16.
76069 2012-03-16  David S. Miller  <davem@davemloft.net>
76071         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
76072         warnings.
76074         [BZ #6471]
76075         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
76076         properly.
76077         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76078         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76079         sysdep_routines when subdir is sysvipc.
76080         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76081         __getshmlba helper.
76083         * sysdeps/sparc/fpu/libm-test/ulps: Update.
76085 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76087         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76088         [__LP64__].
76090 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76092         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76093         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76094         (__lround): Renamed to ...
76095         (__llround): This.  Replace long int with long long int.
76096         Define lround functions as aliases of llround functions.
76097         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76099 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76101         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76102         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
76103         adresses to uintptr_t.  Replace "long int" and "unsigned long
76104         int" with "greg_t" on va_arg.
76106 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76108         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76109         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76111         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76112         Move e_machine check before EI_CLASS check.  Handle x32
76113         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76114         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76115         SKIP_EM_IA_64 and include
76116         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76118         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76119         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76120         (add_system_dir): New macro.
76122         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76123         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76125 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
76127         [BZ #2551]
76128         [BZ #2552]
76129         [BZ #2553]
76130         [BZ #2554]
76131         [BZ #2562]
76132         [BZ #2563]
76133         [BZ #2565]
76134         [BZ #2566]
76135         [BZ #2576]
76136         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
76137         (y0): Likewise.
76138         * math/w_j0f.c (j0f): Likewise.
76139         (y0f): Likewise.
76140         * math/w_j0l.c (__j0l): Likewise.
76141         (__y0l): Likewise.
76142         * math/w_j1.c (j1): Likewise.
76143         (y1): Likewise.
76144         * math/w_j1f.c (j1f): Likewise.
76145         (y1f): Likewise.
76146         * math/w_j1l.c (__j1l): Likewise.
76147         (__y1l): Likewise.
76148         * math/w_jn.c (jn): Likewise.
76149         (yn): Likewise.
76150         * math/w_jnf.c (jnf): Likewise.
76151         (ynf): Likewise.
76152         * math/w_jnl.c (__jnl): Likewise.
76153         (__ynl): Likewise.
76154         * math/libm-test.inc (j0_test): Add more tests.
76155         (j1_test): Likewise.
76156         (jn_test): Likewise.  Add trailing semicolon to existing test.
76157         (y0_test): Likewise.
76158         (y1_test): Likewise.
76159         * sysdeps/i386/fpu/libm-test-ulps: Update.
76160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76162         [BZ #13851]
76163         [BZ #13854]
76164         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76165         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
76166         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
76167         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
76168         (__tanl): Set errno for infinite argument.
76169         * sysdeps/i386/fpu/mptan.c: Remove.
76170         * sysdeps/i386/fpu/s_tan.S: Likewise.
76171         * sysdeps/i386/fpu/s_tanl.S: Likewise.
76172         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
76173         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76174         * math/libm-test.inc (tan_test): Add more tests and enable more
76175         tests for double and long double.
76176         * sysdeps/i386/fpu/libm-test-ulps: Update.
76177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76179 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
76181         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
76182         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
76184 2012-03-16  Roland McGrath  <roland@hack.frob.com>
76186         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
76187         * configure.in: Use it for both main tree and add-ons.
76188         * configure: Regenerated.
76190 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
76192         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
76194 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
76196         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
76197         in comment.
76199         [BZ #13851]
76200         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
76201         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
76202         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
76203         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
76204         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
76205         infinite argument.
76206         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
76207         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
76208         != 0 for prec == 2.
76209         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
76210         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
76211         * sysdeps/i386/fpu/s_cosl.S: Likewise.
76212         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
76213         * sysdeps/i386/fpu/s_sinl.S: Likewise.
76214         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
76215         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
76216         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
76217         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
76218         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
76219         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
76220         * math/libm-test.inc (cos_test): Add more tests and enable more
76221         tests for long double.
76222         (sin_test): Likewise.
76223         (sincos_test): Likewise.
76224         * sysdeps/i386/fpu/libm-test-ulps: Update.
76225         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76227 2012-03-16  David S. Miller  <davem@davemloft.net>
76229         * sysdeps/sparc/fpu/math_private.h: New file.
76231 2012-03-15  David S. Miller  <davem@davemloft.net>
76233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
76234         file.
76235         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
76236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
76237         file.
76238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
76239         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
76240         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
76241         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
76242         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
76243         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
76244         sysdep routines.
76245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76247         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
76248         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
76250         * sysdeps/sparc/sparc-ifunc.h: New file.
76251         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
76252         sparc-ifunc.h
76253         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
76254         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
76255         Likewise.
76256         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
76257         Likewise.
76258         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
76259         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
76260         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76261         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
76262         Likewise.
76263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76264         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
76265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
76267         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
76268         Likewise.
76269         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
76270         Likewise.
76271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
76273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
76274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
76275         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
76276         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
76277         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
76278         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
76279         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
76280         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
76281         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
76282         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
76283         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
76284         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
76285         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
76286         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
76287         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
76288         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
76289         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
76290         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
76291         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
76292         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
76293         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
76294         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
76296 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76298         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
76299         scaling.
76300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76302 2012-03-15  Andreas Jaeger  <aj@suse.de>
76304         [BZ #13852]
76305         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
76306         ieee754/flt-32 implementation for sin, cos and sincos.
76307         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76308         * sysdeps/i386/fpu/s_cosf.S: Likewise.
76309         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76310         * sysdeps/i386/fpu/s_sinf.S: Likewise.
76311         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76312         ieee754/flt-32 implementation for tan.
76314         * math/libm-test.inc (cos_test): Enable some large input tests for
76315         float as well
76316         (sin_test): Likewise.
76317         (sincos_test): Likewise.
76318         (tan_test): Add tests for large input.
76320         * sysdeps/i386/fpu/libm-test-ulps: Update.
76322 2012-03-15  Andreas Jaeger  <aj@suse.de>
76324         [BZ #13658]
76325         * math/libm-test.inc (cos_test): Add more test cases.
76326         (sin_test): Likewise.
76327         (sincos_test): Likewise.
76329 2012-03-15  Andreas Jaeger  <aj@suse.de>
76331         [BZ #13837]
76332         * math/libm-test.inc (cos_test): Add a test case for large input
76333         value.
76334         (sin_test): Likewise.
76335         (sincos_test): Likewise.
76337 2012-03-15  Andreas Jaeger  <aj@suse.de>
76338             Joseph Myers  <joseph@codesourcery.com>
76340         [BZ #13658]
76341         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76342         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76343         * sysdeps/i386/fpu/branred.c: Likewise.
76344         * sysdeps/i386/fpu/dosincos.c: Likewise.
76345         * sysdeps/i386/fpu/mpa.c: Likewise.
76346         * sysdeps/i386/fpu/s_cos.S: Likewise.
76347         * sysdeps/i386/fpu/s_sin.S: Likewise.
76348         * sysdeps/i386/fpu/s_sincos.S: Likewise.
76349         * sysdeps/i386/fpu/sincos32.c: Likewise.
76351         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76352         Define.
76353         (libc_feupdateenv_53bit): Define.
76354         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76355         Define.
76356         (libc_feupdateenv_53bit): Define.
76358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76359         53 bit (without extend i386 double precision).
76361         * math/libm-test.inc (sincos_test): Add tests for large input.
76362         (sin): Likewise.
76363         (cos): Likewise.
76365         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
76369         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76371 2012-03-15  David S. Miller  <davem@davemloft.net>
76373         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76374         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76375         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76376         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76379         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76381         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76382         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76383         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76389         file.
76390         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76392         file.
76393         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76395         file.
76396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76398         file.
76399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76400         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76401         fmin/fmax sysdep routines.
76402         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76404 2012-03-14  David S. Miller  <davem@davemloft.net>
76406         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76407         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76408         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76409         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76410         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76411         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76412         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76413         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76414         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76415         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76416         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76417         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76418         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76419         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76420         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76421         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76422         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76423         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76424         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76425         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76426         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76427         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76428         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76429         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76430         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76431         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76432         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76433         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76434         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76435         routines.
76436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76437         file.
76438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76440         file.
76441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76443         file.
76444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76446         file.
76447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76449         file.
76450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76452         file.
76453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76454         file.
76455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76456         file.
76457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76458         file.
76459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76460         New file.
76461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76462         file.
76463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76464         file.
76465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76467         file.
76468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76470         file.
76471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76473         file.
76474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76476         VIS3 routines.
76478         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76479         New file.
76481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76483         * sysdeps/sparc/configure.in: New file.
76484         * sysdeps/sparc/configure: Generate.
76485         * configure.in (libc_cv_sparc_as_vis3): Substitute.
76486         * configure: Regenerate.
76487         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76488         * config.make.in (have-as-vis3): New.
76489         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76490         available use -Av9d instead of -Av9a.
76491         * sysdeps/sparc/sparc64/Makefile: Likewise.
76492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76494         New file.
76495         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76496         file.
76497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76498         New file.
76499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76500         file.
76501         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76502         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76503         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76504         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76505         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76507         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76508         fzeros/fnegs to load 0x80000000 into a float register instead of
76509         using the stack.
76510         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76512 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76514         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76515         bits/syscall.h.
76516         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76517         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76518         ($(inst_includedir)/bits/syscall.h): Remove rule.
76519         ($(objpfx)bits/syscall.d): Include instead of
76520         $(objpfx)syscall-list.d.
76521         (generated): Change syscall-list.h and syscall-list.d to
76522         bits/syscall.h and bits/syscall.d.
76524 2012-03-14  Roland McGrath  <roland@hack.frob.com>
76526         [BZ #13846]
76527         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76529 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
76531         [BZ #13841]
76532         * math/s_csqrt.c: Include <float.h>.
76533         (__csqrt): Scale large or subnormal inputs.
76534         * math/s_csqrtf.c: Likewise.
76535         * math/s_csqrtl.c: Likewise.
76536         * math/libm-test.inc (csqrt_test): Add more tests.
76537         * sysdeps/i386/fpu/libm-test-ulps: Update.
76538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76540         [BZ #13840]
76541         * math/libm-test.inc (hypot_test): Add more tests.
76543 2012-03-13  David S. Miller  <davem@davemloft.net>
76545         [BZ #13840]
76546         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76547         double-precision for the calculation instead of scaling.
76549 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
76551         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76552         manipulate bits before adding and subtracting TWO52[sx].
76553         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76554         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76555         Likewise.
76556         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76558 2012-03-13  David S. Miller  <davem@davemloft.net>
76560         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76561         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76562         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76563         rtld-global-offsets.h
76564         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76566         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76567         large parameters.
76569         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76571         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76572         'err' in the ifdef scope in which it is actually used.
76574         * nss/nss_db/db-init.c: Include string.h
76576 2012-03-12  David S. Miller  <davem@davemloft.net>
76578         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76579         masking out of the most significant byte of random value used.
76580         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76581         Fix coding style in previous change.
76583         * sysdeps/unix/sysv/linux/kernel-features.h
76584         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76585         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76586         expression.
76587         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76588         later.
76590 2012-03-11  David S. Miller  <davem@davemloft.net>
76592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76593         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76594         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76595         for 'resultvar' otherwise things get truncated on 64-bit.
76597         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76598         Fix masking out of the most significant byte of random value used.
76600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76602 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
76604         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76606 2012-03-09  David S. Miller  <davem@davemloft.net>
76608         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76609         variables with appropriate CPP guards.
76610         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76611         from the frame pointer, not the stack pointer.  Correct layout
76612         comments.  Fix test on resulting framesize and the management of
76613         the outregs buffer for pltexit.  Preserve floating point return
76614         values across _dl_call_pltexit call.
76615         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76616         framesize and the management of the outregs buffer for pltexit.
76617         Preserve floating point return values across _dl_call_pltexit
76618         call.
76619         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76620         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76621         (la_sparc64_gnu_pltexit): New functions.
76622         (print_exit): Fix format string for return register value.
76624 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
76626         * sunrpc/Makefile (others): Add rpcgen.
76627         ($(objpfx)rpcgen): Remove special build rule and dependency on
76628         libc.
76629         * sunrpc/rpcgen.c: New file.
76631 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
76633         [BZ #13673]
76634         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76635         * stdio-common/bug-vfprintf-nargs.c: Likewise.
76636         * sysdeps/i386/crti.S: Likewise.
76637         * sysdeps/i386/crtn.S: Likewise.
76638         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76639         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76640         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76641         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76642         * sysdeps/sh/crti.S: Likewise.
76643         * sysdeps/sh/crtn.S: Likewise.
76644         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76646         [BZ #13673]
76647         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76648         with URL.
76649         * locale/programs/locfile-kw.gperf: Likewise.
76650         * locale/programs/charmap-kw.h: Regenerated.
76651         * locale/programs/locfile-kw.h: Likewise.
76653         [BZ #13673]
76654         * intl/plural.y: Replace FSF snail mail address with URL.
76655         * intl/plural.c: Regenerated.
76657 2012-03-09  Richard Henderson  <rth@twiddle.net>
76659         * include/math_private.h: Remove file.
76660         * math/math_private.h: Move file ...
76661         * sysdeps/generic/math_private.h: ... here.
76663         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76664         * sysdeps/powerpc/fpu/math_private.h: Likewise.
76665         * sysdeps/x86_64/fpu/math_private.h: Likewise.
76667         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76668         and <math_private.h>.
76669         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76670         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76671         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76672         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76673         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76674         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76675         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76676         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76677         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76678         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76679         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76680         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76681         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76682         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76683         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76684         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76685         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76686         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76687         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76688         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76690         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76691         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76692         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76693         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76694         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76695         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76696         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76697         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76698         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76699         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76700         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76701         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76702         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76703         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76704         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76705         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76706         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76707         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76708         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76709         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76710         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76711         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76712         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76713         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76714         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76715         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76716         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76717         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76718         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76719         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76720         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76721         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76722         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76723         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76724         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76725         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76726         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76727         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76728         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76729         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76730         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76731         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76732         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76733         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76734         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76735         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76736         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76737         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76738         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76739         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76740         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76741         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76742         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76743         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76745         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76746         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76747         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76749         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76750         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76751         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76752         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76753         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76755         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76756         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76757         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76758         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76759         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76760         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76761         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76762         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76763         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76764         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76765         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76766         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76767         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76768         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76769         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76770         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76771         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76772         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76773         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76774         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76775         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76776         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76777         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76778         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76779         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76780         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76781         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76782         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76783         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76784         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76785         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76786         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76787         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76788         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76789         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76790         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76791         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76792         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76793         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76794         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76795         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76796         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76797         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76798         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76799         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76800         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76801         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76802         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76803         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76804         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76805         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76806         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76807         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76808         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76809         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76810         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76811         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76812         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76813         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76814         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76815         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76816         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76817         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76818         * sysdeps/ieee754/k_standard.c: Likewise.
76819         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76820         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76821         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76822         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76823         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76824         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76825         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76826         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76827         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76828         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76829         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76830         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76831         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76832         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76833         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76834         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76835         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76836         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76837         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76838         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76839         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76840         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76841         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76842         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76843         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76844         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76845         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76846         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76847         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76848         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76849         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76850         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76851         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76852         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76853         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76854         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76855         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76856         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76857         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76858         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76859         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76860         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76861         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76862         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76863         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76864         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76865         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76866         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76867         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76868         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76869         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76870         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76871         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76872         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76873         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76874         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76875         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76876         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76877         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76878         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76879         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76880         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76881         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76882         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76883         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76885         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76886         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76887         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76888         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76889         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76890         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76891         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76892         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76893         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76894         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76895         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76896         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76897         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76898         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76899         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76900         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76901         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76902         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76903         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76904         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76905         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76907         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76908         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76909         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76910         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76911         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76912         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76915         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76916         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76917         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76918         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76919         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76921         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76922         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76923         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76925         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76926         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76927         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76928         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76929         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76930         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76931         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76932         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76933         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76934         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76935         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76936         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76937         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76938         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76939         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76940         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76941         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76942         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76943         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76944         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76945         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76946         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76947         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76948         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76949         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76950         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76951         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76952         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76953         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76954         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76955         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76956         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76957         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76958         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76959         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76960         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76961         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76962         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76963         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76964         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76965         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76966         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76967         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76968         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76969         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76970         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76971         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76972         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76973         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76974         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76975         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76976         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76977         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76978         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76979         * sysdeps/ieee754/s_lib_version.c: Likewise.
76980         * sysdeps/ieee754/s_matherr.c: Likewise.
76981         * sysdeps/ieee754/s_signgam.c: Likewise.
76982         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76983         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76984         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76985         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76986         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76987         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76988         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76989         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76990         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76991         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76992         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76993         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76994         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76995         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76996         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76997         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76999         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
77000         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
77001         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
77002         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
77004 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77006         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
77007         * sunrpc/rpc_main.c: Likewise.
77008         * sunrpc/rpc_svcout.c: Likewise.
77010 2012-03-09  David S. Miller  <davem@davemloft.net>
77012         * include/math_private.h: New file.
77014 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
77016         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
77017         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
77018         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
77019         from <bits/socket_type.h>.
77020         (enum __socket_type): Don't define here.
77021         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
77022         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77023         bits/socket_type.h.
77025         [BZ #13566]
77026         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
77027         checking __USE_GNU.
77029         * Makerules ($(inst_includedir)/%.h): New rule.
77030         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
77031         (install-others): Remove variable setting.
77032         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
77034 2012-03-08  Richard Henderson  <rth@twiddle.net>
77036         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
77037         from macro to inline function; merge with the
77038         !__LIBC_INTERNAL_MATH_INLINES version.
77039         (__ieee754_sqrtf): Likewise.
77041         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
77042         to inline function.
77043         (__rintf, __floor, __floorf): Likewise.
77045         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
77046         macro to inline function.
77047         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
77049         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
77050         not <math/math_private.h>.
77052 2012-03-08  David S. Miller  <davem@davemloft.net>
77054         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
77055         copyright year.
77056         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
77058 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
77060         * resolv/gai_misc.c (handle_requests): Fix struct timespec
77061         normalization.
77062         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
77063         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
77065 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
77067         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
77068         be defined individually, they must be defined as a block.  Define
77069         S for printing a string instead of hidint the different by using a
77070         macro for adding the 'l'.
77071         * stdio-common/tst-fphex-wide.c: Adjust.
77073 2012-03-07  Marek Polacek  <polacek@redhat.com>
77075         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
77077 2012-03-08  Marek Polacek  <polacek@redhat.com>
77079         [BZ #13806]
77080         * stdio-common/Makefile (tests): Add tst-fphex-wide.
77081         * stdio-common/tst-fphex.c: Define a few macros to make the
77082         test reusable.  Use them.
77083         * stdio-common/tst-fphex-wide.c: New file.
77085 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
77087         [BZ #6911]
77088         * manual/macros.texi (gnusystems): New macro.
77089         (nongnusystems): Likewise.
77090         (gnulinuxhurdsystems): Likewise.
77091         (gnuhurdsystems): Likewise..
77092         (gnulinuxsystems): Likewise.
77093         * manual/charset.texi: Use new macros or @theglibc{} to refer to
77094         variants of the GNU system, not "GNU system".
77095         * manual/conf.texi: Likewise.
77096         * manual/errno.texi: Likewise.  Update example of errno macro
77097         expansion.
77098         * manual/filesys.texi: Likewise.
77099         (getumask): Document as specific to GNU/Hurd.
77100         * manual/install.texi: Likewise.  Reword some references to
77101         GNU/Linux.
77102         * manual/intro.texi: Likewise.
77103         * manual/io.texi: Likewise.
77104         (File Name Portability): Detail which constraints are inapplicable
77105         to all GNU systems and which are only inapplicable to GNU/Hurd.
77106         * manual/job.texi: Likewise.
77107         * manual/llio.texi: Likewise.
77108         (O_NOCTTY): Document as present on GNU/Linux.
77109         * manual/maint.texi: Likewise.
77110         * manual/memory.texi: Likewise.
77111         * manual/pattern.texi: Likewise.
77112         * manual/pipe.texi: Likewise.
77113         * manual/process.texi: Likewise.
77114         * manual/resource.texi: Likewise.
77115         (RUSAGE_CHILDREN): Remove statement about specifying a particular
77116         child on GNU/Hurd.
77117         * manual/setjmp.texi: Likewise.
77118         * manual/signal.texi: Likewise.
77119         * manual/startup.texi: Likewise.
77120         * manual/stdio.texi: Likewise.
77121         * manual/terminal.texi: Likewise.
77122         (ONLCR): Document as POSIX.
77123         (OXTABS): Document availability on GNU/Linux as XTABS.
77124         (ONOEOT): Document availability separately from other bits.
77125         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77126         * manual/time.texi: Likewise.
77127         * manual/users.texi: Likewise.
77128         * INSTALL: Regenerated.
77129         * sysdeps/gnu/errlist.c: Regenerated.
77131         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77132         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77133         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
77134         puts.
77135         * configure: Regenerated.
77137 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
77139         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
77140         default includes instead of AC_HEADER_CHECK.
77141         * sysdeps/i386/configure: Regenerated.
77143         [BZ #10716]
77144         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
77145         * math/s_cacoshf.c (__cacoshf): Likewise.
77146         * math/s_cacoshl.c (__cacoshl): Likewise.
77147         * math/s_casinh.c (__casinh): Set signs of result from argument.
77148         * math/s_casinhf.c (__casinhf): Likewise.
77149         * math/s_casinhl.c (__casinhl): Likewise.
77150         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
77151         (casinh_test): Add more tests.
77152         * sysdeps/i386/fpu/libm-test-ulps: Update.
77153         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77155 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
77157         * po/zh_TW.po: Update from translation team.
77159         * login/Makefile (distribute): Remove variable.
77160         * catgets/Makefile: Likewise.
77161         * mach/Makefile: Likewise.
77162         * malloc/Makefile: Likewise.
77163         * misc/Makefile: Likewise.
77164         * iconv/Makefile: Likewise.
77165         * nscd/Makefile: Likewise.
77166         * hurd/Makefile: Likewise.
77167         * manual/Makefile: Likewise.
77168         * locale/Makefile: Likewise.
77169         * intl/Makefile: Likewise.
77170         * conform/Makefile: Likewise.
77171         * nss/Makefile: Likewise.
77172         * time/Makefile: Likewise.
77173         * soft-fp/Makefile: Likewise.
77174         * dirent/Makefile: Likewise.
77175         * gmon/Makefile: Likewise.
77176         * po/Makefile: Likewise.
77177         * rt/Makefile: Likewise.
77178         * socket/Makefile: Likewise.
77179         * math/Makefile: Likewise.
77180         * signal/Makefile: Likewise.
77181         * debug/Makefile: Likewise.
77182         * elf/Makefile: Likewise.
77183         * timezone/Makefile: Likewise.
77184         * stdlib/Makefile: Likewise.
77185         * iconvdata/Makefile: Likewise.
77186         * sunrpc/Makefile: Likewise.
77187         * io/Makefile: Likewise.
77188         * argp/Makefile: Likewise.
77189         * inet/Makefile: Likewise.
77190         * hesiod/Makefile: Likewise.
77191         * grp/Makefile: Likewise.
77192         * csu/Makefile: Likewise.
77193         * wctype/Makefile: Likewise.
77194         * crypt/Makefile: Likewise.
77195         * libio/Makefile: Likewise.
77196         * string/Makefile: Likewise.
77197         * nis/Makefile: Likewise.
77198         * resolv/Makefile: Likewise.
77199         * stdio-common/Makefile: Likewise.
77200         * wcsmbs/Makefile: Likewise.
77201         * dlfcn/Makefile: Likewise.
77202         * posix/Makefile: Likewise.
77204         [BZ #6959]
77205         * timezone/Makefile: Don't install timezone files, just the programs
77206         and scripts.
77208 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
77210         * nss/databases.def: Add missing gshadow entry.
77212         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
77214 2012-03-06  Marek Polacek  <polacek@redhat.com>
77216         [BZ #13726]
77217         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
77218         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
77219         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
77220         * stdio-common/tst-long-dbl-fphex.c: New file.
77222 2012-03-06  David S. Miller  <davem@davemloft.net>
77224         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77225         (set_obp_int): New function.
77226         (get_obp_int): New function.
77227         (__get_clockfreq_via_dev_openprom): Likewise.
77228         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
77229         Avoid unused variable warnings on 'val' and use builtin_expect.
77230         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
77231         __builtin_expect.
77232         (INLINE_CLONE_SYSCALL): Likewise.
77234 2012-03-05  David S. Miller  <davem@davemloft.net>
77236         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77238 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
77240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77242         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
77243         only for |x| >= 40.
77244         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77246 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
77248         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
77249         Replace gettimeofday with __vdso_gettimeofday.
77251         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77252         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
77253         __vdso_clock_gettime and __vdso_getcpu.
77255         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
77256         time with __vdso_time.
77258 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
77260         * manual/lang.texi (size_t): Note types to which size_t may be
77261         equivalent with the GNU C Library, but do not describe when
77262         differences between them are significant.
77264 2012-03-05  Andreas Jaeger  <aj@suse.de>
77266         * sysdeps/i386/fpu/libm-test-ulps: Update.
77268 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
77270         [BZ #3976]
77271         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
77272         (__ieee754_pow): Save and restore rounding mode and use
77273         round-to-nearest for main computations.
77274         * math/libm-test.inc (pow_test_tonearest): New function.
77275         (pow_test_towardzero): Likewise.
77276         (pow_test_downward): Likewise.
77277         (pow_test_upward): Likewise.
77278         (main): Call the new functions.
77279         * sysdeps/i386/fpu/libm-test-ulps: Update.
77280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77282         [BZ #3976]
77283         * math/libm-test.inc (cosh_test_tonearest): New function.
77284         (cosh_test_towardzero): Likewise.
77285         (cosh_test_downward): Likewise.
77286         (cosh_test_upward): Likewise.
77287         (sinh_test_tonearest): Likewise.
77288         (sinh_test_towardzero): Likewise.
77289         (sinh_test_downward): Likewise.
77290         (sinh_test_upward): Likewise.
77291         (main): Call the new functions.
77292         * sysdeps/i386/fpu/libm-test-ulps: Update.
77293         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77295 2012-03-05  Tom de Vries  <tom@codesourcery.com>
77297         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
77298         default stack guard is set in last bytes.
77299         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
77301 2012-03-05  Kees Cook  <keescook@chromium.org>
77303         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
77305         [BZ #13656]
77306         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
77307         possibly allocate from heap instead of stack.
77308         * stdio-common/bug-vfprintf-nargs.c: New file.
77309         * stdio-common/Makefile (tests): Add nargs overflow test.
77311 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
77313         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77315 2012-03-03  Marek Polacek  <polacek@redhat.com>
77317         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77318         * math/math_private.h: Likewise.
77319         * stdlib/tst-strtod.c: Likewise.
77320         * sysdeps/i386/i486/bits/atomic.h: Likewise.
77321         * sysdeps/x86_64/bits/atomic.h: Likewise.
77323 2012-03-02  David S. Miller  <davem@davemloft.net>
77325         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77326         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77329         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77330         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77331         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77332         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77334 2012-03-02  Roland McGrath  <roland@hack.frob.com>
77336         [BZ #13792]
77337         * manual/examples/README: New file, says the example source files
77338         can be used under GPL>=2.
77339         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77340         line containing just "*/".
77341         * manual/examples/add.c: Add copyright header (GPL>=2).
77342         * manual/examples/argp-ex1.c: Likewise.
77343         * manual/examples/argp-ex2.c: Likewise.
77344         * manual/examples/argp-ex3.c: Likewise.
77345         * manual/examples/argp-ex4.c: Likewise.
77346         * manual/examples/atexit.c: Likewise.
77347         * manual/examples/db.c: Likewise.
77348         * manual/examples/dir.c: Likewise.
77349         * manual/examples/dir2.c: Likewise.
77350         * manual/examples/execinfo.c: Likewise.
77351         * manual/examples/filecli.c: Likewise.
77352         * manual/examples/filesrv.c: Likewise.
77353         * manual/examples/fmtmsgexpl.c: Likewise.
77354         * manual/examples/genpass.c: Likewise.
77355         * manual/examples/inetcli.c: Likewise.
77356         * manual/examples/inetsrv.c: Likewise.
77357         * manual/examples/isockad.c: Likewise.
77358         * manual/examples/longopt.c: Likewise.
77359         * manual/examples/memopen.c: Likewise.
77360         * manual/examples/memstrm.c: Likewise.
77361         * manual/examples/mkfsock.c: Likewise.
77362         * manual/examples/mkisock.c: Likewise.
77363         * manual/examples/mygetpass.c: Likewise.
77364         * manual/examples/pipe.c: Likewise.
77365         * manual/examples/popen.c: Likewise.
77366         * manual/examples/rprintf.c: Likewise.
77367         * manual/examples/search.c: Likewise.
77368         * manual/examples/select.c: Likewise.
77369         * manual/examples/setjmp.c: Likewise.
77370         * manual/examples/sigh1.c: Likewise.
77371         * manual/examples/sigusr.c: Likewise.
77372         * manual/examples/stpcpy.c: Likewise.
77373         * manual/examples/strdupa.c: Likewise.
77374         * manual/examples/strftim.c: Likewise.
77375         * manual/examples/strncat.c: Likewise.
77376         * manual/examples/subopt.c: Likewise.
77377         * manual/examples/swapcontext.c: Likewise.
77378         * manual/examples/termios.c: Likewise.
77379         * manual/examples/testopt.c: Likewise.
77380         * manual/examples/testpass.c: Likewise.
77381         * manual/examples/timeval_subtract.c: Likewise.
77383         [BZ #13792]
77384         * manual/time.texi (Elapsed Time): Move timeval_subtract example
77385         function to ...
77386         * manual/timeval_subtract.c.texi: ... here, new file.
77388 2012-03-02  David S. Miller  <davem@davemloft.net>
77390         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77392 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
77394         [BZ #3976]
77395         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77396         (__sin): Save and restore rounding mode and use round-to-nearest
77397         for all computations.
77398         (__cos): Save and restore rounding mode and use round-to-nearest
77399         for all computations.
77400         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77401         <fenv.h>.
77402         (tan): Save and restore rounding mode and use round-to-nearest for
77403         all computations.
77404         * math/libm-test.inc (cos_test_tonearest): New function.
77405         (cos_test_towardzero): Likewise.
77406         (cos_test_downward): Likewise.
77407         (cos_test_upward): Likewise.
77408         (sin_test_tonearest): Likewise.
77409         (sin_test_towardzero): Likewise.
77410         (sin_test_downward): Likewise.
77411         (sin_test_upward): Likewise.
77412         (tan_test_tonearest): Likewise.
77413         (tan_test_towardzero): Likewise.
77414         (tan_test_downward): Likewise.
77415         (tan_test_upward): Likewise.
77416         (main): Call the new functions.
77417         * sysdeps/i386/fpu/libm-test-ulps: Update.
77418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77420         [BZ #10135]
77421         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77422         small n, then large n, before computing and testing k+n.
77423         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77424         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77425         Likewise.
77426         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77427         Likewise.
77428         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77429         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77430         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77431         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77434         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77435         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77436         * math/libm-test.inc (scalbn_test): Add more tests.
77437         (scalbln_test): Likewise.
77439         * manual/filesys.texi (mode_t): Describe constraints on size and
77440         signedness, not exact equivalence to a particular type.
77441         (ino_t): Likewise.
77442         (ino64_t): Likewise.
77443         (dev_t): Likewise.
77444         (nlink_t): Likewise.
77445         (blkcnt_t): Likewise.
77446         (blkcnt64_t): Likewise.
77447         * manual/llio.texi (off_t): Likewise.
77449         [BZ #3976]
77450         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77451         (__ieee754_exp): Save and restore rounding mode and use
77452         round-to-nearest for all computations.
77453         * math/libm-test.inc (exp_test_tonearest): New function.
77454         (exp_test_towardzero): Likewise.
77455         (exp_test_downward): Likewise.
77456         (exp_test_upward): Likewise.
77457         (main): Call the new functions.
77458         * sysdeps/i386/fpu/libm-test-ulps: Update.
77459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77461 2012-03-01  Chris Demetriou  <cgd@google.com>
77463         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77464         have predictable order.
77466 2012-03-01  David S. Miller  <davem@davemloft.net>
77468         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77470         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77471         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77472         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77473         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77475         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77476         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77477         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77479         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77480         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77481         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77482         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77483         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77485         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77487         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77488         * sysdeps/sparc/fpu/libm-test-ulps: to here.
77489         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77491         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77492         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77493         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77494         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77495         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77496         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77497         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77498         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77499         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77500         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77501         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77502         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77504         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77505         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77507         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77508         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77509         * sysdeps/sparc/elf/configure: Regenerated.
77511 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
77513         * configure.in (AS, LD): Require binutils 2.20 or later.
77514         * configure: Regenerated.
77515         * manual/install.texi (Tools for Compilation): Give binutils 2.20
77516         as required minimum version.
77517         * INSTALL: Regenerated.
77519         [BZ #2541]
77520         [BZ #4108]
77521         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77522         before squaring exponent.
77523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77524         bottom long double and 27 bits of top long double before squaring
77525         exponent.
77526         * math/libm-test.inc (erfc_test): Add more tests.
77527         * sysdeps/i386/fpu/libm-test-ulps: Update.
77528         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77529         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77531 2012-03-01  Kai Tietz  <ktietz@redhat.com>
77533         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77534         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77535         containing bit-fields.
77536         * soft-fp/extended.h (_FP_UNION_E): Likewise.
77537         * soft-fp/single.h (_FP_UNION_S): Likewise.
77538         * soft-fp/double.h (_FP_UNION_D): Likewise.
77540 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77542         [BZ #13786]
77543         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77544         not include ../strcmp.S.
77545         [USE_AS_STRNCASECMP_L]: Likewise.
77546         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77547         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77548         * sysdeps/i386/i686/multiarch/strncase_l-c.c
77549         (__strncasecmp_l_ia32): Define as alias to
77550         __strncasecmp_l_nonascii.
77552         [BZ #5794]
77553         * math/libm-test.inc (expm1_test): Add test for bug 5794.
77554         * sysdeps/i386/fpu/libm-test-ulps: Update.
77555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77557         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77560 2012-02-29  Jeff Law  <law@redhat.com>
77562         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77563         out of bounds read.
77565 2012-02-29  Marek Polacek  <polacek@redhat.com>
77567         [BZ #13706]
77568         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77569         * elf/Makefile: Add rules to run tst-unused-dep.out.
77571 2012-02-28  David S. Miller  <davem@davemloft.net>
77573         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77574         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77575         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77576         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77577         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77578         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77580 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
77582         * math/libm-test.inc (llround_test): Move one test from
77583         lround_test.  Use TEST_f_L in moved test.
77584         (lround_test): Move misplaced test to llround_test.  Add testcase
77585         from bug 2561.
77587 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
77589         * sysdeps/x86_64/fpu/e_expf.S: New file.
77590         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77592 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
77594         [BZ #13637]
77595         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77596         of remain_len that may cause incomplete multi-byte character and
77597         false match.
77598         * posix/bug-regex33.c: New file.
77599         * posix/Makefile (tests): Add bug-regex33.
77601 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
77603         * manual/macros.texi: New file.
77604         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77605         * manual/libc.texinfo: Include macros.texi.
77606         * manual/creatute.texi: Likewise.
77607         * manual/install.texi: Likewise.
77608         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77609         @glibcadj{} in references to the GNU C Library.
77610         * manual/charset.texi: Likewise.
77611         * manual/conf.texi: Likewise.
77612         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
77613         when not using those macros.
77614         * manual/creature.texi: Likewise.
77615         * manual/crypt.texi: Likewise.
77616         * manual/errno.texi: Likewise.
77617         * manual/filesys.texi: Likewise.
77618         * manual/header.texi: Likewise.
77619         * manual/install.texi: Likewise.
77620         * manual/intro.texi: Likewise.
77621         * manual/io.texi: Likewise.
77622         * manual/job.texi: Likewise.
77623         * manual/lang.texi: Likewise.
77624         * manual/libc.texiinfo: Likewise.
77625         * manual/llio.texi: Likewise.
77626         * manual/locale.texi: Likewise.
77627         * manual/maint.texi: Likewise.
77628         * manual/math.texi: Likewise.
77629         * manual/memory.texi: Likewise.
77630         * manual/message.texi: Likewise.
77631         * manual/nss.texi: Likewise.
77632         * manual/pattern.texi: Likewise.
77633         * manual/process.texi: Likewise.
77634         * manual/resource.texi: Likewise.
77635         * manual/search.texi: Likewise.
77636         * manual/setjmp.texi: Likewise.
77637         * manual/signal.texi: Likewise.
77638         * manual/socket.texi: Likewise.
77639         * manual/startup.texi: Likewise.
77640         * manual/stdio.texi: Likewise.
77641         * manual/string.texi: Likewise.
77642         * manual/sysinfo.texi: Likewise.
77643         * manual/syslog.texi: Likewise.
77644         * manual/terminal.texi: Likewise.
77645         * manual/time.texi: Likewise.
77646         * manual/users.texi: Likewise.
77647         * INSTALL: Regenerated.
77648         * NOTES: Regenerated.
77649         * sysdeps/gnu/errlist.c: Regenerated.
77651 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
77653         * include/dirent.h: Include <dirstream.h> before
77654         <dirent/dirent.h>.
77656 2012-02-28  David S. Miller  <davem@davemloft.net>
77658         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77659         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77660         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77661         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77663 2012-02-27  David S. Miller  <davem@davemloft.net>
77665         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77667         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77668         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77670         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77671         frame pointer instead of stack pointer relative arg slot.
77672         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77673         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77674         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77676 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
77678         [BZ #3992]
77679         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77681 2012-02-27  David S. Miller  <davem@davemloft.net>
77683         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77684         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77685         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77686         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77687         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77688         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77689         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77690         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77692 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77694         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77695         later.  Allow versions 5-9.
77696         * configure: Regenerated.
77697         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77698         required minimum version and 4.6 as recommended version.  Do not
77699         mention bugs in GCC 2.7 and 2.8.
77700         * INSTALL: Regenerated.
77702 2012-02-27  David S. Miller  <davem@davemloft.net>
77704         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77708         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77709         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77710         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77711         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77713         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77714         manipulate bits before adding and subtracting TWO112[sx].
77715         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77717 2012-02-27  Roland McGrath  <roland@hack.frob.com>
77719         [BZ #13775]
77720         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77721         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77722         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77723         being in POSIX, because they are in 1003.1-2008.
77725         * rt/tst-aio.c: Include <fcntl.h>.
77726         * rt/tst-aio7.c: Likewise.
77727         * rt/tst-aio64.c: Likewise.
77729         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77731 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
77733         * manual/install.texi (--with-headers): Describe headers as
77734         interface headers, not private headers.
77735         (Specific advice for GNU/Linux systems): Describe use of headers
77736         from "make headers_install", not private headers from older
77737         kernels.
77738         * INSTALL: Regenerated.
77739         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77740         Change to 2.6.19.
77741         * sysdeps/unix/sysv/linux/configure: Regenerated.
77743         * manual/llio.texi (fclean): Remove documentation.
77745         * manual/Makefile (libc-texi-generated): New variable.  Include
77746         version.texi.
77747         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77748         $(libc-texi-generated), not duplicated list of files.
77749         (version.texi, stamp-version): New rules.
77750         (realclean): Remove $(libc-texi-generated), not individual files
77751         from that list.  Do not remove dir-add.texinfo.
77752         * manual/libc.texinfo: Comment out uses of edition numbers and
77753         references to printed manual.  Remove last-updated dates.
77754         (EDITION): Comment out.
77755         (ISBN): Likewise.
77756         (VERSION, UPDATED): Remove.
77757         (version.texi): Include.
77759 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
77761         * sysdeps/posix/spawni.c: Include <signal.h>.
77762         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77763         * sysdeps/pthread/aio_fsync.c: Likewise.
77765 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
77767         * conform/Makefile (tests): Run only when not cross-compiling and
77768         when fast-check is not defined.
77770         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77771         * conform/data/limits.h-data: Fixes for POSIX2008.
77772         * conform/run-conformtest.sh: Run all tests.
77773         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77774         headers.
77775         * include/bits/dlfcn.h: Likewise.
77776         * include/langinfo.h: Likewise.
77777         * include/monetary.h: Likewise.
77778         * include/sys/poll.h: Likewise.
77780         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77781         for __USE_GNU.
77782         * posix/spawn.h: Define __need_sigset_t.
77783         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77784         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77785         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
77786         to get sigevent_t only.
77787         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77788         only for __USE_GNU.
77789         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77790         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77791         process_vm_writev only for __USE_GNU.
77792         * termios/termios.h: Declare tcgetsid also for POSIX2008.
77794         * conform/Makefile: For now ignore errors from run-conformtest.
77795         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
77796         POSIX to avoid namespace pollution.  Don't prepend headers.
77797         * conform/data/aio.h-data: Fixes for POSIX testing.
77798         * conform/data/fcntl.h-data: Likewise.
77799         * conform/data/glob.h-data: Likewise.
77800         * conform/data/grp.h-data: Likewise.
77801         * conform/data/pthread.h-data: Likewise.
77802         * conform/data/pwd.h-data: Likewise.
77803         * conform/data/signal.h-data: Likewise.
77804         * conform/data/spawn.h-data: Likewise.
77805         * conform/data/stdio.h-data: Likewise.
77806         * conform/data/stdlib.h-data: Likewise.
77807         * conform/data/stropts.h-data: Likewise.
77808         * conform/data/sys/mman.h-data: Likewise.
77809         * conform/data/sys/stat.h-data: Likewise.
77810         * conform/data/sys/types.h-data: Likewise.
77811         * conform/data/sys/wait.h-data: Likewise.
77812         * conform/data/time.h-data: Likewise.
77813         * conform/data/unistd.h-data: Likewise.
77814         * conform/data/utime.h-data: Likewise.
77816         * io/sys/stat.h: fchmod was always in POSIX.
77817         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77818         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77819         * rt/aio.h: Define __need_timespec before including <time.h>.
77820         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77821         struct.  Add forward declaration of pthread_attr_t and use it in
77822         sigevent.
77823         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77824         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77825         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77826         always remove CLK_TCK definition.
77828 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
77830         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77832 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
77834         * conform/run-conformtest.sh: New file.
77835         * conform/Makefile: Run run-conformtest for tests.
77836         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
77837         support.
77839         * conform/data/uchar.h-data: New file.
77840         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77841         * conform/data/arpa/inet.h-data: Likewise.
77842         * conform/data/assert.h-data: Likewise.
77843         * conform/data/complex.h-data: Likewise.
77844         * conform/data/cpio.h-data: Likewise.
77845         * conform/data/ctype.h-data: Likewise.
77846         * conform/data/dirent.h-data: Likewise.
77847         * conform/data/dlfcn.h-data: Likewise.
77848         * conform/data/errno.h-data: Likewise.
77849         * conform/data/fcntl.h-data: Likewise.
77850         * conform/data/float.h-data: Likewise.
77851         * conform/data/fmtmsg.h-data: Likewise.
77852         * conform/data/fnmatch.h-data: Likewise.
77853         * conform/data/ftw.h-data: Likewise.
77854         * conform/data/glob.h-data: Likewise.
77855         * conform/data/grp.h-data: Likewise.
77856         * conform/data/iconv.h-data: Likewise.
77857         * conform/data/inttypes.h-data: Likewise.
77858         * conform/data/langinfo.h-data: Likewise.
77859         * conform/data/libgen.h-data: Likewise.
77860         * conform/data/limits.h-data: Likewise.
77861         * conform/data/locale.h-data: Likewise.
77862         * conform/data/math.h-data: Likewise.
77863         * conform/data/monetary.h-data: Likewise.
77864         * conform/data/mqueue.h-data: Likewise.
77865         * conform/data/ndbm.h-data: Likewise.
77866         * conform/data/net/if.h-data: Likewise.
77867         * conform/data/netdb.h-data: Likewise.
77868         * conform/data/netinet/in.h-data: Likewise.
77869         * conform/data/nl_types.h-data: Likewise.
77870         * conform/data/poll.h-data: Likewise.
77871         * conform/data/pthread.h-data: Likewise.
77872         * conform/data/pwd.h-data: Likewise.
77873         * conform/data/regex.h-data: Likewise.
77874         * conform/data/sched.h-data: Likewise.
77875         * conform/data/search.h-data: Likewise.
77876         * conform/data/semaphore.h-data: Likewise.
77877         * conform/data/setjmp.h-data: Likewise.
77878         * conform/data/signal.h-data: Likewise.
77879         * conform/data/spawn.h-data: Likewise.
77880         * conform/data/stdarg.h-data: Likewise.
77881         * conform/data/stdio.h-data: Likewise.
77882         * conform/data/stdlib.h-data: Likewise.
77883         * conform/data/string.h-data: Likewise.
77884         * conform/data/strings.h-data: Likewise.
77885         * conform/data/stropts.h-data: Likewise.
77886         * conform/data/sys/ipc.h-data: Likewise.
77887         * conform/data/sys/mman.h-data: Likewise.
77888         * conform/data/sys/msg.h-data: Likewise.
77889         * conform/data/sys/resource.h-data: Likewise.
77890         * conform/data/sys/select.h-data: Likewise.
77891         * conform/data/sys/sem.h-data: Likewise.
77892         * conform/data/sys/shm.h-data: Likewise.
77893         * conform/data/sys/socket.h-data: Likewise.
77894         * conform/data/sys/stat.h-data: Likewise.
77895         * conform/data/sys/statvfs.h-data: Likewise.
77896         * conform/data/sys/time.h-data: Likewise.
77897         * conform/data/sys/timeb.h-data: Likewise.
77898         * conform/data/sys/times.h-data: Likewise.
77899         * conform/data/sys/types.h-data: Likewise.
77900         * conform/data/sys/uio.h-data: Likewise.
77901         * conform/data/sys/un.h-data: Likewise.
77902         * conform/data/sys/utsname.h-data: Likewise.
77903         * conform/data/sys/wait.h-data: Likewise.
77904         * conform/data/syslog.h-data: Likewise.
77905         * conform/data/tar.h-data: Likewise.
77906         * conform/data/termios.h-data: Likewise.
77907         * conform/data/utime.h-data: Likewise.
77908         * conform/data/utmpx.h-data: Likewise.
77909         * conform/data/varargs.h-data: Likewise.
77910         * conform/data/wchar.h-data: Likewise.
77911         * conform/data/wctype.h-data: Likewise.
77912         * conform/data/wordexp.h-data: Likewise.
77914         * include/stropts.h: New file.
77915         * include/uchar.h: New file.
77916         * include/aio.h: Changes to allow conformtest.pl to use the headers.
77917         * include/assert.h: Likewise.
77918         * include/ctype.h: Likewise.
77919         * include/dirent.h: Likewise.
77920         * include/dlfcn.h: Likewise.
77921         * include/fcntl.h: Likewise.
77922         * include/fnmatch.h: Likewise.
77923         * include/glob.h: Likewise.
77924         * include/grp.h: Likewise.
77925         * include/libio.h: Likewise.
77926         * include/locale.h: Likewise.
77927         * include/math.h: Likewise.
77928         * include/net/if.h: Likewise.
77929         * include/netdb.h: Likewise.
77930         * include/netinet/in.h: Likewise.
77931         * include/pthread.h: Likewise.
77932         * include/pwd.h: Likewise.
77933         * include/regex.h: Likewise.
77934         * include/sched.h: Likewise.
77935         * include/search.h: Likewise.
77936         * include/setjmp.h: Likewise.
77937         * include/signal.h: Likewise.
77938         * include/stdio.h: Likewise.
77939         * include/stdlib.h: Likewise.
77940         * include/string.h: Likewise.
77941         * include/sys/cdefs.h: Likewise.
77942         * include/sys/mman.h: Likewise.
77943         * include/sys/msg.h: Likewise.
77944         * include/sys/resource.h: Likewise.
77945         * include/sys/select.h: Likewise.
77946         * include/sys/socket.h: Likewise.
77947         * include/sys/stat.h: Likewise.
77948         * include/sys/statvfs.h: Likewise.
77949         * include/sys/time.h: Likewise.
77950         * include/sys/times.h: Likewise.
77951         * include/sys/uio.h: Likewise.
77952         * include/sys/utsname.h: Likewise.
77953         * include/sys/wait.h: Likewise.
77954         * include/termios.h: Likewise.
77955         * include/time.h: Likewise.
77956         * include/ulimit.h: Likewise.
77957         * include/unistd.h: Likewise.
77958         * include/utime.h: Likewise.
77959         * include/wchar.h: Likewise.
77960         * include/wctype.h: Likewise.
77961         * include/wordexp.h: Likewise.
77963         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77965         * time/time.h: TIME_UTC must be a macro.
77966         Make timespec_get available for ISO C11 only as well.
77968 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
77970         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77971         Reported by Peng Haitao <penght@cn.fujitsu.com>.
77973 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77975         * configure.in: Use -o not -a in test for unsupported multi-arch.
77977 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77979         * manual/texinfo.tex: Update to version 2012-01-19.16.
77981 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
77983         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77985 2012-02-24  Roland McGrath  <roland@hack.frob.com>
77987         [BZ #13738]
77988         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77989         * manual/fdl-1.3.texi: New file.
77990         * manual/fdl-1.1.texi: File removed.
77992         [BZ #13738]
77993         * manual/libc.texinfo (FDL_VERSION): New @set.
77994         Use it for mention of FDL in cover text.
77995         (Documentation License): Use it in @include file name.
77997 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
77998             Roland McGrath  <roland@hack.frob.com>
78000         [BZ #5461]
78001         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
78002         (not LONG_LONG_MAX and LONG_LONG_MIN.
78003         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
78004         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
78005         name.
78006         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
78008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78010         [BZ #2547]
78011         [BZ #11365]
78012         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
78013         manipulate bits before adding and subtracting TWO23[sx].
78014         * math/libm-test.inc (nearbyint_test): Add more tests.
78016 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78018         [BZ #2548]
78019         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
78020         bits before adding and subtracting TWO23[sx].
78021         * math/libm-test.inc (rint_test): Add more tests.
78022         (rint_test_tonearest): Likewise.
78023         (rint_test_towardzero): Likewise.
78024         (rint_test_downward): Likewise.
78025         (rint_test_upward: Likewise.
78027 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78029         [BZ #10110]
78030         * include/stdc-predef.h: New file.  Extracted from features.h.
78031         * include/features.h: Include stdc-predef.h.
78032         * Makefile (headers): Add stdc-predef.h.
78033         * CONFORMANCE (Compiler limitations): Update.
78035 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
78037         * manual/libc.texinfo (VERSION, UPDATED): Revert.
78039 2012-02-21  David S. Miller  <davem@davemloft.net>
78041         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
78042         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78044 2012-02-20  David S. Miller  <davem@davemloft.net>
78046         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
78047         using a normal save/restore sequence, rather than allocating a
78048         dummy stack frame just to store a frame pointer and restore.
78049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78051 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78053         * manual/install.texi: Fix stray word in line-wrapped comment.
78055 2012-02-20  David S. Miller  <davem@davemloft.net>
78057         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
78058         both binutils and gcc support GOTDATA.
78060         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
78061         "rd %pc" in the PIC register setup sequences.
78063         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
78064         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
78065         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
78066         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
78067         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78068         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78070         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78071         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
78072         (SYSCALL_ERROR_HANDLER): Likewise.
78073         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78074         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78075         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
78076         (SYSCALL_ERROR_HANDLER): Likewise.
78078         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78079         (HAVE_GCC_GOTDATA): New.
78080         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78081         relocation support in both binutils and gcc.
78082         * sysdeps/sparc/elf/configure: Regenerate.
78084         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78085         * sysdeps/sparc/sparc32/elf/configure: Delete.
78086         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78087         * sysdeps/sparc/sparc64/elf/configure: Delete.
78088         * sysdeps/sparc/elf/configure.in: New file.
78089         * sysdeps/sparc/elf/configure: Generate.
78091         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78092         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78093         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78094         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78095         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78097 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78099         * manual/install.texi: Do not mention specific glibc version
78100         numbers.
78101         * manual/libc.texinfo (VERSION, UPDATED): Update.
78102         (@copying): Use @copyright{} and range of years.
78104 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
78106         [BZ #13695]
78107         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78108         [crti.S not in sysdirs] (generated): Do not append.
78109         [crti.S not in sysdirs] (omit-deps): Likewise.
78110         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78111         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78112         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78113         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78114         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78115         Likewise.
78116         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78117         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78118         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78119         * csu/defs.awk: Remove file.
78120         * sysdeps/generic/initfini.c: Likewise.
78121         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78122         variable.
78123         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78124         Likewise.
78126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78128         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78129         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78130         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78131         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78132         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78133         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78134         <bits/epoll.h>.
78135         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78136         (__EPOLL_PACKED): Define to empty if not defined by
78137         <bits/epoll.h>.
78138         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
78139         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78140         bits/epoll.h.
78142 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78144         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
78145         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
78146         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
78147         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
78148         <bits/timerfd.h>.
78149         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
78150         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78151         bits/timerfd.h.
78153 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
78155         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
78156         in C locale.
78157         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78158         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
78159         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
78160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78162 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
78164         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78165         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78167 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
78169         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
78170         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
78171         defined.
78172         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
78173         Likewise.
78174         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
78175         entry for 2.16.
78177 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
78179         * math/w_acos.c: Use non-signaling floating-point comparisons.
78180         * math/w_acosf.c: Likewise.
78181         * math/w_acosh.c: Likewise.
78182         * math/w_acoshf.c: Likewise.
78183         * math/w_acoshl.c: Likewise.
78184         * math/w_acosl.c: Likewise.
78185         * math/w_asin.c: Likewise.
78186         * math/w_asinf.c: Likewise.
78187         * math/w_asinl.c: Likewise.
78188         * math/w_atanh.c: Likewise.
78189         * math/w_atanhf.c: Likewise.
78190         * math/w_atanhl.c: Likewise.
78191         * math/w_exp2.c: Likewise.
78192         * math/w_exp2f.c: Likewise.
78193         * math/w_exp2l.c: Likewise.
78194         * math/w_j0.c: Likewise.
78195         * math/w_j0f.c: Likewise.
78196         * math/w_j0l.c: Likewise.
78197         * math/w_j1.c: Likewise.
78198         * math/w_j1f.c: Likewise.
78199         * math/w_j1l.c: Likewise.
78200         * math/w_jn.c: Likewise.
78201         * math/w_jnf.c: Likewise.
78202         * math/w_log.c: Likewise.
78203         * math/w_log10.c: Likewise.
78204         * math/w_log10f.c: Likewise.
78205         * math/w_log10l.c: Likewise.
78206         * math/w_log2.c: Likewise.
78207         * math/w_log2f.c: Likewise.
78208         * math/w_log2l.c: Likewise.
78209         * math/w_logf.c: Likewise.
78210         * math/w_logl.c: Likewise.
78211         * math/w_sqrt.c: Likewise.
78212         * math/w_sqrtf.c: Likewise.
78213         * math/w_sqrtl.c: Likewise.
78214         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78215         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
78216         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78217         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78218         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78220 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
78222         [BZ #9739]
78223         * manual/string.texi (strnlen): Use correct parameter name in
78224         equivalent expression.
78226 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
78228         [BZ #11174]
78229         * manual/users.texi (seteuid): Consistently use neweuid for
78230         argument name.
78232 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
78234         [BZ #13704]
78235         * manual/nss.texi (Services in the NSS configuration): Correct
78236         list of services in example configuration file.
78238 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
78240         [BZ #11322]
78241         * manual/arith.texi: Remove statements about negative zero
78242         behaving identically to zero.
78244 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
78246         [BZ #5993]
78247         * manual/install.texi: Do not document upgrading from libc5.
78249 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
78251         [BZ #4596]
78252         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
78254 2012-02-18  David S. Miller  <davem@davemloft.net>
78256         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
78257         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
78258         %o7 across the call.
78259         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
78260         instead.
78261         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
78262         SETUP_PIC_REG_LEAF.
78263         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78264         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
78265         * sysdeps/sparc/crtn.S: Likewise.
78267 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
78269         * aout/Makefile: Remove.
78271 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
78273         [BZ #13058]
78274         * manual/examples/argp-ex1.c (main): Format definition in GNU
78275         style.
78276         * manual/examples/argp-ex2.c (main): Likewise.
78277         * manual/examples/argp-ex3.c (main): Likewise.
78278         * manual/examples/argp-ex4.c (main): Likewise.
78279         * manual/examples/longopt.c (main): Use new-style prototype
78280         definition.
78281         * manual/examples/strncat.c (main): Specify return type and use
78282         (void) for arguments.
78283         * manual/examples/subopt.c (main): Use char **argv argument.
78285 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78287         [BZ #5077]
78288         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
78289         rounding modes.
78291 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
78293         [BZ #6907]
78294         * manual/string.texi (strchr): Change when strchrnul is
78295         recommended.
78297 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
78299         [BZ #174]
78300         * manual/locale.texi (setlocale): Document LOCPATH.
78302 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78304         [BZ #10210]
78305         * manual/process.texi (execle): Move @dots{} before last argument.
78307 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
78309         [BZ #12047]
78310         * manual/charset.texi (Generic Charset Conversion): Fix typo
78311         (LC_TYPE -> LC_CTYPE).
78313 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
78315         [BZ #5805]
78316         * manual/arith.texi (scalbn): Use @var{} on parameter names.
78317         (scalbnf): Likewise.
78318         (scalbnl): Likewise.
78319         (scalbln): Likewise.
78320         (scalblnf): Likewise.
78321         (scalblnl): Likewise.
78322         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78323         (vwarnx): Likewise.
78324         (verr): Likewise.
78325         (verrx): Likewise.
78326         * manual/filesys.texi (telldir): Use braces around return type.
78327         * manual/llio.texi (mmap): Add space after comma.
78328         (mmap64): Likewise.
78329         * manual/math.texi (jn): Use @var{} on parameter names.
78330         (jnf): Likewise.
78331         (jnl): Likewise.
78332         (yn): Likewise.
78333         (ynf): Likewise.
78334         (ynl): Likewise.
78335         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78336         line.
78337         * manual/resource.texi (ulimit): Use @dots{} instead of literal
78338         "...".
78339         (sched_get_priority_min): Remove semicolon on @deftypefun line.
78340         (sched_get_priority_max): Likewise.
78341         * manual/signal.texi (sigvec): Add space after comma.
78342         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78343         names.
78344         (if_indextoname): Likewise.
78345         (if_freenameindex): Likewise.
78346         (sendto): Use ',' instead of '.' in prototype.
78347         * manual/startup.texi (syscall): Use @dots{} instead of literal
78348         "...".
78349         * manual/stdio.texi (__fpending): Separate initial words of
78350         paragraph from @deftypefun line.
78351         * manual/syslog.texi (syslog): Use @dots{} instead of literal
78352         "...".
78353         (vsyslog): Use @var{} on parameter names.
78354         * manual/terminal.texi (stty): Use @var{} on parameter names.
78355         * manual/users.texi (getutmp): Use @var{} on parameter names.
78356         (getutmpx): Likewise.
78358 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78360         [BZ #6884]
78361         * manual/stdio.texi (fopen): Fix typos in description of
78362         ",ccs=STRING".
78364 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
78366         [BZ #4026]
78367         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78368         get clock_id definition.
78370 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
78372         [BZ #4822]
78373         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78374         (madvise): Cast every argument to void on its own.
78376 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78378         [BZ #9902]
78379         * manual/startup.texi (Exit Status): Fix typo.
78381 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
78383         [BZ #10140]
78384         * manual/examples/argp-ex1.c: Include <stdlib.h>.
78385         * manual/examples/argp-ex2.c: Likewise.
78386         * manual/examples/argp-ex3.c: Likewise.
78388 2012-02-16  Richard Henderson  <rth@redhat.com>
78390         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78391         * sysdeps/s390/s390-32/initfini.c: Remove.
78392         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78393         * sysdeps/s390/s390-64/initfini.c: Remove.
78395 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
78397         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78398         compiler output for sysdeps/generic/initfini.c.
78399         * sysdeps/sh/elf/initfini.c: Remove file.
78401 2012-02-16  David S. Miller  <davem@davemloft.net>
78403         [BZ #11494]
78404         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78406         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78407         * sysdeps/sparc/crti.S: New file.
78408         * sysdeps/sparc/crtn.S: New file.
78409         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78410         * sysdeps/sparc/sparc64/Makefile: Likewise.
78412 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
78414         [BZ #3335]
78415         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78417 2012-02-15  Roland McGrath  <roland@hack.frob.com>
78419         [BZ #4822]
78420         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78422         * mach/devstream.c (cookie_io_functions_t): Macro removed.
78423         (write, read, close): Likewise.
78424         Patch by Aurelien Jarno <aurelien@aurel32.net>.
78426 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
78428         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78429         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78430         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78431         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78432         <bits/signalfd.h>.
78433         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78434         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78435         bits/signalfd.h.
78437 2012-02-14  Marek Polacek  <polacek@redhat.com>
78439         * sysdeps/x86_64/crti.S: New file.
78440         * sysdeps/x86_64/crtn.S: New file.
78441         * sysdeps/x86_64/elf/initfini.c: Remove file.
78443 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78445         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78446         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78447         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78448         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78449         <bits/inotify.h>.
78450         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78451         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78452         bits/inotify.h.
78454 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
78456         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78457         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78458         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78459         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78460         <bits/eventfd.h>.
78461         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78462         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78463         bits/eventfd.h.
78465 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
78467         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78468         __feraiseexcept instead of feraiseexcept.
78470         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78471         nanosleep invocations.
78472         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78473         strings, and add error checking for a nanosleep invocations.
78475 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
78477         Replace FSF snail mail address with URLs, as per GNU coding standards.
78478         Most of the snail mail addresses were wrong anyway, and omitting
78479         them makes the source code easier to maintain.  Almost all of the
78480         changes are to license notices and to locale LC_IDENTIFICATION
78481         addresses, except for this one:
78482         * manual/libc.texinfo: In "Published by", give the FSF's URL,
78483         not its snail mail address.
78485 2012-02-09  Richard Henderson  <rth@twiddle.net>
78487         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78488         of kernel-features.h.
78490         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78492 2012-02-08  Marek Polacek  <polacek@redhat.com>
78494         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78495         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78496         * sysdeps/gnu/_G_config.h: Likewise.
78497         * sysdeps/generic/_G_config.h: Likewise.
78499 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
78501         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78502         tests.
78503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78505         * sysdeps/powerpc/powerpc32/crti.S: New file.
78506         * sysdeps/powerpc/powerpc32/crtn.S: New file.
78507         * sysdeps/powerpc/powerpc64/crti.S: New file.
78508         * sysdeps/powerpc/powerpc64/crtn.S: New file.
78510         * Makeconfig (have-initfini): Don't set.
78511         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78512         * configure.in (nopic_initfini): Don't substitute.
78513         * config.h.in (HAVE_INITFINI): Don't #undef.
78514         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78515         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78517 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
78519         Support crti.S and crtn.S provided directly by architectures.
78520         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78521         [crti.S in sysdirs] (omit-deps): Likewise.
78522         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78523         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78524         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78525         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78526         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78527         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78528         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78529         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78530         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78531         compiler output for sysdeps/generic/initfini.c.
78532         * sysdeps/i386/elf/Makefile: Remove file.
78533         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78535 2012-02-07  Marek Polacek  <polacek@redhat.com>
78537         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78538         * sysdeps/gnu/_G_config.h: Likewise.
78539         * sysdeps/mach/hurd/_G_config.h: Likewise.
78541 2012-02-07  Marek Polacek  <polacek@redhat.com>
78543         * math/Makefile (tests): Add tst-CMPLX2.
78544         * math/tst-CMPLX2.c: New file.
78546 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
78548         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78550         * math/libm-test.inc (jn_test): Add missing L suffix.
78552 2012-02-06  Marek Polacek  <polacek@redhat.com>
78554         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78555         * sysdeps/i386/fpu/e_powf.S: Likewise.
78556         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78557         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78558         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78559         * sysdeps/i386/fpu/e_pow.S: Likewise.
78560         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78561         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78562         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78563         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78564         * sysdeps/i386/fpu/e_log2.S: Likewise.
78565         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78566         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78567         * sysdeps/i386/fpu/e_powl.S: Likewise.
78568         * sysdeps/i386/fpu/s_log1p.S: Likewise.
78569         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78570         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78571         * sysdeps/i386/fpu/e_logl.S: Likewise.
78572         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78573         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78574         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78575         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78576         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78577         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78578         * sysdeps/i386/fpu/e_log.S: Likewise.
78579         * sysdeps/i386/fpu/s_cexp.S: Likewise.
78580         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78581         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78582         * sysdeps/i386/fpu/e_logf.S: Likewise.
78583         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78584         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78585         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78586         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78587         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78588         * sysdeps/i386/fpu/e_log10.S: Likewise.
78589         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78590         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78591         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78592         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78593         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78594         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78595         * sysdeps/i386/asm-syntax.h: Likewise.
78596         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78597         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78598         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78599         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78600         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78601         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78602         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78603         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78604         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78605         * sysdeps/powerpc/sysdep.h: Likewise.
78606         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78607         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78609 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78611         [BZ #411]
78612         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78614 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
78616         * sysdeps/i386/sysdep.h: Include <features.h>.
78617         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78618         version.
78620 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
78622         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78623         Define.
78624         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78625         LOAD_PIC_REG_STR.
78627 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78629         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78630         (SETUP_PIC_REG): Use GET_PC_THUNK.
78631         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78632         macro.
78634 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78636         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78637         for non-PIC compilation.
78638         (SETUP_PIC_REG): Add .p2align directive.
78639         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78640         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78641         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78642         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78643         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78644         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78645         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78646         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78647         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78648         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78649         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78650         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78651         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78652         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78653         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78654         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78655         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78656         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78657         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78658         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78659         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78660         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78661         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78662         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78663         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78664         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78665         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78666         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78667         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78668         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78669         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78670         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78671         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78672         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78673         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78674         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78675         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78676         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78677         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78678         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78679         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78681 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
78683         * math/tst-CMPLX.c: Include <stdio.h>.
78685 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
78687         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78688         float.
78689         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78690         * sysdeps/sparc/bits/mathdef.h: Likewise.
78692 2012-01-31  Marek Polacek  <polacek@redhat.com>
78694         * libio/libio.h: Don't define _PARAMS.
78695         * locale/programs/config.h: Don't define PARAMS.
78696         * stdlib/strtol_l.c: Likewise.
78697         (__strtol_l): Remove PARAMS from the prototype.
78699 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
78701         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
78702         names.  Just use the correct names.  Remove unnecessary wrapper
78703         functions.
78704         * malloc/arena.c: Likewise.
78705         * malloc/hooks.c: Likewise.
78707         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78708         ARENA_TEST says not to.  Simplify test for creation of a new arena.
78709         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78711 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
78713         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78714         into tail calls.
78715         (update_get_addr): New function.
78716         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78717         GET_ADDR_MODULE parameter.
78719 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78721         * crypt/cert.c: Remove __STDC__ conditionals.
78722         * crypt/crypt-entry.c: Likewise.
78723         * crypt/crypt_util.c: Likewise.
78724         * libio/filedoalloc.c: Likewise.
78725         * libio/fileops.c: Likewise.
78726         * libio/genops.c: Likewise.
78727         * libio/iofclose.c: Likewise.
78728         * libio/iofdopen.c: Likewise.
78729         * libio/iofopen.c: Likewise.
78730         * libio/iofopen64.c: Likewise.
78731         * libio/iogetdelim.c: Likewise.
78732         * libio/iopopen.c: Likewise.
78733         * libio/obprintf.c: Likewise.
78734         * libio/oldfileops.c: Likewise.
78735         * libio/oldiofclose.c: Likewise.
78736         * libio/oldiofdopen.c: Likewise.
78737         * libio/oldiofopen.c: Likewise.
78738         * libio/oldiopopen.c: Likewise.
78739         * libio/wfiledoalloc.c: Likewise.
78740         * libio/wgenops.c: Likewise.
78741         * locale/programs/xmalloc.c: Likewise.
78742         * misc/syslog.c: Likewise.
78743         * stdio-common/xbug.c: Likewise.
78744         * string/memchr.c: Likewise.
78745         * string/memcmp.c: Likewise.
78746         * string/memrchr.c: Likewise.
78747         * string/rawmemchr.c: Likewise.
78748         * sysdeps/posix/getcwd.c: Likewise.
78749         * time/strftime_l.c: Likewise.
78751 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
78753         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78754         * config.make.in (config-cflags-sse2avx): Define.
78755         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78756         Fix typo.
78758 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
78760         * scripts/config.guess: Update from upstream config git repository.
78761         * scripts/config.sub: Likewise.
78763 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
78765         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78766         (EM_NUM): Update.
78767         (R_TILEPRO_*, R_TILEGX_*): New macros.
78769         * scripts/firstversions.awk: Fix bug in version range handling.
78771         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78773         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78775         * include/sys/epoll.h: New file.
78776         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78777         libc_hidden_def.
78779 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
78781         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78782         Avoid unnecessary __WORDSIZE == 64 test.
78783         (fmaxf): Use VEX format if possible.
78784         (fmax): Likewise.
78785         (fminf): Likewise.
78786         (fmin): Likewise.
78788         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78789         * math/math_private.h: Remove libc_fegetround* and
78790         libc_fesetround*.
78791         * sysdeps/i386/configure.in: Check for -msse2avx.
78792         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78793         also if SSE2AVX is defined.
78794         Remove libc_fegetround* and libc_fesetround*.
78795         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78796         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
78797         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78798         of HAS_YMM_USABLE.
78799         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78800         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78801         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78802         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78803         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78805         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78807 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78809         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78810         size is not set.
78811         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78813 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
78815         [BZ #13618]
78816         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78817         relocation.
78818         * Makeconfig (libm): Define.
78819         * elf/Makefile: Add rules to build and run tst-relsort1.
78820         * elf/tst-relsort1.c: New file.
78821         * elf/tst-relsort1mod1.c: New file.
78822         * elf/tst-relsort1mod2.c: New file.
78824 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
78826         * math/s_ldexp.c: Remove __STDC__ conditionals.
78827         * math/s_ldexpf.c: Likewise.
78828         * math/s_ldexpl.c: Likewise.
78829         * math/s_nextafter.c: Likewise.
78830         * math/s_nexttowardf.c: Likewise.
78831         * math/s_significand.c: Likewise.
78832         * math/s_significandf.c: Likewise.
78833         * math/s_significandl.c: Likewise.
78834         * math/w_jnl.c: Likewise.
78835         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78836         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78837         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78838         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78839         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78840         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78841         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78842         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78843         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78844         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78845         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78846         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78847         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78848         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78849         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78850         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78851         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78852         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78853         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78854         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78855         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78856         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78857         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78858         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78859         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78860         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78861         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78862         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78863         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78864         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78865         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78866         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78867         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78868         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78869         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78870         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78871         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78872         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78873         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78874         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78875         * sysdeps/ieee754/k_standard.c: Likewise.
78876         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78877         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78878         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78879         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78880         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78881         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78882         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78883         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78884         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78885         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78886         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78887         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78888         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78889         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78890         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78891         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78892         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78893         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78894         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78895         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78896         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78897         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78898         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78899         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78900         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78901         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78902         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78903         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78904         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78905         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78906         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78907         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78908         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78909         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78911         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78912         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78913         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78914         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78915         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78916         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78917         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78918         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78919         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78920         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78921         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78922         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78923         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78924         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78925         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78926         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78927         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78928         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78929         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78930         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78931         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78932         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78933         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78935         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78936         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78937         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78938         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78939         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78940         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78941         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78942         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78943         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78944         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78945         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78946         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78947         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78948         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78949         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78950         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78951         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78952         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78953         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78954         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78955         * sysdeps/ieee754/s_matherr.c: Likewise.
78956         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78957         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78958         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78959         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78961 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78963         * crypt/md5.h: Remove __STDC__ conditionals.
78964         * libio/libioP.h: Likewise.
78965         * locale/programs/config.h: Likewise.
78966         * sysdeps/generic/sysdep.h: Likewise.
78967         * sysdeps/i386/asm-syntax.h: Likewise.
78968         * sysdeps/s390/asm-syntax.h: Likewise.
78969         * sysdeps/unix/sysdep.h: Likewise.
78970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78973 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
78975         * libio/libio.h: Remove __STDC__ conditionals.
78976         * malloc/obstack.h: Likewise.
78977         * math/complex.h: Likewise.
78978         * math/math.h: Likewise.
78979         * sysdeps/generic/_G_config.h: Likewise.
78980         * sysdeps/gnu/_G_config.h: Likewise.
78981         * sysdeps/mach/hurd/_G_config.h: Likewise.
78982         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78983         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78984         * sysdeps/sparc/bits/mathdef.h: Likewise.
78986 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
78988         [BZ #13583]
78989         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78990         Clean up HAS_* macros.
78991         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78992         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78993         possible.
78994         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78995         HAS_AVX.
78996         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78997         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78998         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78999         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
79000         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
79002 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
79004         * elf/tst-unique3.cc (gets): Remove declaration.
79005         * elf/tst-unique3lib.cc (gets): Likewise.
79006         * elf/tst-unique3lib2.cc (gets): Likewise.
79007         * elf/tst-unique4.cc (gets): Likewise.
79009 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
79011         * include/stdio.h: Add C++ protection.  Add gets declarations and
79012         definitions.
79013         * debug/tst-chk1.c: Don't declare gets here.
79014         * stdio-common/tst-gets.c: Likewise.
79016 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79018         * posix/glob: Remove directory.
79020 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
79022         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
79024 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
79026         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
79027         of the non-standard EPFNOSUPPORT.
79029 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79031         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
79032         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
79033         ANYWHERE set to 1 only on KERN_NO_SPACE error.
79035 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
79037         * wcsmbs/uchar.h: Test __STDC_VERSION__.
79039 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
79041         * nscd/aicache.c (addhstaiX): Do not cache negative results of
79042         transient errors.
79043         * nscd/grpcache.c (cache_addgr): Likewise.
79044         * nscd/hstcache.c (cache_addhst): Likewise.
79045         * nscd/initgrcache.c (addinitgroupsX): Likewise.
79046         * nscd/pwdcache.c (cache_addpw): Likewise.
79047         * nscd/servicescache.c (cache_addserv): Likewise.
79049 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
79051         * malloc/malloc.c: Various cleanups.
79052         * malloc/hooks.c: Likewise.
79054         * stdlib/Makefile (tests): Add bug-fmtmsg1.
79055         * stdlib/bug-fmtmsg1.c: New file.
79057         * stdlib/fmtmsg.c (init): Add missing unlock.
79058         Patch by Peng Haitao <penght@cn.fujitsu.com>.
79060 2012-01-12  Marek Polacek  <polacek@redhat.com>
79062         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
79063         and _GNU_SOURCE.
79065 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
79067         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
79068         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
79069         macro to ensure uniqueness of label name.
79070         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79071         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79073 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
79075         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
79077         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79078         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79079         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79080         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79082 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
79084         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79086         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79087         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79088         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79090         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79092         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79093         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79094         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79095         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79097         * math/bits/math-finite.h: Add ldexp support.
79099 2012-01-10  Marek Polacek  <polacek@redhat.com>
79101         * locale/programs/localedef.h (show_archive_content): Add noreturn
79102         attribute.
79104 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
79106         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79108 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79110         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79112         * io/Makefile (headers): Add bits/poll2.h.
79114 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
79116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79117         typo #include statement.
79119 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79121         * include/sys/cdefs.h: Define __attribute_alloc_size.
79122         * catgets/gencat.c: Add alloc_size attribute and apply consistently
79123         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79124         * elf/pldd.c: Likewise.
79125         * iconv/iconv_charmap.c: Likewise.
79126         * iconv/iconvconfig.c: Likewise.
79127         * iconv/strtab.c: Likewise.
79128         * locale/programs/locale.c: Likewise.
79129         * locale/programs/localedef.h: Likewise.
79130         * locale/programs/simple-hash.c: Likewise.
79131         * nscd/nscd.h: Likewise.
79132         * nss/makedb.c: Likewise.
79133         * sysdeps/generic/ldconfig.h: Likewise.
79134         * locale/programs/localedef.c: Remove xmalloc prototype.
79135         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
79137 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79139         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
79140         appropriate.
79142 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
79144         * math/Makefile (tests): Add tst-CMPLX.
79145         * math/tst-CMPLX.c: New file.
79147         * math/complex.h (CMPLXL): Fix typo.
79149         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
79150         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
79151         GLIBC_2.16.
79152         * debug/tst-chk1.c: Add poll and ppoll tests.
79153         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
79154         * include/sys/poll.h: Add hidden proto for ppoll.
79155         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
79156         * sysdeps/mach/hurd/ppoll.c: Likewise.
79157         * io/ppoll.c: Likewise.
79158         * debug/poll_chk.c: New file.
79159         * debug/ppoll_chk.c: New file.
79160         * include/bits/poll2.h: New file.
79161         * io/bits/poll2.h: New file.
79163         [BZ #1350]
79164         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
79166         * configure.in: static is always set to yes.  Remove.
79167         * config.make.in: Don't set build-static.
79168         * Makeconfig: Remove use of build-static.
79169         * dlfcn/Makefile: Likewise.
79170         * elf/Makefile: Likewise.
79171         * math/Makefile: Likewise.
79172         * misc/Makefile: Likewise.
79173         * nptl/Makefile: Likewise.
79174         * sysdeps/mach/hurd/Makefile: Likewise.
79176         * configure.in: PWD_P is not used anymore.
79177         * config.make.in: Remove PWD_P entry.
79179         * configure.in: Remove last remnants of RANLIB.
79180         No need to check for signed size_t anymore.
79181         Don't set libc_commonpagesize and libc_relro_required here for Alpha
79182         and IA-64.
79183         Remove __builtin_expect test because we require at least gcc 3.4.
79184         * aclocal.m4: Likewise.
79186         * wcsmbs/mbrtoc16.c: Implement using towc function.
79187         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
79188         * wcsmbs/wcsmbsload.c: Likewise.
79189         * iconv/gconv_simple.c: Likewise.
79190         * iconv/gconv_int.h: Likewise.
79191         * iconv/gconv_builtin.h: Likewise.
79192         * iconv/iconv_prog.c: Remove CHAR16 handling.
79194         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
79196         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
79198         * configure.in: Remove --with-elf and --enable-bounded options.
79199         Dont set base_machine for ia64.  More non-ELF conditions removed.
79200         Remove testing and setting of leading underscore information.
79201         * config.make.in (build-bounded): Set to no.
79202         * config.h.in: Remove NO_UNDERSCORES entry.
79203         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
79204         them.
79205         * csu/start.c: Remove !NO_UNDERSCORE code.
79206         * locale/localeinfo.h: Likewise.
79207         * sysdeps/generic/machine-gmon.h: Likewise.
79208         * sysdeps/generic/sysdep.h: Likewise.
79209         * sysdeps/i386/sysdep.h: Likewise.
79210         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79211         * sysdeps/mach/sysdep.h: Likewise.
79212         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79213         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79214         * sysdeps/sh/sysdep.h: Likewise.
79215         * sysdeps/sparc/sparc32/alloca.S: Likewise.
79216         * sysdeps/unix/i386/sysdep.S: Likewise.
79217         * sysdeps/unix/sparc/start.c: Likewise.
79218         * sysdeps/unix/sparc/sysdep.S: Likewise.
79219         * sysdeps/unix/sparc/sysdep.h: Likewise.
79220         * sysdeps/unix/start.c: Likewise.
79221         * sysdeps/unix/x86_64/sysdep.S: Likewise.
79222         * sysdeps/x86_64/sysdep.h: Likewise.
79224 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
79226         [BZ #13553]
79227         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
79228         for non-gcc.
79229         * argp/argp-fmtstream.h: Use const instead __const.
79230         * argp/argp.h: Likewise.
79231         * assert/assert.h: Likewise.
79232         * bits/fenv.h: Likewise.
79233         * bits/sched.h: Likewise.
79234         * bits/sigset.h: Likewise.
79235         * bits/sigthread.h: Likewise.
79236         * catgets/nl_types.h: Likewise.
79237         * conform/data/pthread.h-data: Likewise.
79238         * crypt/crypt-private.h: Likewise.
79239         * crypt/crypt.h: Likewise.
79240         * crypt/crypt_util.c: Likewise.
79241         * ctype/ctype.h: Likewise.
79242         * debug/execinfo.h: Likewise.
79243         * debug/mbsnrtowcs_chk.c: Likewise.
79244         * debug/mbsrtowcs_chk.c: Likewise.
79245         * debug/wcsnrtombs_chk.c: Likewise.
79246         * debug/wcsrtombs_chk.c: Likewise.
79247         * debug/wcstombs_chk.c: Likewise.
79248         * dirent/dirent.h: Likewise.
79249         * dlfcn/dlfcn.h: Likewise.
79250         * elf/neededtest4.c: Likewise.
79251         * grp/grp.h: Likewise.
79252         * gshadow/gshadow.h: Likewise.
79253         * iconv/gconv.h: Likewise.
79254         * iconv/gconv_int.h: Likewise.
79255         * iconv/gconv_simple.c: Likewise.
79256         * iconv/iconv.h: Likewise.
79257         * iconv/loop.c: Likewise.
79258         * iconv/skeleton.c: Likewise.
79259         * include/aio.h: Likewise.
79260         * include/aliases.h: Likewise.
79261         * include/argz.h: Likewise.
79262         * include/arpa/inet.h: Likewise.
79263         * include/assert.h: Likewise.
79264         * include/dirent.h: Likewise.
79265         * include/dlfcn.h: Likewise.
79266         * include/execinfo.h: Likewise.
79267         * include/fcntl.h: Likewise.
79268         * include/fenv.h: Likewise.
79269         * include/glob.h: Likewise.
79270         * include/grp.h: Likewise.
79271         * include/libintl.h: Likewise.
79272         * include/mntent.h: Likewise.
79273         * include/netdb.h: Likewise.
79274         * include/pwd.h: Likewise.
79275         * include/rpc/netdb.h: Likewise.
79276         * include/sched.h: Likewise.
79277         * include/search.h: Likewise.
79278         * include/shadow.h: Likewise.
79279         * include/signal.h: Likewise.
79280         * include/stdio.h: Likewise.
79281         * include/stdlib.h: Likewise.
79282         * include/string.h: Likewise.
79283         * include/sys/socket.h: Likewise.
79284         * include/sys/stat.h: Likewise.
79285         * include/sys/statfs.h: Likewise.
79286         * include/sys/statvfs.h: Likewise.
79287         * include/sys/syslog.h: Likewise.
79288         * include/sys/time.h: Likewise.
79289         * include/sys/uio.h: Likewise.
79290         * include/time.h: Likewise.
79291         * include/unistd.h: Likewise.
79292         * include/utmp.h: Likewise.
79293         * include/wchar.h: Likewise.
79294         * include/wctype.h: Likewise.
79295         * inet/aliases.h: Likewise.
79296         * inet/arpa/inet.h: Likewise.
79297         * inet/netinet/ether.h: Likewise.
79298         * inet/netinet/in.h: Likewise.
79299         * intl/libintl.h: Likewise.
79300         * io/bits/fcntl2.h: Likewise.
79301         * io/fcntl.h: Likewise.
79302         * io/ftw.h: Likewise.
79303         * io/sys/poll.h: Likewise.
79304         * io/sys/stat.h: Likewise.
79305         * io/sys/statfs.h: Likewise.
79306         * io/sys/statvfs.h: Likewise.
79307         * io/utime.h: Likewise.
79308         * libio/bits/stdio.h: Likewise.
79309         * libio/bits/stdio2.h: Likewise.
79310         * libio/libio.h: Likewise.
79311         * libio/libioP.h: Likewise.
79312         * libio/stdio.h: Likewise.
79313         * locale/lc-ctype.c: Likewise.
79314         * locale/locale.h: Likewise.
79315         * login/utmp.h: Likewise.
79316         * malloc/arena.c: Likewise.
79317         * malloc/malloc.c: Likewise.
79318         * malloc/malloc.h: Likewise.
79319         * malloc/mcheck.c: Likewise.
79320         * malloc/mtrace.c: Likewise.
79321         * math/bits/mathcalls.h: Likewise.
79322         * math/fenv.h: Likewise.
79323         * math/math_private.h: Likewise.
79324         * misc/bits/error.h: Likewise.
79325         * misc/bits/syslog.h: Likewise.
79326         * misc/err.h: Likewise.
79327         * misc/error.h: Likewise.
79328         * misc/fstab.h: Likewise.
79329         * misc/mntent.h: Likewise.
79330         * misc/regexp.h: Likewise.
79331         * misc/search.h: Likewise.
79332         * misc/sgtty.h: Likewise.
79333         * misc/sys/mman.h: Likewise.
79334         * misc/sys/syslog.h: Likewise.
79335         * misc/sys/uio.h: Likewise.
79336         * misc/sys/xattr.h: Likewise.
79337         * misc/ttyent.h: Likewise.
79338         * nis/rpcsvc/ypclnt.h: Likewise.
79339         * nss/nss.h: Likewise.
79340         * posix/bits/unistd.h: Likewise.
79341         * posix/fnmatch.h: Likewise.
79342         * posix/glob.h: Likewise.
79343         * posix/sched.h: Likewise.
79344         * posix/spawn.h: Likewise.
79345         * posix/sys/wait.h: Likewise.
79346         * posix/unistd.h: Likewise.
79347         * posix/wordexp.h: Likewise.
79348         * pwd/pwd.h: Likewise.
79349         * resolv/netdb.h: Likewise.
79350         * resource/sys/resource.h: Likewise.
79351         * rt/aio.h: Likewise.
79352         * rt/bits/mqueue2.h: Likewise.
79353         * rt/mqueue.h: Likewise.
79354         * shadow/shadow.h: Likewise.
79355         * signal/signal.h: Likewise.
79356         * socket/send.c: Likewise.
79357         * socket/sendto.c: Likewise.
79358         * socket/sys/socket.h: Likewise.
79359         * stdio-common/printf.h: Likewise.
79360         * stdlib/bits/stdlib.h: Likewise.
79361         * stdlib/fmtmsg.h: Likewise.
79362         * stdlib/monetary.h: Likewise.
79363         * stdlib/stdlib.h: Likewise.
79364         * stdlib/ucontext.h: Likewise.
79365         * streams/stropts.h: Likewise.
79366         * string/argz.h: Likewise.
79367         * string/bits/string2.h: Likewise.
79368         * string/string.h: Likewise.
79369         * string/strings.h: Likewise.
79370         * sunrpc/rpc/auth.h: Likewise.
79371         * sunrpc/rpc/auth_des.h: Likewise.
79372         * sunrpc/rpc/clnt.h: Likewise.
79373         * sunrpc/rpc/netdb.h: Likewise.
79374         * sunrpc/rpc/pmap_clnt.h: Likewise.
79375         * sunrpc/rpc/xdr.h: Likewise.
79376         * sysdeps/generic/inttypes.h: Likewise.
79377         * sysdeps/generic/net/if.h: Likewise.
79378         * sysdeps/generic/sys/swap.h: Likewise.
79379         * sysdeps/gnu/net/if.h: Likewise.
79380         * sysdeps/gnu/utmpx.h: Likewise.
79381         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79382         * sysdeps/i386/i486/bits/string.h: Likewise.
79383         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79384         * sysdeps/s390/bits/string.h: Likewise.
79385         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79386         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79387         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79388         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79389         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79390         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79391         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79392         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79393         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79394         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79395         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79396         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79397         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79398         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79399         * sysdeps/unix/sysv/linux/readv.c: Likewise.
79400         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79401         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79402         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79403         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79404         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79405         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79406         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79407         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79408         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79409         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79410         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79411         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79412         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79413         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79414         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79415         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79416         * sysvipc/sys/ipc.h: Likewise.
79417         * sysvipc/sys/msg.h: Likewise.
79418         * sysvipc/sys/sem.h: Likewise.
79419         * sysvipc/sys/shm.h: Likewise.
79420         * termios/termios.h: Likewise.
79421         * time/sys/time.h: Likewise.
79422         * time/time.h: Likewise.
79423         * wcsmbs/bits/wchar2.h: Likewise.
79424         * wcsmbs/uchar.h: Likewise.
79425         * wcsmbs/wchar.h: Likewise.
79426         * wctype/wctype.h: Likewise.
79428         [BZ #13551]
79429         * Makeconfig: Remove all but ELF support including AIX support.
79430         * Makerules: Likewise.
79431         * config.h.in: Likewise.
79432         * config.make.in: Likewise.
79433         * configure: Likewise.
79434         * configure.in: Likewise.
79435         * csu/Makefile: Likewise.
79436         * csu/version.c: Likewise.
79437         * debug/Makefile: Likewise.
79438         * dlfcn/Makefile: Likewise.
79439         * elf/Makefile: Likewise.
79440         * extra-lib.mk: Likewise.
79441         * iconv/Makefile: Likewise.
79442         * include/libc-symbols.h: Likewise.
79443         * include/shlib-compat.h: Likewise.
79444         * resolv/Makefile: Likewise.
79445         * resolv/res_libc.c: Likewise.
79446         * rt/Makefile: Likewise.
79447         * sysdeps/i386/asm-syntax.h: Likewise.
79448         * sysdeps/i386/sysdep.h: Likewise.
79449         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79450         * sysdeps/mach/sysdep.h: Likewise.
79451         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79452         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79453         * sysdeps/s390/asm-syntax.h: Likewise.
79454         * sysdeps/s390/s390-32/sysdep.h: Likewise.
79455         * sysdeps/s390/s390-64/sysdep.h: Likewise.
79456         * sysdeps/sh/sysdep.h: Likewise.
79457         * sysdeps/unix/sparc/sysdep.h: Likewise.
79458         * sysdeps/wordsize-32/divdi3.c: Likewise.
79459         * sysdeps/x86_64/sysdep.h: Likewise.
79461         * argp/Versions: Remove _argp_unlock_xxx.
79463         [BZ #13559]
79464         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
79465         * abilist/libBrokenLocale.abilist: Likewise.
79466         * abilist/libanl.abilist: Likewise.
79467         * abilist/libc.abilist: Likewise.
79468         * abilist/libcrypt.abilist: Likewise.
79469         * abilist/libdl.abilist: Likewise.
79470         * abilist/libm.abilist: Likewise.
79471         * abilist/libnsl.abilist: Likewise.
79472         * abilist/libpthread.abilist: Likewise.
79473         * abilist/libresolv.abilist: Likewise.
79474         * abilist/librt.abilist: Likewise.
79475         * abilist/libthread_db.abilist: Likewise.
79476         * abilist/libutil.abilist: Likewise.
79477         * abilist/libnss_db.abilist: New file.
79479         * scripts/abilist.awk: Add support for indirect functions.
79481         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79483         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79485         * shlib-versions: Remove entries for ports architectures.
79487         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
79488         files in ports.
79489         * elf/stackguard-macros.h: Remove support for IA-64.
79490         * elf/tst-auditmod1.c: Likewise.
79491         * sysdeps/generic/ldsodefs.h: Likewise.
79493         * sysdeps/unix/sysv/linux/configure.in: Ports should define
79494         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79495         configure files.
79497         [BZ #13552]
79498         * configure.in: Remove --enable-omitfp support.
79499         * FAQ.in: Adjust.
79500         * config.make.in: Likewise.
79501         * Makeconfig: Likewise.
79502         * manual/install.texi: Likewise.
79504         In case anyone cares, the IA-64 architecture could move to ports.
79505         * sysdeps/ia64/*: Removed.
79506         * sysdeps/unix/sysv/linux/ia64/*: Removed.
79507         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79509         [BZ #13555]
79510         * configure.in: Remove entries for unsupported architectures.
79512         [BZ #13533]
79513         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79514         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
79515         routines.
79516         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79517         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79518         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
79519         fall back to using wcrtomb.
79520         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79521         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
79522         renaming.
79523         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79524         * wcsmbs/tst-c16c32-1.c: New file.
79526         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79527         local variable.
79529         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79531         * elf/tst-unique3.cc: Add explicit declaration of gets.
79532         * elf/tst-unique3lib.cc: Likewise.
79533         * elf/tst-unique3lib2.cc: Likewise.
79534         * elf/tst-unique4.cc: Likewise.
79536         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79538 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
79540         [BZ #13566]
79541         * assert/assert.h (static_assert): Don't define for C++.
79542         * libio/stdio.h (gets): Do declare for C++ <= C++11.
79543         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79545 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
79547         * iconv/loop.c (single loop): Fix assertion in storing of
79548         remaining bytes.
79550         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79552 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
79554         * posix/getconf.c: Update copyright year.
79555         * nss/getent.c: Likewise.
79556         * nss/makedb.c: Likewise.
79557         * iconv/iconvconfig.c: Likewise.
79558         * iconv/iconv_prog.c: Likewise.
79559         * elf/ldconfig.c: Likewise.
79560         * elf/pldd.c: Likewise.
79561         * elf/sotruss.ksh: Likewise.
79562         * catgets/gencat.c: Likewise.
79563         * csu/version.c: Likewise.
79564         * elf/ldd.bash.in: Likewise.
79565         * elf/sprof.c (print_version): Likewise.
79566         * locale/programs/locale.c: Likewise.
79567         * locale/programs/localedef.c: Likewise.
79568         * login/programs/pt_chown.c: Likewise.
79569         * nscd/nscd.c (print_version): Likewise.
79570         * debug/xtrace.sh: Likewise.
79571         * malloc/memusage.sh: Likewise.
79572         * malloc/mtrace.pl: Likewise.
79573         * debug/catchsegv.sh: Likewise.
79575 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
79577         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79578         pure attribute.
79580 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
79582         [BZ #13533]
79583         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79584         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79585         transformations.
79586         * iconv/gconv_int.h: Likewise.
79587         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79588         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79589         from libc for GLIBC_2.16.
79590         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79591         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79592         * wcsmbs/uchar.h: Really define mbstate_t.
79593         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79594         * wcsmbs/c16rtomb.c: New file.
79595         * wcsmbs/mbrtoc16.c: New file.
79596         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79597         for C/POSIX locale.
79598         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79599         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79601         * wcsmbs/wchar.h: Add missing __restrict.
79603 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79605         [BZ #13532]
79606         * time/Makefile (routines): Add timespec_get.
79607         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79608         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
79609         timespec for ISO C11.
79610         * time/timespec_get.c: New file.
79611         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79612         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79614         [BZ #13531]
79615         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79616         * stdlib/stdlib.h: Declare aligned_alloc.
79617         * Versions.def: Add GLIBC_2.16 for libc.
79618         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79620         [BZ 13527]
79621         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79622         ISO C11.
79624         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79625         code.
79627         [BZ #13528]
79628         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79630         [BZ #13529]
79631         * assert/assert.h (static_assert): Define.
79633         * version.h: Update for 2.16 development version.
79635         [BZ #13526]
79636         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79637         _ISOC11_SOURCE.
79639         * version.h (RELEASE): Bump for 2.15 release.
79640         * include/features.h (__GLIBC_MINOR__): Bump to 15.
79642         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79643         Patch by Marek Polacek <mpolacek@redhat.com>.
79645         * bits/byteswap.h: Protect long long constants with __extension__.
79646         * sysdeps/i386/bits/byteswap.h: Likewise.
79647         * sysdeps/ia64/bits/byteswap.h: Likewise.
79648         * sysdeps/s390/bits/byteswap.h: Likewise.
79649         * sysdeps/x86_64/bits/byteswap.h: Likewise.
79651 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79653         [BZ #13540]
79654         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79655         destination buffer.
79656         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79658 2011-12-23  Marek Polacek  <polacek@redhat.com>
79660         * elf/dl-addr.c (determine_info): Add inline keyword.
79661         * elf/tst-auditmod4b.c (check_avx): Likewise.
79662         * elf/tst-auditmod6b.c (check_avx): Likewise.
79663         * elf/tst-auditmod6c.c (check_avx): Likewise.
79664         * elf/tst-auditmod7b.c (check_avx): Likewise.
79666 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
79668         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79669         !__SSE_MATH__.
79671 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79673         [BZ #13540]
79674         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79675         processing for last bytes.
79677 2011-08-06  Bruno Haible  <bruno@clisp.org>
79679         [BZ #13061]
79680         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79681         U+0385, not to U+1FEE.
79683         [BZ #13062]
79684         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79685         entry for U+00A5 U+0301.
79687 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79689         [BZ #13166]
79690         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79691         buffer for the output is too small.
79693         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79694         optimization.
79696         [BZ #13185]
79697         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79698         SSE flags if possible.
79700 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79702         [BZ #13540]
79703         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79704         processing for last bytes.
79706 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
79708         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79709         (syscall-list-default-options, syscall-list-default-condition)
79710         (syscall-list-includes): Define.
79711         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79712         list of ABIs and options and #if conditions for each ABI.  Do not
79713         handle common syscalls between ABIs specially.
79714         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79715         Remove.
79716         (syscall-list-variants, syscall-list-32bit-options)
79717         (syscall-list-32bit-condition, syscall-list-64bit-options)
79718         (syscall-list-64bit-condition): Define.
79719         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79720         (syscall-list-variants, syscall-list-32bit-options)
79721         (syscall-list-32bit-condition, syscall-list-64bit-options)
79722         (syscall-list-64bit-condition): Define.
79723         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79724         Remove.
79725         (syscall-list-variants, syscall-list-32bit-options)
79726         (syscall-list-32bit-condition, syscall-list-64bit-options)
79727         (syscall-list-64bit-condition): Define.
79728         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79729         Remove.
79730         (syscall-list-variants, syscall-list-32bit-options)
79731         (syscall-list-32bit-condition, syscall-list-64bit-options)
79732         (syscall-list-64bit-condition): Define.
79734 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
79736         * locale/iso-639.def: Add brx entry.
79738         [BZ #13328]
79739         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79740         Proposed by Mariusz_Cukr <marcukr@op.pl>.
79742         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79743         __feraiseexcept_renamed.
79745 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79747         [BZ #13538]
79748         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79749         EPOLLET with unsigned values.
79750         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79751         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79753         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79754         to large cancellation.
79755         * math/s_cacoshf.c: Likewise.
79756         * math/s_cacoshl.c: Likewise.
79758 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
79760         [BZ #13305]
79761         [BZ #12786]
79762         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79763         * math/s_cacoshf.c: Likewise.
79764         * math/s_cacoshl.c: Likewise.
79766 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
79768         [BZ #13439]
79769         * iconv/gconv.h: Define __GCONV_SWAP.
79770         * iconvdata/unicode.c: The swap bit must be stored in __flags.
79771         * iconvdata/utf-16.c: Likewise.
79772         * iconvdata/utf-32.c: Likewise.
79774 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
79776         [BZ #13524]
79777         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79778         numerator after shifting it by one limb.
79780 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
79782         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79783         under [__USE_EXTERN_INLINES].
79785 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79787         [BZ #13446]
79788         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79790 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79792         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79793         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79794         optimized code.
79795         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79796         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79797         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79798         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79799         for strncasecmp/strncasecmp_l compilation.
79800         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79801         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79803 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
79805         [BZ #13484]
79806         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79807         of __asm__.
79809 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
79811         [BZ #13506]
79812         * time/tzfile.c (__tzfile_read): Check values from file header.
79814 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
79816         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79817         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79818         * powerpc/powerpc32/dl-start.S: Likewise.
79819         * powerpc/powerpc32/elf/start.S: Likewise.
79820         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79821         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79822         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79823         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79824         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79825         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79826         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79827         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79828         * powerpc/powerpc32/fpu/s_round.S: Likewise.
79829         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79830         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79831         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79832         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79833         * powerpc/powerpc32/memset.S: Likewise.
79834         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79835         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79836         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79837         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79838         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79839         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79840         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79841         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79842         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79843         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79844         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79845         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79846         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79848 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79850         * math/libm-test.inc: Added more nearbyint tests.
79851         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79852         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79853         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79854         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79856 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
79858         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79859         FD_CLOEXEC.
79861 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79863         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79864         Add wcscpy-ssse3 wcscpy-c.
79865         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79866         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79867         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79868         * sysdeps/x86_64/wcschr.S: New file.
79869         * sysdeps/x86_64/wcsrchr.S: New file.
79870         * string/test-strcmp.c: Remove checking of wcscmp function for
79871         wrong alignments.
79872         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79873         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79874         wcsrchr-sse2 wcsrchr-c.
79875         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79876         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79877         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79878         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79879         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79880         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79881         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79882         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79883         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79884         * wcsmbc/wcschr.c (WCSCHR): New macro.
79886 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79888         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79889         * wcsmbs/test-wcsrchr.c: New file.
79890         * string/test-strrchr.c: Add wcsrchr support.
79891         (WIDE): New macro.
79892         * wcsmbs/test-wcscpy.c: New file.
79893         * string/test-strcpy.c: Add wcscpy support.
79894         (WIDE): New macro.
79896 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
79898         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79899         the inner loop.
79901 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
79903         [BZ #13472]
79904         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79906 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
79908         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79909         Minor optimizations.
79911         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79912         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79913         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79915 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
79917         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79918         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79919         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79920         for gcc to avoid warnings.
79921         * inet/Makefile (tests): Add tst-checks.
79922         * inet/tst-checks.c: New file.
79924         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79925         warning.
79927         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79928         __wmemcmp_sse2.
79930         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79931         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79933         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79935 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
79937         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79938         problem.
79940         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79942 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
79944         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79945         conditional on GCC version.
79946         (__arch_compare_and_exchange_val_8_acq)
79947         (__arch_compare_and_exchange_val_16_acq)
79948         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79949         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79950         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79952 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
79954         * sysdeps/sh/backtrace.c: New file.
79956 2011-12-02  Andreas Schwab  <schwab@redhat.com>
79958         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
79959         parenthesis.
79961 2011-12-01  Andreas Schwab  <schwab@redhat.com>
79963         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79964         falling back to utime.
79966 2011-11-30  Andreas Schwab  <schwab@redhat.com>
79968         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79969         expectations for float.
79971 2011-11-29  Andreas Schwab  <schwab@redhat.com>
79973         * locale/weight.h (findidx): Add parameter len.
79974         * locale/weightwc.h (findidx): Likewise.
79975         * posix/fnmatch_loop.c (FCT): Adjust caller.
79976         * posix/regcomp.c (build_equiv_class): Likewise.
79977         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79978         * posix/regexec.c (check_node_accept_bytes): Likewise.
79979         * string/strcoll_l.c (STRCOLL): Likewise.
79980         * string/strxfrm_l.c (STRXFRM): Likewise.
79982 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
79984         * Makefile.in: Remove CVSOPT handling.
79985         * configure.in: Remove use of AC_REVISION.
79986         * iconvdata/Makefile (distribute): No need to filter out CVS.
79987         * scripts/list-sources.sh: Remove CVS, subversion and monotone
79988         handling.
79990 2011-11-16  Andreas Schwab  <schwab@redhat.com>
79992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79993         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79994         [USE_AS_STRNCASECMP_L]: Likewise.
79995         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79996         NO_TLS_DIRECT_SEG_REFS.
79997         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79998         Fix argument offsets for non-PIC.
79999         [USE_AS_STRNCASECMP_L]: Likewise.
80000         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
80001         NO_TLS_DIRECT_SEG_REFS.
80003 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80005         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
80006         O_CLOEXEC.
80007         * locale/loadlocale.c (_nl_load_locale): Likewise.
80009 2011-11-15  Andreas Schwab  <schwab@redhat.com>
80011         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
80012         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
80013         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
80014         (SYSCALL_GETTIME): Set errno on error.
80016         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
80017         count references to noai6ai_cached.
80019 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
80021         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
80023         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
80024         FD_CLOEXEC for /proc/self/maps.
80026         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
80027         FD_CLOEXEC for /proc/meminfo.
80029         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
80030         gai.conf.
80032         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
80033         FD_CLOEXEC for given file.
80035         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
80037         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
80038         FD_CLOEXEC for /etc/hosts.
80039         (_gethtent): Likewise.
80041         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
80043         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
80044         cancellation and set FD_CLOEXEC for /etc/netgroup.
80046         * nss/nss_files/files-key.c (search): Don't allow cancellation when
80047         reading /etc/publickey.
80049         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
80050         allow cancellation when reading /etc/group.
80052         * nss/nss_files/files-alias.c (internal_setent): Don't allow
80053         cancellation.
80054         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
80056         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
80057         when using data file.
80059         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
80061         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
80062         (write_nis_obj): Use "c" and "e" in fopen.
80064         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
80066         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
80068         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
80070         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
80072         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
80073         locale.alias.
80075         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
80077         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80079         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80081         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80082         file parsing and set FD_CLOEXEC.
80084 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80086         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80088 2011-11-14  Andreas Schwab  <schwab@redhat.com>
80090         * malloc/arena.c (arena_get2): Don't call reused_arena when
80091         _int_new_arena failed.
80093 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
80095         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80096         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80097         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80098         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80099         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80101         to compile strcasecmp and strncasecmp.
80102         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80103         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80105         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80107 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
80109         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80110         locale-defines.sym to gen-as-const-headers.
80111         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80112         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80113         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80114         to compile strcasecmp and strncasecmp.
80115         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80116         strcasecmp_l and strncasecmp_l.
80117         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80118         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80119         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80120         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80121         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80122         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80123         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80124         * sysdeps/i386/i686/multiarch/strncase.S: New file.
80125         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80126         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80127         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80129 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
80131         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80132         result of SYSDEP_GETTIME_CPU to retval.
80133         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80134         parameter list to macro.  Remove trailing semicolon.  Adjust users.
80136         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
80137         variable.
80139         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
80140         mantissa words.
80141         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
80143         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
80144         from unused variable.
80146         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
80147         DWARF definitions.
80148         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
80149         for assembling.
80151         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
80152         over namespaces.
80154         * sunrpc/rpc_prot.c (rejected): Fix case value.
80156         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
80157         unsigned long long int to avoid warnings in shift.
80159         * posix/regex_internal.c (re_string_reconstruct): Actually use result
80160         of use of trans.
80161         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
80162         variable tmp.
80164         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
80165         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
80166         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
80168         * nis/nis_table.c (nis_list): Use variable of correct type for
80169         result of __follow_path call.
80171 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80173         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
80174         of math functions ceil, trunc, floor, round, and sqrt, when
80175         avaliable on the platform.
80176         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
80177         name clash.
80178         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80179         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80180         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80182 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
80184         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
80185         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
80187 2011-11-11  Roland McGrath  <roland@hack.frob.com>
80189         * include/unistd.h: Fix __readlink return type.
80190         Reported by Chris Metcalf <cmetcalf@tilera.com>.
80192 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
80194         * stdlib/ucontext.h: Undo last change for makecontext.
80196 2011-11-11  Andreas Schwab  <schwab@redhat.com>
80198         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
80200         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
80201         * setjmp/setjmp.h: Mark functions as non-leaf.
80202         * setjmp/bits/setjmp2.h: Likewise.
80203         * stdlib/ucontext.h: Likewise.
80205 2011-11-10  Andreas Schwab  <schwab@redhat.com>
80207         * malloc/arena.c (_int_new_arena): Don't increment narenas.
80208         (reused_arena): Don't check arena limit.
80209         (arena_get2): Atomically check arena limit.
80211 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
80213         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
80214         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
80216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
80217         instructions.
80219 2011-11-07  Andreas Schwab  <schwab@redhat.com>
80221         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
80222         handler when locking.
80224         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80225         Fix size of allocated buffer.
80227 2011-11-04  Andreas Schwab  <schwab@redhat.com>
80229         [BZ #10103]
80230         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
80231         declarations for long double functions.
80232         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
80234         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
80236 2011-11-03  Andreas Schwab  <schwab@redhat.com>
80238         * nscd/nscd.c (main): Don't start AVC thread until credentials are
80239         installed.
80241         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
80242         is disabled.
80244 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80246         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
80248 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
80250         * include/alloca.h (stackinfo_alloca_round): Define.
80251         (extend_alloca): Use it.
80252         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
80253         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
80254         here.
80256         * scripts/check-local-headers.sh: Ignore libaudit.h.
80258         * nscd/Makefile (extra-objs): Make recursively expanded.
80260 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
80262         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
80263         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
80265         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
80266         * posix/tst-rfc3484-2.c: Likewise.
80267         * posix/tst-rfc3484-3.c: Likewise.
80269         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80270         process_vm_writev.
80271         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
80272         process_vm_writev.
80273         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
80274         process_vm_writev from libc using GLIBC_2.15 version.
80276         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
80278 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
80280         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
80281         stack usage.
80283 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
80285         [BZ #13367]
80286         * nss/getent.c (initgroups_keys): Show error message in case no group
80287         names are given.
80289         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
80290         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
80291         __bump_nl_timestamp.
80292         * nscd/connections (nscd_init): When host database is served open
80293         netlink socket and request notification about configuration changes.
80294         (main_loop_poll): Track netlink file descriptor and bump timestamp
80295         in case data becomes available.
80296         (main_loop_epoll): Likewise.
80297         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
80298         (database_pers_head): Add extra_data fileds.
80299         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
80300         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
80301         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
80302         Adjust caller.
80303         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
80304         in6ai data, call __free_in6ai.
80305         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
80306         Add -DHAVE_NETLINK.
80307         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
80308         interface information.  Reuse previous data if netlink timestamp
80309         is not changed.
80310         (__bump_nl_timestamp): New function.
80311         (__free_in6ai): New function.
80313 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
80315         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80316         close_not_cancel_no_status here.
80317         (__check_pf): Reorganize code a bit to not call close twice if OOM.
80319 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80321         [BZ #13276]
80322         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80323         return value.
80325         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80326         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80327         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80329 2011-07-03  Andreas Jaeger  <aj@suse.de>
80331         [BZ #10709]
80332         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80333         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80334         * math/libm-test.inc (sin_test): Add test case.
80336 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
80338         [BZ #13337]
80339         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80340         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80342         * elf/chroot_canon.c (chroot_canon): Cleanups.
80344         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80346         [BZ #13335]
80347         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80348         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80350         * string/test-strchr.c: Make usable for strchrnul testing.
80351         * string/test-strchrnul.c: New file.
80352         * string/Makefile (strop-tests): Add strchrnul.
80354         * po/it.po: Update from translation team.
80355         * po/es.po: Likewise.
80357 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
80359         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80360         the three constants needed as parameters.  Drop the others.
80361         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80362         __m128i_strloadu_tolower.
80363         Create and initialize variable zero and use it in all the places
80364         where _mm_setzero_si128 was used.
80366         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80367         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80368         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80369         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80370         anymore.
80371         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80372         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80373         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80374         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80375         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80376         __mpranred, __mptan.
80377         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80378         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80379         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80380         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80381         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80382         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80383         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80384         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80385         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80387 2011-10-28  Andreas Schwab  <schwab@redhat.com>
80389         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80390         redefine if SHARED.
80391         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80393         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80394         wide char related routines to wcsmbs subdir.
80396 2011-10-27  Andreas Schwab  <schwab@redhat.com>
80398         [BZ #13344]
80399         * misc/sys/cdefs.h (__THROWNL): Define.
80400         * posix/unistd.h: Use __THREADNL instead of __THREAD
80401         for memory synchronization functions.
80403 2011-10-26  Roland McGrath  <roland@hack.frob.com>
80405         [BZ #13349]
80406         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80407         doesn't exist.
80408         * manual/stdio.texi (Obstack Streams): Node removed.
80410 2011-10-26  Andreas Schwab  <schwab@redhat.com>
80412         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80413         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80414         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80416         * math/math_private.h (math_force_eval): Allow non-addressable
80417         arguments.
80418         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80420 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80422         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80423         file is not needed.
80425         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80426         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80427         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80428         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80429         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80430         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80431         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80432         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80433         Add AVX variants.
80434         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80435         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80436         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80437         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80438         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80439         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80440         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80441         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80442         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80443         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80444         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80445         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80447         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80448         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80449         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80450         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80451         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80452         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80454         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80455         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
80457         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80458         place.  Use VEX encoding when compiling for AVX.
80460 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80462         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80463         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80465         * string/test-strchr.c (do_test): Don't generate NUL bytes.
80467 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80469         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80470         useless if() expression.
80471         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80472         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80473         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80474         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80475         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80476         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80477         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80478         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80479         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80480         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80481         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80482         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80483         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80484         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80485         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80486         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80487         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80488         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80489         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80491         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80493 2011-10-25  Andreas Schwab  <schwab@redhat.com>
80495         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80496         condition.
80497         * elf/dl-fini.c (_dl_sort_fini): Likewise.
80499 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
80501         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80502         .text section.  Avoid duplicate constants.
80503         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80504         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80505         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80506         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80507         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80508         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80509         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80510         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80511         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80512         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80513         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80514         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80515         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80516         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80517         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80518         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80519         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80520         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80521         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80522         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80523         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80524         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80525         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80526         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80527         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80528         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80529         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80530         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80531         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80532         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80533         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80534         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80535         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80536         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80537         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80538         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80539         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80540         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80541         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80542         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80543         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80544         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80545         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80546         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80547         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80549 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
80551         * sysdeps/x86_64/dla.h: Move to ...
80552         * sysdeps/x86_64/fpu/dla.h: ...here.
80553         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80554         situations.  Use __builtin_fma only for gcc 4.6 and up.
80556         * config.make.in: Add have-mfma4 entry.
80557         * configure.in: Substitute libc_cv_cc_fma4.
80558         * math/Makefile (dbl-only-routines): Add sincostab.
80559         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80560         Use __sincostab not sincos.
80561         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80562         name is a macro.
80563         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80564         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80565         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80566         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
80567         using __copysign.
80568         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
80569         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
80570         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80571         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80572         and __inv.
80573         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80574         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80575         __copysign.
80576         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
80577         define aliases when function name is a macro.
80578         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80579         sysdeps/ieee754/dbl-64/sincos.tbl.
80580         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80581         fma4-enabled routines.
80582         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80583         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80584         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80585         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80586         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80587         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80588         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80589         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80590         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80591         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80592         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80593         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80594         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80595         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80596         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80597         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80598         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80599         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80600         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80601         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80602         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80603         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80604         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80605         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80606         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80607         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80608         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80609         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80610         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80611         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80613         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80614         rename.
80615         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80616         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80617         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80618         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80619         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80620         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80621         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80622         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80624 2011-10-24  Andreas Schwab  <schwab@redhat.com>
80626         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80628 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80630         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80632         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80633         prediction.
80634         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80636         * string/strnlen.c: Don't define STRNLEN, reverse logic.
80637         Remove unused variable magic_bits.
80638         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80640         * string/strnlen.c: Define and use STRNLEN macro.
80641         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80642         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80644         * wcsmbs/wcslen.c: Define and use WCSLEN.
80645         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80646         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80647         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80648         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80649         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80650         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80651         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80653 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80656         strnlen-sse2-no-bsf.
80657         Rename strlen-no-bsf to strlen-sse2-no-bsf.
80658         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80659         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80660         Add strnlen support.
80661         (USE_AS_STRNLEN): New macro.
80662         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80663         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80664         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80665         * sysdeps/x86_64/wcslen.S: New file.
80667 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
80669         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80670         XMM-moves are used for copying on small sizes.
80672 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80674         * wcsmbs/Makefile (strop-tests): Add wcschr.
80675         * wcsmbs/test-wcschr.c: New file.
80676         * string/test-strchr.c: Update.
80677         Add wcschr support.
80678         (WIDE): New macro.
80680 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80682         * wcsmbs/Makefile (strop-tests): Add wcslen.
80683         * wcsmbs/test-wcslen.c: New file.
80684         * string/test-strlen.c: Update.
80685         Add wcslen support.
80686         (WIDE): New macro.
80688 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80690         * po/it.po: Update from translation team.
80692 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
80694         * sysdeps/x86_64/wcscmp.S: Update.
80695         Fix wrong comparison semantics.
80696         wcscmp shall use signed comparison not unsigned.
80697         Don't use substraction to avoid overflow bug.
80698         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80699         * wcsmbc/wcscmp.c: Likewise.
80700         * string/test-strcmp.c: Likewise.
80701         Add new tests to check cases with negative values.
80703 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
80705         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80706         * sysdeps/x86_64/dla.h: ...here.  New file.
80707         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80708         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80709         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80712         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80713         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80714         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80715         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80717 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
80719         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80720         __ynl_finite aliases.
80722 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80726         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80727         define DLA_FMA.
80728         [DLA_FMA] (EMULV): Use DLA_FMA.
80729         [DLA_FMA] (MUL12): Use EMULV.
80730         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80731         that are not needed.
80732         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80734         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80735         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80736         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80737         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80738         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80740 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
80742         * math/s_nan.c: Undef __nan.
80743         * math/s_nanf.c: Undef __nanf.
80744         * math/s_nanl.c: Undef __nanl.
80745         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80746         "math_private.h".
80748 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
80750         * math/s_catan.c: Add branch predictions.
80751         * math/s_catanf.c: Likewise.
80752         * math/s_catanh.c: Likewise.
80753         * math/s_catanhf.c: Likewise.
80754         * math/s_catanhl.c: Likewise.
80755         * math/s_catanl.c: Likewise.
80756         * math/s_cexp.c: Likewise.
80757         * math/s_cexpf.c: Likewise.
80758         * math/s_cexpl.c: Likewise.
80759         * math/s_clog.c: Likewise.
80760         * math/s_clog10.c: Likewise.
80761         * math/s_clog10f.c: Likewise.
80762         * math/s_clog10l.c: Likewise.
80763         * math/s_clogf.c: Likewise.
80764         * math/s_clogl.c: Likewise.
80765         * math/s_csqrt.c: Likewise.
80766         * math/s_csqrtf.c: Likewise.
80767         * math/s_csqrtl.c: Likewise.
80768         * math/s_ctanf.c: Likewise.
80769         * math/s_ctanh.c: Likewise.
80770         * math/s_ctanhf.c: Likewise.
80771         * math/s_ctanhl.c: Likewise.
80772         * math/s_ctanl.c: Likewise.
80774         * math/math_private.h: Define __nan, __nanf, __nanl.
80775         * math/s_cacosh.c: Include <math_private.h>.
80776         * math/s_cacoshl.c: Likewise.
80777         * math/s_casinh.c: Likewise.
80778         * math/s_casinhf.c: Likewise.
80779         * math/s_casinhl.c: Likewise.
80780         * math/s_ccos.c: Rely entire on ccosh.
80781         * math/s_ccosf.c: Rely entire on ccoshf.
80782         * math/s_ccosl.c: Rely entirely on ccoshl.
80783         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
80784         Remove tests for FE_INVALID.
80785         * math/s_ccoshf.c: Likewise.
80786         * math/s_ccoshl.c: Likewise.
80787         * math/s_csin.c: Likewise.
80788         * math/s_csinf.c: Likewise.
80789         * math/s_csinh.c Likewise.
80790         * math/s_csinhf.c: Likewise.
80791         * math/s_csinhl.c: Likewise.
80792         * math/s_csinl.c: Likewise.
80793         * math/s_ctan.c: Likewise.
80794         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80795         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80796         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80798 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
80800         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80801         compilation problems.
80803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80804         __builtin_expect.
80806 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
80808         * sysdeps/i386/configure.in: Test for -mfma4 option.
80809         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80810         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80811         COMMON_CPUID_INDEX_80000001.
80812         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80813         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80814         use it if FMA3 is not supported.
80815         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80817         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80818         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80820 2011-10-20  Andreas Schwab  <schwab@redhat.com>
80822         [BZ #12892]
80823         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80824         it would create a cycle with a link time dependency.
80826 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
80828         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80829         instruction.
80830         * string/Makefile (strop-tests): Add rawmemchr.
80831         * string/test-rawmemchr.c: New file.
80833         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80834         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
80835         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
80836         when compiling str{,n}casecmp and when AVX is available.  Hook up
80837         new optimized code in initializers.
80839 2011-10-19  Andreas Schwab  <schwab@redhat.com>
80841         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80842         __feraiseexcept instead of feraiseexcept.
80844 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
80846         * math/math_private.h: Define defaults for libc_fetestexcept and
80847         libc_feupdateenv.
80848         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80849         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80850         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80851         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80852         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80853         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80854         libc_fetestexcept and libc_feupdateenv.
80856         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80857         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80858         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80859         * sysdeps/x86_64/fpu/math_private.h: Define special version of
80860         libc_feholdexcept_setround.
80862         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80863         Add s_nearbyint-c and s_nearbyintf-c.
80864         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80865         nearbyintf inlines.
80866         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80867         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80868         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80869         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80871         * math/math_private.h: Define defaults for libc_fegetround,
80872         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80873         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80874         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80875         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80876         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80877         standard functions.
80878         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80879         Remove comments and hacks for old compiler versions.
80880         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80881         libc_fegetround, libc_fesetround, libc_feholdexcept, and
80882         libc_feholdexceptl.
80884 2011-10-18  Andreas Schwab  <schwab@redhat.com>
80886         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80887         (__feraiseexcept_renamed): Add __NTH.
80888         (feraiseexcept): Add __NTH.  Rename local variables to fix
80889         namespace violations.
80891 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
80893         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80895         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80897         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80898         recently added interfaces.
80899         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80901         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80902         about macro parameter expansion.
80904         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80905         __NO_MATH_INLINES is defined.  Cleanups.
80907         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80908         and __floorf is target has SSE4.1.
80909         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80910         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80911         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80912         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80914         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80915         name.
80916         (floorf): Likewise.
80918         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80920 2011-10-17  Andreas Schwab  <schwab@redhat.com>
80922         * misc/sys/cdefs.h: Fix last change.
80924         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80925         database lookup.
80927 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
80929         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80931         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80932         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80933         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80934         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80935         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80936         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80937         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80938         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80939         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80940         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80941         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80942         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80943         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80944         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80945         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80946         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80947         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80948         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80949         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80950         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80951         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80952         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80954         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80955         ceil, ceilf, floor, floorf.
80957         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80958         Perform IRELATIVE relocations last.
80960         * elf/do-rel.h: Add another parameter nrelative, replacing the
80961         local variable with the same name.  Change name of the function
80962         to end in Rel or Rela (uppercase).
80963         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80964         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
80965         elf_dynamic_do_##reloc function.
80967 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
80969         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80970         is sufficient, at least on modern CPUs.
80972         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80974         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80975         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80977         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80978         __expl_finite.
80979         * math/bits/math-finite.h: Add entries for exp.
80980         * math/e_expl.c: Add __*_finite alias.
80981         * sysdeps/i386/fpu/e_exp.S: Likewise.
80982         * sysdeps/i386/fpu/e_expf.S: Likewise.
80983         * sysdeps/i386/fpu/e_expl.c: Likewise.
80984         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80985         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80986         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80987         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80988         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80989         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80990         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80992         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80993         is sufficient, at least on modern CPUs.
80995         * ctype/ctype-info.c (__ctype_init): Define.
80996         * include/ctype.h (__ctype_init): Declare.
80997         (__ctype_b_loc): The variable is always initialized.
80998         (__ctype_toupper_loc): Likewise.
80999         (__ctype_tolower_loc): Likewise.
81000         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
81001         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
81003 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
81005         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
81007         * configure.in: Also look in $cxxmachine/include for C++ system
81008         headers.
81010 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81012         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
81013         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
81014         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
81015         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
81016         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
81017         (USE_AS_WMEMCMP): New macro.
81018         Fixing indents.
81019         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
81020         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
81021         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
81022         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
81023         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81024         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
81025         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
81026         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
81027         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
81028         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
81029         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
81030         (USE_AS_WMEMCMP): New macro.
81031         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
81032         * sysdeps/string/test-memcmp.c: Update.
81033         Fix simple_wmemcmp.
81034         Add new tests.
81035         * wcsmbs/wmemcmp.c: Update.
81036         (WMEMCMP): New macro.
81037         Fix overflow bug.
81039 2011-10-12  Andreas Jaeger  <aj@suse.de>
81041         [BZ #13268]
81042         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
81044 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
81046         * libio/iofwide.c (do_length): Avoid warning.
81048         * ctype/ctype.h (__isctype_f): Add missing __THROW.
81050 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
81052         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
81054         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
81055         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
81056         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
81057         * sysdeps/i386/i686/fpu/e_log.S: New file.
81058         * sysdeps/i386/i686/fpu/e_logf.S: New file.
81059         * sysdeps/i386/i686/fpu/e_logl.S: New file.
81061         * ctype/ctype.h: Add support for inlined isXXX functions when
81062         compiling C++ code.
81064 2011-10-14  Andreas Schwab  <schwab@redhat.com>
81066         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81068         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
81070 2011-10-13  Roland McGrath  <roland@hack.frob.com>
81072         [BZ #13291]
81073         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
81075 2011-10-13  Andreas Schwab  <schwab@redhat.com>
81077         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81078         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81079         feraiseexcept.
81081         * sysdeps/x86_64/memrchr.S: Check for zero size.
81083         * string/stratcliff.c: Add memrchr tests.
81085 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81087         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81088         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81089         rawmemchr-sse2 rawmemchr-sse2-bsf.
81090         * sysdeps/i386/i686/multiarch/memchr.S: New file.
81091         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81092         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81093         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81094         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81095         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81096         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81097         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81098         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81099         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81100         * string/memrchr.c (MEMRCHR): New macro.
81102 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
81104         Add integration with gcc's -ffinite-math-only and optimize wrapper
81105         functions in libm.
81106         * Versions.def: Define GLIBC_2.15 version for libm.
81107         * math/Makefile (headers): Add bits/math-finite.h.
81108         * math/bits/math-finite.h: New file.
81109         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81110         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81111         * math/e_acoshl.c: Add __*_finite alias.
81112         * math/e_acosl.c: Likewise.
81113         * math/e_asinl.c: Likewise.
81114         * math/e_atan2l.c: Likewise.
81115         * math/e_atanhl.c: Likewise.
81116         * math/e_coshl.c: Likewise.
81117         * math/e_exp10.c: Likewise.
81118         * math/e_exp10f.c: Likewise.
81119         * math/e_exp10l.c: Likewise.
81120         * math/e_exp2l.c: Likewise.
81121         * math/e_fmodl.c: Likewise.
81122         * math/e_gammal_r.c: Likewise.
81123         * math/e_hypotl.c: Likewise.
81124         * math/e_j0l.c: Likewise.
81125         * math/e_j1l.c: Likewise.
81126         * math/e_jnl.c: Likewise.
81127         * math/e_lgammal_r.c: Likewise.
81128         * math/e_log10l.c: Likewise.
81129         * math/e_log2l.c: Likewise.
81130         * math/e_logl.c: Likewise.
81131         * math/e_powl.c: Likewise.
81132         * math/e_sinhl.c: Likewise.
81133         * math/e_sqrtl.c: Likewise.
81134         * math/e_scalb.c: Completely rewritten and optimized.
81135         * math/e_scalbf.c: Likewise.
81136         * math/e_scalbl.c: Likewise.
81137         * math/w_acos.c: Likewise.
81138         * math/w_acosf.c: Likewise.
81139         * math/w_acosl.c: Likewise.
81140         * math/w_acosh.c: Likewise.
81141         * math/w_acoshf.c: Likewise.
81142         * math/w_acoshl.c: Likewise.
81143         * math/w_asin.c: Likewise.
81144         * math/w_asinf.c: Likewise.
81145         * math/w_asinl.c: Likewise.
81146         * math/w_atan2.c: Likewise.
81147         * math/w_atan2f.c: Likewise.
81148         * math/w_atan2l.c: Likewise.
81149         * math/w_atanh.c: Likewise.
81150         * math/w_atanhf.c: Likewise.
81151         * math/w_atanhl.c: Likewise.
81152         * math/w_exp10.c: Likewise.
81153         * math/w_exp10f.c: Likewise.
81154         * math/w_exp10l.c: Likewise.
81155         * math/w_fmod.c: Likewise.
81156         * math/w_fmodf.c: Likewise.
81157         * math/w_fmodl.c: Likewise.
81158         * math/w_j0.c: Likewise.
81159         * math/w_j0f.c: Likewise.
81160         * math/w_j0l.c: Likewise.
81161         * math/w_j1.c: Likewise.
81162         * math/w_j1f.c: Likewise.
81163         * math/w_j1l.c: Likewise.
81164         * math/w_jn.c: Likewise.
81165         * math/w_jnf.c: Likewise.
81166         * math/w_log.c: Likewise.
81167         * math/w_logf.c: Likewise.
81168         * math/w_logl.c: Likewise.
81169         * math/w_log10.c: Likewise.
81170         * math/w_log10f.c: Likewise.
81171         * math/w_log10l.c: Likewise.
81172         * math/w_log2.c: Likewise.
81173         * math/w_log2f.c: Likewise.
81174         * math/w_log2l.c: Likewise.
81175         * math/w_pow.c: Likewise.
81176         * math/w_powf.c: Likewise.
81177         * math/w_powl.c: Likewise.
81178         * math/w_remainder.c: Likewise.
81179         * math/w_remainderf.c: Likewise.
81180         * math/w_remainderl.c: Likewise.
81181         * math/w_scalb.c: Likewise.
81182         * math/w_scalbf.c: Likewise.
81183         * math/w_scalbl.c: Likewise.
81184         * math/w_sqrt.c: Likewise.
81185         * math/w_sqrtf.c: Likewise.
81186         * math/w_sqrtl.c: Likewise.
81187         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
81188         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
81189         used.
81190         * math/math_private.h: Declare __kernel_standard_f.
81191         * math/w_cosh.c: Remove cruft and optimize a bit.
81192         * math/w_coshf.c: Likewise.
81193         * math/w_coshl.c: Likewise.
81194         * math/w_exp2.c: Likewise.
81195         * math/w_exp2f.c: Likewise.
81196         * math/w_exp2l.c: Likewise.
81197         * math/w_hypot.c: Likewise.
81198         * math/w_hypotf.c: Likewise.
81199         * math/w_hypotl.c: Likewise.
81200         * math/w_lgamma.c: Likewise.
81201         * math/w_lgamma_r.c: Likewise.
81202         * math/w_lgammaf.c: Likewise.
81203         * math/w_lgammaf_r.c: Likewise.
81204         * math/w_lgammal.c: Likewise.
81205         * math/w_lgammal_r.c: Likewise.
81206         * math/w_sinh.c: Likewise.
81207         * math/w_sinhf.c: Likewise.
81208         * math/w_sinhl.c: Likewise.
81209         * math/w_tgamma.c: Likewise.
81210         * math/w_tgammaf.c: Likewise.
81211         * math/w_tgammal.c: Likewise.
81212         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81213         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81214         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
81215         Minor optimizations.  Pretty printing.  Remove cruft.
81216         * sysdeps/i386/fpu/e_acosf.S: Likewise.
81217         * sysdeps/i386/fpu/e_acosh.S: Likewise.
81218         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81219         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81220         * sysdeps/i386/fpu/e_acosl.c: Likewise.
81221         * sysdeps/i386/fpu/e_asin.S: Likewise.
81222         * sysdeps/i386/fpu/e_asinf.S: Likewise.
81223         * sysdeps/i386/fpu/e_atan2.S: Likewise.
81224         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
81225         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
81226         * sysdeps/i386/fpu/e_atanh.S: Likewise.
81227         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81228         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81229         * sysdeps/i386/fpu/e_exp10.S: Likewise.
81230         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
81231         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
81232         * sysdeps/i386/fpu/e_exp2.S: Likewise.
81233         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
81234         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
81235         * sysdeps/i386/fpu/e_fmod.S: Likewise.
81236         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
81237         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
81238         * sysdeps/i386/fpu/e_hypot.S: Likewise.
81239         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
81240         * sysdeps/i386/fpu/e_log.S: Likewise.
81241         * sysdeps/i386/fpu/e_log10.S: Likewise.
81242         * sysdeps/i386/fpu/e_log10f.S: Likewise.
81243         * sysdeps/i386/fpu/e_log10l.S: Likewise.
81244         * sysdeps/i386/fpu/e_log2.S: Likewise.
81245         * sysdeps/i386/fpu/e_log2f.S: Likewise.
81246         * sysdeps/i386/fpu/e_log2l.S: Likewise.
81247         * sysdeps/i386/fpu/e_logf.S: Likewise.
81248         * sysdeps/i386/fpu/e_logl.S: Likewise.
81249         * sysdeps/i386/fpu/e_pow.S: Likewise.
81250         * sysdeps/i386/fpu/e_powf.S: Likewise.
81251         * sysdeps/i386/fpu/e_powl.S: Likewise.
81252         * sysdeps/i386/fpu/e_remainder.S: Likewise.
81253         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
81254         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
81255         * sysdeps/i386/fpu/e_scalb.S: Likewise.
81256         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81257         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81258         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
81259         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
81260         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
81261         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81262         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81263         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81264         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81265         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81266         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81267         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
81268         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81269         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81270         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81271         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81272         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81273         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81274         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81275         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81276         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81277         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81278         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81279         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81280         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81281         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81282         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81283         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81284         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81285         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81286         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81287         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81288         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81289         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
81290         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81291         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81292         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81293         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81294         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81295         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81296         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81297         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81298         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81299         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81300         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81301         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81302         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81303         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81304         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81305         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81306         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81307         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81308         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81309         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81310         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81311         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81312         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81313         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81314         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81315         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81316         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81317         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81318         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81319         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81320         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81321         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81322         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81323         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81325         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81326         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81327         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81328         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81329         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81330         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81331         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81332         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81333         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81334         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81335         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81336         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81337         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81338         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81339         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81340         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81341         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81342         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81343         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81344         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81345         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81346         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81347         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81348         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81349         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81350         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81351         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81352         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81353         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81354         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81355         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81356         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81357         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81358         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81359         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81360         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81361         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81362         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81363         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81364         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81365         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81366         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81367         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81368         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81369         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81370         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81371         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
81372         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81373         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81374         (__isnanf): Likewise.
81375         (__isinf_ns): Likewise.
81376         (__isinf_nsf): Likewise.
81377         (__finite): Likewise.
81378         (__finitef): Likewise.
81379         (__ieee754_sqrt): Define as macro.
81380         (__ieee754_sqrtf): Define as macro.
81381         (__ieee754_sqrtl): Define as macro.
81382         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81383         inlined copy.
81384         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81385         __FINITE_MATH_ONLY__ consistent.
81386         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81388 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
81390         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81391         of rawmemchr.
81393         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81395 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
81397         * po/ja.po: Update from translation team.
81399 2011-10-08  Roland McGrath  <roland@hack.frob.com>
81401         * locale/programs/locarchive.c (prepare_address_space): New function.
81402         (create_archive, enlarge_archive, open_archive): Use it.
81404         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81405         inside [SHARED], where it is used.
81407         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81409         * nss/getent.c (netgroup_keys): Remove unused variable.
81410         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81412 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
81414         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81415         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81416         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81417         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81418         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81419         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81420         * math/Makefile (libm-calls): Add s_isinf_ns.
81421         * math/divtc3.c: Use __isinf_nsl instead of isinf.
81422         * math/multc3.c: Likewise.
81423         * math/s_casin.c: Likewise.
81424         * math/s_casinf.c: Likewise.
81425         * math/s_casinl.c: Likewise.
81426         * math/s_ccos.c: Likewise.
81427         * math/s_ccosf.c: Likewise.
81428         * math/s_ccosl.c: Likewise.
81429         * math/s_ctan.c: Likewise.
81430         * math/s_ctanf.c: Likewise.
81431         * math/s_ctanh.c: Likewise.
81432         * math/s_ctanhf.c: Likewise.
81433         * math/s_ctanhl.c: Likewise.
81434         * math/s_ctanl.c: Likewise.
81435         * math/w_fmod.c: Likewise.
81436         * math/w_fmodf.c: Likewise.
81437         * math/w_fmodl.c: Likewise.
81438         * math/w_remainder.c: Likewise.
81439         * math/w_remainderf.c: Likewise.
81440         * math/w_remainderl.c: Likewise.
81441         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81442         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81443         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81444         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81445         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81446         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81447         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81448         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81450         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81451         of the number.
81452         * stdio-common/printf_fphex.c: Likewise.
81453         * stdio-common/printf_size.c: Likewise.
81455         * math/e_exp10.c: Include math_private.h using <...> not "...".
81456         * math/e_exp10f.c: Likewise.
81457         * math/e_exp10l.c: Likewise.
81458         * math/e_exp2l.c: Likewise.
81459         * math/e_j0l.c: Likewise.
81460         * math/e_j1l.c: Likewise.
81461         * math/e_jnl.c: Likewise.
81462         * math/e_lgammal_r.c: Likewise.
81463         * math/e_rem_pio2l.c: Likewise.
81464         * math/e_scalb.c: Likewise.
81465         * math/e_scalbf.c: Likewise.
81466         * math/e_scalbl.c: Likewise.
81467         * math/k_cosl.c: Likewise.
81468         * math/k_sinl.c: Likewise.
81469         * math/k_tanl.c: Likewise.
81470         * math/s_cacoshf.c: Likewise.
81471         * math/s_catan.c: Likewise.
81472         * math/s_catanf.c: Likewise.
81473         * math/s_catanh.c: Likewise.
81474         * math/s_catanhf.c: Likewise.
81475         * math/s_catanhl.c: Likewise.
81476         * math/s_catanl.c: Likewise.
81477         * math/s_ccosh.c: Likewise.
81478         * math/s_ccoshf.c: Likewise.
81479         * math/s_ccoshl.c: Likewise.
81480         * math/s_cexp.c: Likewise.
81481         * math/s_cexpf.c: Likewise.
81482         * math/s_cexpl.c: Likewise.
81483         * math/s_clog.c: Likewise.
81484         * math/s_clog10.c: Likewise.
81485         * math/s_clog10f.c: Likewise.
81486         * math/s_clog10l.c: Likewise.
81487         * math/s_clogf.c: Likewise.
81488         * math/s_clogl.c: Likewise.
81489         * math/s_csin.c: Likewise.
81490         * math/s_csinf.c: Likewise.
81491         * math/s_csinh.c: Likewise.
81492         * math/s_csinhf.c: Likewise.
81493         * math/s_csinhl.c: Likewise.
81494         * math/s_csinl.c: Likewise.
81495         * math/s_csqrt.c: Likewise.
81496         * math/s_csqrtf.c: Likewise.
81497         * math/s_csqrtl.c: Likewise.
81498         * math/s_ctan.c: Likewise.
81499         * math/s_ctanf.c: Likewise.
81500         * math/s_ctanh.c: Likewise.
81501         * math/s_ctanhf.c: Likewise.
81502         * math/s_ctanhl.c: Likewise.
81503         * math/s_ctanl.c: Likewise.
81504         * math/s_ldexp.c: Likewise.
81505         * math/s_ldexpf.c: Likewise.
81506         * math/s_ldexpl.c: Likewise.
81507         * math/s_significand.c: Likewise.
81508         * math/s_significandf.c: Likewise.
81509         * math/s_significandl.c: Likewise.
81510         * math/w_acos.c: Likewise.
81511         * math/w_acosf.c: Likewise.
81512         * math/w_acosh.c: Likewise.
81513         * math/w_acoshf.c: Likewise.
81514         * math/w_acoshl.c: Likewise.
81515         * math/w_acosl.c: Likewise.
81516         * math/w_asin.c: Likewise.
81517         * math/w_asinf.c: Likewise.
81518         * math/w_asinl.c: Likewise.
81519         * math/w_atan2.c: Likewise.
81520         * math/w_atan2f.c: Likewise.
81521         * math/w_atan2l.c: Likewise.
81522         * math/w_atanh.c: Likewise.
81523         * math/w_atanhf.c: Likewise.
81524         * math/w_atanhl.c: Likewise.
81525         * math/w_cosh.c: Likewise.
81526         * math/w_coshf.c: Likewise.
81527         * math/w_coshl.c: Likewise.
81528         * math/w_dremf.c: Likewise.
81529         * math/w_exp10.c: Likewise.
81530         * math/w_exp10f.c: Likewise.
81531         * math/w_exp10l.c: Likewise.
81532         * math/w_exp2.c: Likewise.
81533         * math/w_exp2f.c: Likewise.
81534         * math/w_fmod.c: Likewise.
81535         * math/w_fmodf.c: Likewise.
81536         * math/w_fmodl.c: Likewise.
81537         * math/w_hypot.c: Likewise.
81538         * math/w_hypotf.c: Likewise.
81539         * math/w_hypotl.c: Likewise.
81540         * math/w_j0.c: Likewise.
81541         * math/w_j0f.c: Likewise.
81542         * math/w_j0l.c: Likewise.
81543         * math/w_j1.c: Likewise.
81544         * math/w_j1f.c: Likewise.
81545         * math/w_j1l.c: Likewise.
81546         * math/w_jn.c: Likewise.
81547         * math/w_jnf.c: Likewise.
81548         * math/w_jnl.c: Likewise.
81549         * math/w_lgamma.c: Likewise.
81550         * math/w_lgamma_r.c: Likewise.
81551         * math/w_lgammaf.c: Likewise.
81552         * math/w_lgammaf_r.c: Likewise.
81553         * math/w_lgammal.c: Likewise.
81554         * math/w_lgammal_r.c: Likewise.
81555         * math/w_log.c: Likewise.
81556         * math/w_log10.c: Likewise.
81557         * math/w_log10f.c: Likewise.
81558         * math/w_log10l.c: Likewise.
81559         * math/w_log2.c: Likewise.
81560         * math/w_log2f.c: Likewise.
81561         * math/w_log2l.c: Likewise.
81562         * math/w_logf.c: Likewise.
81563         * math/w_logl.c: Likewise.
81564         * math/w_pow.c: Likewise.
81565         * math/w_powf.c: Likewise.
81566         * math/w_powl.c: Likewise.
81567         * math/w_remainder.c: Likewise.
81568         * math/w_remainderf.c: Likewise.
81569         * math/w_remainderl.c: Likewise.
81570         * math/w_scalb.c: Likewise.
81571         * math/w_scalbf.c: Likewise.
81572         * math/w_scalbl.c: Likewise.
81573         * math/w_sinh.c: Likewise.
81574         * math/w_sinhf.c: Likewise.
81575         * math/w_sinhl.c: Likewise.
81576         * math/w_sqrt.c: Likewise.
81577         * math/w_sqrtf.c: Likewise.
81578         * math/w_sqrtl.c: Likewise.
81579         * math/w_tgamma.c: Likewise.
81580         * math/w_tgammaf.c: Likewise.
81581         * math/w_tgammal.c: Likewise.
81583         * po/ja.po: Update from translation team.
81585 2011-09-29  Andreas Jaeger  <aj@suse.de>
81587         [BZ #13179]
81588         * sunrpc/netname.c (netname2host): Fix logic.
81590         [BZ #6779]
81591         [BZ #6783]
81592         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81593         correctly.
81594         * math/w_remainder.c (__remainder): Likewise.
81595         * math/w_remainderf.c (__remainderf): Likewise.
81596         * math/libm-test.inc (remainder_test): Add test cases.
81598 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
81600         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
81601         sdiv_qrnnd.
81603 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81605         * string/test-memcmp.c: Avoid unncessary #defines.
81606         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81608 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81610         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81611         Use new sse2 version for core i3 - i7 as it's faster
81612         than sse42 version.
81613         (bit_Prefer_PMINUB_for_stringop): New.
81614         * sysdeps/x86_64/rawmemchr.S: Update.
81615         Replace with faster SSE2 version.
81616         * sysdeps/x86_64/memrchr.S: New file.
81617         * sysdeps/x86_64/memchr.S: Update.
81618         Replace with faster SSE2 version.
81620 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
81622         * elf/dl-load.c (lose): Add cast to avoid warning.
81624 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
81626         * po/ca.po: Update from translation team.
81628         * inet/getnetgrent_r.c: Hook up nscd.
81629         * nscd/Makefile (routines): Add nscd_netgroup.
81630         (nscd-modules): Add netgroupcache.
81631         (CFLAGS-netgroupcache.c): Define.
81632         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81633         (cache_search): Add const to second parameter.
81634         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81635         INNETGR.
81636         (dbs): Add netgrdb entry.
81637         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81638         (verify_persistent_db): Handle netgrdb.
81639         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81640         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81641         GETFDNETGR.
81642         (netgroup_response_header): Define.
81643         (innetgroup_response_header): Define.
81644         (datahead): Add netgroup_response_header and innetgroup_response_header
81645         elements.
81646         * nscd/nscd.conf: Add entries for netgroup cache.
81647         * nscd/nscd.h (dbtype): Add netgrdb.
81648         (_PATH_NSCD_NETGROUP_DB): Define.
81649         (netgroup_iov_disabled): Declare.
81650         (xmalloc, xcalloc, xrealloc): Move declarations here.
81651         (cache_search): Adjust prototype.
81652         Add netgroup-related prototypes.
81653         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81654         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81655         (__nscd_innetgr): Declare.
81656         * nscd/selinux.c (perms): Use access_vector_t as element type and
81657         add netgroup-related initializers.
81658         * nscd/netgroupcache.c: New file.
81659         * nscd/nscd_netgroup.c: New file.
81660         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81661         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81662         For four parameters use innetgr.
81663         * nss/nss_files/files-init.c: Add definition and callback for netgr.
81664         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81665         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81666         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81668         * nscd/connections.c (register_traced_file): Don't register file
81669         for disabled databases.
81671 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
81673         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81675         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81676         from tree and freeing node.
81678 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
81680         * nss/nsswitch.c (__nss_database_lookup): Handle
81681         nss_parse_service_list out of memory case.
81683 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
81685         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81686         out of memory case.
81688 2011-10-04  Andreas Schwab  <schwab@redhat.com>
81690         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81691         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81692         pass it down.
81693         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81694         elf_machine_rela, elf_machine_lazy_rel.
81695         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81696         (ELF_DYNAMIC_DO_REL): Likewise.
81697         (ELF_DYNAMIC_DO_RELA): Likewise.
81698         (ELF_DYNAMIC_RELOCATE): Likewise.
81699         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81700         to ELF_DYNAMIC_DO_REL.
81701         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81702         (dl_main): In trace mode always set __RTLD_NOIFUNC.
81703         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81704         elf_machine_rela.
81705         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81706         skip_ifunc, don't call ifunc function if non-zero.
81707         (elf_machine_rela): Likewise.
81708         (elf_machine_lazy_rel): Likewise.
81709         (elf_machine_lazy_rela): Likewise.
81710         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81711         (elf_machine_lazy_rel): Likewise.
81712         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81713         Likewise.
81714         (elf_machine_lazy_rel): Likewise.
81715         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81716         Likewise.
81717         (elf_machine_lazy_rel): Likewise.
81718         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81719         (elf_machine_lazy_rel): Likewise.
81720         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81721         (elf_machine_lazy_rel): Likewise.
81722         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81723         (elf_machine_lazy_rel): Likewise.
81724         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81725         (elf_machine_lazy_rel): Likewise.
81726         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81727         (elf_machine_lazy_rel): Likewise.
81728         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81729         (elf_machine_lazy_rel): Likewise.
81731 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
81733         * nss/nss_files/files-init.c (_nss_files_init): Use static
81734         initialization for all the *_traced_file variables.
81736 2011-09-28  Andreas Schwab  <schwab@redhat.com>
81738         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81740 2011-09-27  Roland McGrath  <roland@hack.frob.com>
81742         [BZ #13226]
81743         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81745 2011-09-27  Andreas Schwab  <schwab@redhat.com>
81747         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81748         Reread the line before reparsing it.
81750 2011-09-26  Andreas Schwab  <schwab@redhat.com>
81752         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81754 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
81755             Maxim Kuvyrkov  <maxim@codesourcery.com>
81756             Joseph Myers  <joseph@codesourcery.com>
81758         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81759         if needed for __stack_chk_guard.
81761 2011-09-19  Roland McGrath  <roland@hack.frob.com>
81763         * sysdeps/posix/spawni.c (script_execute): Always define it.
81764         It will be optimized away if unused.
81765         (maybe_script_execute): New function.
81766         (__spawni): Call it.
81768         * Makerules: Don't include tls.make.
81769         (config-tls): Always set to thread.
81770         * tls.make.c: File removed.
81772 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
81774         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81775         * config.make.in (CPPFLAGS-config): New substituted variable.
81777 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81779         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81781         [BZ #13192]
81782         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81783         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81785 2011-09-15  Roland McGrath  <roland@hack.frob.com>
81787         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81788         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81789         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81790         (CALL_FAIL): Likewise.
81791         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81792         (CALL_FAIL): Macro removed.
81793         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81795 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
81797         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81798         for __FINITE_MATH_ONLY__ == 1.
81800 2011-09-15  Andreas Schwab  <schwab@redhat.com>
81802         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81803         __ieee754_sqrt instead of sqrt.
81804         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81805         __ieee754_sqrtf instead of sqrtf.
81806         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81807         __floorf instead of floorf.
81808         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81809         __floorf, __truncf instead of floorf, truncf.
81811 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
81813         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81815         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81816         __extern_always_inline.
81817         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81818         32-bit.
81820 2011-09-14  Andreas Schwab  <schwab@redhat.com>
81822         * elf/rtld.c (dl_main): Also relocate in dependency order when
81823         doing symbol dependency testing.
81825 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
81827         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81828         Always define `refsym'.
81830 2011-09-13  Andreas Schwab  <schwab@redhat.com>
81832         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81833         (__FD_ELT): Renamed from __FDELT.
81834         * misc/bits/select2.h (__FD_ELT): Likewise.
81835         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81836         __FD_MASK instead of __FDELT, __FDMASK.
81837         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81838         Likewise.
81839         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81840         Likewise.
81842         * elf/Makefile (gen-ldd): Fix pattern.
81844         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81845         (init_tls): Likewise.
81847 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
81849         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81851 2011-09-12  Andreas Schwab  <schwab@redhat.com>
81853         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81854         `struct cmsghdr *' instead of `void *'.
81855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81856         Likewise.
81858 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
81860         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81861         if non-absolute.
81862         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81863         ldd_rewrite_script.
81865 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
81867         * configure.in: Remove --with-tls option.
81868         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81869         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81870         out in case it is missing.
81871         * sysdeps/ia64/elf/configure.in: Likewise.
81872         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81873         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81874         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81875         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81876         * sysdeps/sh/elf/configure.in: Likewise.
81877         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81878         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81879         * sysdeps/x86_64/elf/configure.in: Likewise.
81880         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81881         * sysdeps/mach/hurd/tls.h: Likewise.
81883         [BZ #13067]
81884         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81886         [BZ #13090]
81887         * configure.in: Fix use of AC_INIT.
81889         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81891 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
81893         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81894         __set_errno.
81895         * malloc/hooks.c: Likewise.
81897         [BZ #11929]
81898         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
81899         variables statically.
81900         (narenas): Initialize.
81901         (list_lock): Initialize.
81902         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
81903         initializtion of main_arena and list_lock.  Small cleanups.
81904         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81905         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
81906         Add initializers to main_arena and mp_.
81907         (malloc_state): Remove pagesize member.  Change all users to use
81908         GLRO(dl_pagesize).
81910         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81911         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
81912         is always initialized.
81914         * malloc/malloc.c: Removed unused configurations and dead code.
81915         * malloc/arena.c: Likewise.
81916         * malloc/hooks.c: Likewise.
81917         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81919         * include/tls.h: Removed.  USE___THREAD must always be defined.
81920         * bits/libc-tsd.h: Don't handle !USE___THREAD.
81921         * elf/dl-libc.c: Likewise.
81922         * elf/dl-tsd.c: Likewise.
81923         * include/errno.h: Likewise.
81924         * include/netdb.h: Likewise.
81925         * include/resolv.h: Likewise.
81926         * inet/herrno-loc.c: Likewise.
81927         * inet/herrno.c: Likewise.
81928         * malloc/arena.c: Likewise.
81929         * malloc/hooks.c: Likewise.
81930         * malloc/malloc.c: Likewise.
81931         * resolv/res-state.c: Likewise.
81932         * resolv/res_libc.c: Likewise.
81933         * sysdeps/i386/dl-machine.h: Likewise.
81934         * sysdeps/ia64/dl-machine.h: Likewise.
81935         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81936         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81937         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81938         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81939         * sysdeps/sh/dl-machine.h: Likewise.
81940         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81941         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81942         * sysdeps/unix/i386/sysdep.S: Likewise.
81943         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81944         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81945         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81946         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81947         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81948         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81949         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81950         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81951         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81952         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81953         * sysdeps/unix/x86_64/sysdep.S: Likewise.
81954         * sysdeps/x86_64/dl-machine.h: Likewise.
81955         * tls.make.c: Likewise.
81957         * configure.in: Remove --with-__thread option.  Make tests for
81958         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81959         tls_model attribute fail if no support is available.  Remove
81960         USE_IN_LIBIO.
81961         * Makeconfig: Adjust for dropped configure option.  All features are
81962         now mandatory.
81963         * Makerules: Likewise.
81964         * Versions.def: Likewise.
81965         * argp/argp-fmtstream.c: Likewise.
81966         * argp/argp-fmtstream.h: Likewise.
81967         * argp/argp-help.c: Likewise.
81968         * assert/assert.c: Likewise.
81969         * config.h.in: Likewise.
81970         * config.make.in: Likewise.
81971         * configure: Likewise.
81972         * configure.in: Likewise.
81973         * csu/Versions: Likewise.
81974         * csu/init.c: Likewise.
81975         * elf/tst-audit2.c: Likewise.
81976         * elf/tst-tls10.c: Likewise.
81977         * elf/tst-tls10.h: Likewise.
81978         * elf/tst-tls11.c: Likewise.
81979         * elf/tst-tls12.c: Likewise.
81980         * elf/tst-tls14.c: Likewise.
81981         * elf/tst-tlsmod11.c: Likewise.
81982         * elf/tst-tlsmod12.c: Likewise.
81983         * elf/tst-tlsmod13.c: Likewise.
81984         * elf/tst-tlsmod13a.c: Likewise.
81985         * elf/tst-tlsmod14a.c: Likewise.
81986         * elf/tst-tlsmod15b.c: Likewise.
81987         * elf/tst-tlsmod16a.c: Likewise.
81988         * elf/tst-tlsmod16b.c: Likewise.
81989         * elf/tst-tlsmod7.c: Likewise.
81990         * elf/tst-tlsmod8.c: Likewise.
81991         * elf/tst-tlsmod9.c: Likewise.
81992         * gmon/gmon.c: Likewise.
81993         * grp/fgetgrent_r.c: Likewise.
81994         * grp/putgrent.c: Likewise.
81995         * hurd/fopenport.c: Likewise.
81996         * include/libc-symbols.h: Likewise.
81997         * include/tls.h: Likewise.
81998         * intl/gettextP.h: Likewise.
81999         * intl/loadinfo.h: Likewise.
82000         * locale/global-locale.c: Likewise.
82001         * locale/localeinfo.h: Likewise.
82002         * mach/devstream.c: Likewise.
82003         * malloc/arena.c: Likewise.
82004         * malloc/set-freeres.c: Likewise.
82005         * misc/err.c: Likewise.
82006         * misc/getttyent.c: Likewise.
82007         * misc/mntent_r.c: Likewise.
82008         * posix/getopt.c: Likewise.
82009         * posix/wordexp.c: Likewise.
82010         * pwd/fgetpwent_r.c: Likewise.
82011         * resolv/Versions: Likewise.
82012         * resolv/res_hconf.c: Likewise.
82013         * shadow/fgetspent_r.c: Likewise.
82014         * shadow/putspent.c: Likewise.
82015         * stdio-common/printf_fphex.c: Likewise.
82016         * stdio-common/tmpfile.c: Likewise.
82017         * stdlib/abort.c: Likewise.
82018         * stdlib/fmtmsg.c: Likewise.
82019         * sunrpc/auth_unix.c: Likewise.
82020         * sunrpc/clnt_perr.c: Likewise.
82021         * sunrpc/clnt_tcp.c: Likewise.
82022         * sunrpc/clnt_udp.c: Likewise.
82023         * sunrpc/clnt_unix.c: Likewise.
82024         * sunrpc/openchild.c: Likewise.
82025         * sunrpc/svc_simple.c: Likewise.
82026         * sunrpc/svc_tcp.c: Likewise.
82027         * sunrpc/svc_udp.c: Likewise.
82028         * sunrpc/svc_unix.c: Likewise.
82029         * sunrpc/xdr.c: Likewise.
82030         * sunrpc/xdr_array.c: Likewise.
82031         * sunrpc/xdr_rec.c: Likewise.
82032         * sunrpc/xdr_ref.c: Likewise.
82033         * sunrpc/xdr_stdio.c: Likewise.
82035 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82037         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
82039 2011-07-03  Andreas Jaeger  <aj@suse.de>
82041         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
82042         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
82043         regenerate with gen-libm-tests.pl.
82045 2010-05-12  Petr Baudis  <pasky@suse.cz>
82047         [BZ #11589]
82048         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
82049         around j0() zero points by switching to j1().
82050         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
82051         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
82052         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
82053         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
82055 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82057         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
82058         instead of 0.
82059         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
82060         instead of 0.
82061         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
82062         Patch in part by Pavel Roskin <proski@gnu.org>.
82064         [BZ #13138]
82065         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
82066         realloc.
82067         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
82068         Free memory block if necessary.
82070         [BZ #12847]
82071         * libio/genops.c (INTDEF): For string streams the _lock pointer can
82072         be NULL.  Don't lock in this case.
82074 2011-09-09  Roland McGrath  <roland@hack.frob.com>
82076         * elf/elf.h (ELFOSABI_GNU): New macro.
82077         (ELFOSABI_LINUX): Define to that.
82079 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
82081         * string/strncat.c (strncat): Undef the symbol in case it has been
82082         defined in bits/string.h.
82084 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
82086         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82088         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82089         link map.
82091 2011-08-17  Andreas Jaeger  <aj@suse.de>
82093         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82095 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
82096             Ian Lance Taylor  <iant@google.com>
82098         * math/libm-test.inc (lround_test): New testcase.
82099         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82101 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
82103         * Makefile: Remove support for automatic cvs check-ins.
82104         * Makerules: Likewise.
82105         * config.make.in: Likewise.
82106         * configure.in: Likewise.
82107         * intl/Makefile: Likewise.
82108         * locale/Makefile: Likewise.
82109         * po/Makefile: Likewise.
82110         * posix/Makefile: Likewise.
82111         * sysdeps/gnu/Makefile: Likewise.
82112         * sysdeps/mach/hurd/Makefile: Likewise.
82113         * sysdeps/sparc/sparc32/Makefile: Likewise.
82115         [BZ #13118]
82116         * posix/Makefile (bug-regex32-ENV): Define.
82117         Patch by John Stanley <jpsinthemix@verizon.net>.
82119         * misc/Makefile (headers): Add bits/select2.h.
82120         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82121         * misc/bits/select2.h: New file.
82122         * include/bits/select2.h: New file.
82123         * debug/Makefile (routines): Add fdelt_chk.
82124         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82125         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82126         FD_ISSET.
82127         * debug/fdelt_chk.c: New file.
82129         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
82130         * wcsmbs/test-wmemcmp.c: Likewise.
82131         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82132         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82134 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82136         * string/Makefile (strop-tests): Add memcmp.
82137         * string/test-wmemcmp.c: New file.
82138         * string/test-memcmp.c: Add wmemcmp support.
82140 2011-09-08  Roland McGrath  <roland@hack.frob.com>
82142         [BZ #13153]
82143         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
82144         2011-07-19 change.
82146         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
82147         garbage value in a __mach_port_mod_refs call in the cases of the
82148         task-self and thread-self ports.
82150 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82152         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
82154 2011-09-08  Andreas Schwab  <schwab@redhat.com>
82156         * elf/dl-load.c (lose): Check for non-null L.
82158 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
82160         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
82162         * elf/dl-libc.c (dlerror_run): Pass back error code from
82163         dl_catch_error.
82165         [BZ #13123]
82166         * elf/dl-load.c (lose): Free l_origin if it is valid.
82168         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
82169         names.
82170         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
82171         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82172         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82173         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82174         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
82175         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
82177 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82179         * sysdeps/powerpc/fpu/e_hypot.c: New file.
82180         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
82181         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
82182         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
82183         * sysdeps/powerpc/fpu/k_cosf.c: New file.
82184         * sysdeps/powerpc/fpu/k_sinf.c: New file.
82185         * sysdeps/powerpc/fpu/s_cosf.c: New file.
82186         * sysdeps/powerpc/fpu/s_sinf.c: New file.
82187         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
82188         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
82190 2011-08-15  Alan Modra  <amodra@gmail.com>
82192         [BZ #13092]
82193         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
82194         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
82195         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
82196         ppc_mcount to static-only-routines.
82197         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
82198         __mcount_internal.
82199         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
82200         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
82202 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
82204         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
82205         for finite and infinity parameters.
82207 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
82209         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
82210         and add nop instructions for throughput optimization.
82211         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82213 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
82215         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
82216         aligned copy for power7 with vector-scalar instructions.
82217         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
82219 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
82221         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
82222         AVX check.
82224 2011-09-07  Andreas Schwab  <schwab@redhat.com>
82226         [BZ #13144]
82227         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
82228         last change.
82230 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
82232         * sysdeps/unix/sysv/linux/x86_64/init-first.c
82233         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
82234         syscall wrapper around clock_gettime in __vdso_clock_gettime.
82235         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
82236         clock_gettime.
82238 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
82240         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
82241         Forgot to demangle the pointer.
82243         * sysdeps/i386/sysdep.h: Define atom_text_section.
82244         * sysdeps/x86_64/sysdep.h: Likewise.
82245         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
82246         section with atom_text_section.
82247         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82248         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82249         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
82250         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82251         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
82253         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
82254         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
82255         already be defined.  Change to take two parameters and don't assign
82256         result to variable.  Adjust all users.
82257         Define INTERNAL_GETTIME if not already defined.
82258         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
82259         call.
82260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
82261         HAVE_CLOCK_GETTIME_VSYSCALL.
82262         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
82264         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
82265         gettimeofday vsyscall, just use time.
82267 2011-09-06  Andreas Schwab  <schwab@redhat.com>
82269         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
82270         <errno.h>.
82272 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
82274         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
82275         syscall on x86-64.
82276         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
82277         syscall.
82278         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
82279         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
82280         syscall if possible.
82282 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82284         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
82285         e_ident.  Don't pass to find_mapsXX.
82286         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
82288 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82290         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82291         strchr-sse2-no-bsf strrchr-sse2-no-bsf
82292         * sysdeps/x86_64/multiarch/strchr.S: Update.
82293         Check bit_slow_BSF bit.
82294         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
82295         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
82296         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
82298 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82300         [BZ #13134]
82301         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
82302         before glibc 2.15.
82303         (tryshell): Define.
82304         (__spawni): Change last parameter to be flag.  Test
82305         SPAWN_XFLAGS_USE_PATH flag to use path or not.
82306         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
82307         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82308         * posix/spawni.c: Likewise.
82309         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82310         * posix/spawnp.c: Likewise.  Change normal version to use
82311         SPAWN_XFLAGS_USE_PATH.
82312         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82313         SPAWN_XFLAGS_TRY_SHELL.
82315         [BZ #13150]
82316         * posix/glob.h: Remove gcc 1.x support.
82318         [BZ #13068]
82319         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82321 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82323         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82324         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82325         strrchr-sse2-bsf
82326         * sysdeps/i386/i686/multiarch/strchr.S: New file.
82327         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82328         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82329         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82330         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82331         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82333 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82335         * sysdeps/x86_64/wcscmp.S: New file.
82337         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82338         wcscmp-c wcscmp-sse2
82339         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82340         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82341         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82342         * wcsmbs/wcscmp.c: Allow renaming.
82344 2011-09-05  David S. Miller  <davem@davemloft.net>
82346         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82347         stack slot, rather than the struct return pointer slot.
82348         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82349         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82351         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
82355         * po/ja.po: Update from translation team.
82357         [BZ #13144]
82358         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82359         kernel in 64-bit binaries.
82361 2011-09-01  David S. Miller  <davem@davemloft.net>
82363         * elf/elf.h (HWCAP_SPARC_*): Move to..
82364         * sysdeps/sparc/sysdep.h: this new file and add new values.
82365         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82366         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82367         _DL_HWCAP_COUNT to 24.
82368         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82369         entries.
82370         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82371         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82372         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82373         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82374         instead of magic constants.
82375         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82377 2011-08-31  David S. Miller  <davem@davemloft.net>
82379         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82380         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82381         Reimplement to do errno handling inline.
82382         (SYSCALL_ERROR_HANDLER): New macro.
82383         (__SYSCALL_STRING): Do not do errno handling in asm.
82384         (__CLONE_SYSCALL_STRING): Delete.
82385         (__INTERNAL_SYSCALL_STRING): Delete.
82386         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82387         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82388         (PSEUDO): Reimplement to do errno handling inline.
82389         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82390         (SYSCALL_ERROR_HANDLER): New macro.
82391         (__SYSCALL_STRING): Do not do errno handling in asm.
82392         (__CLONE_SYSCALL_STRING): Delete.
82393         (__INTERNAL_SYSCALL_STRING): Delete.
82394         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82395         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82396         i386.
82397         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82398         (inline_syscall*): Add 'err' argument.
82399         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82400         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82401         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82402         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82404         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82405         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82407 2011-08-30  Andreas Schwab  <schwab@redhat.com>
82409         * elf/rtld.c (dl_main): Relocate objects in dependency order.
82411 2011-08-29  Jiri Olsa <jolsa@redhat.com>
82413         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82414         directive.
82416 2011-08-24  David S. Miller  <davem@davemloft.net>
82418         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82420 2011-08-24  Andreas Schwab  <schwab@redhat.com>
82422         * elf/Makefile: Add rules to build and run unload8 test.
82423         * elf/unload8.c: New file.
82424         * elf/unload8mod1.c: New file.
82425         * elf/unload8mod1x.c: New file.
82426         * elf/unload8mod2.c: New file.
82427         * elf/unload8mod3.c: New file.
82429         * elf/dl-close.c (_dl_close_worker): Reset private search list if
82430         it wasn't used.
82432 2011-08-23  David S. Miller  <davem@davemloft.net>
82434         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82435         subtract stack bias.
82436         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82437         %sp not %fp in calculations.
82438         (_JMPBUF_UNWINDS_ADJ): Likewise.
82440         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82441         (aio_suspend): Call it to force an exception region around the
82442         AIO_MISC_WAIT() invocation.
82444 2011-08-23  Andreas Schwab  <schwab@redhat.com>
82446         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82447         backslash.
82449 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
82451         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82452         protection macro.
82453         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82454         and <dl-machine.h>.
82455         (Elf64_FuncDesc): Remove.
82457 2011-08-22  David S. Miller  <davem@davemloft.net>
82459         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82460         sigaltstack check, add missing cfi directives.
82461         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82462         missing cfi directives, and sigaltstack handling.
82464 2011-08-16  Andreas Schwab  <schwab@redhat.com>
82466         [BZ #11724]
82467         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82468         object is seen twice.
82469         * elf/dl-fini.c (_dl_sort_fini): Likewise.
82471         * elf/Makefile (distribute): Add tst-initorder2.c.
82472         (tests): Add tst-initorder2.
82473         (modules-names): Add tst-initorder2a tst-initorder2b
82474         tst-initorder2c tst-initorder2d.  Add rules to build them.
82475         ($(objpfx)tst-initorder2.out): New rule.
82476         * elf/tst-initorder2.c: New file.
82477         * elf/tst-initorder2.exp: New file.
82479 2011-08-22  Andreas Schwab  <schwab@redhat.com>
82481         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82483         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82484         dependencies back to end of function.
82486         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82487         $(elfobjdir)/ld.so.
82489 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
82491         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82492         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82493         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82494         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82495         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82496         of __vdso_gettimeofday.
82497         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82498         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
82499         attribute_hidden.
82500         (_libc_vdso_platform_setup): Remove initialization of
82501         __vdso_gettimeofday and __vdso_time.
82503 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82505         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82506         and fgetc_unlocked.
82507         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82508         getc_unlocked.
82510         * elf/dl-open.c (add_to_global): Report additions to the global scope
82511         for LD_DEBUG=scopes.
82512         (dl_open_worker): Also print scope of newly loaded dependencies.
82513         (_dl_show_scope): Indicate if there is no scope.
82515         [BZ #13114]
82516         * stdio-common/Makefile (tests): Add bug24.
82517         * stdio-common/bug24.c: New file.
82519 2011-08-19  Andreas Jaeger  <aj@suse.de>
82521         [BZ #13114]
82522         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82523         non-existant file when using close-on-exec mode.
82525 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
82527         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82528         the very first instruction.
82530         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82531         the CFI state in the end.
82532         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82533         inclusion of dl-trampoline.h.
82534         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82536 2011-08-19  Andreas Schwab  <schwab@redhat.com>
82538         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82539         expectations for long double.
82541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82542         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82544 2011-08-14  David S. Miller  <davem@davemloft.net>
82546         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82547         artificual limit depends upon the system page size.
82549 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82551         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82552         * resolv/Makefile: Define CFLAGS-libresolv.
82554 2011-08-17  Andreas Schwab  <schwab@redhat.com>
82556         * nss/makedb.c (compute_tables): Make variables used in nested
82557         function static.
82559 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
82561         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82562         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82563         if buffer was too small.
82565         * elf/pldd.c (main): Attach to all threads in the process.
82566         Rewrite /proc handling to use *at functions.
82568 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
82570         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82571         specifies first scope to show.
82572         (dl_open_worker): Update callers.  Move printing scope of new
82573         object to before the relocation.
82574         * elf/rtld.c (dl_main): Update _dl_show_scope call.
82575         * sysdeps/generic/ldsodefs.h: Update declaration.
82577         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82578         string for the scope number.
82580 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
82582         * nscd/servicescache.c (cache_addserv): Make sure written is always
82583         initialized.
82585 2011-08-14  Roland McGrath  <roland@hack.frob.com>
82587         * sysdeps/i386/i486/bits/atomic.h
82588         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82589         statement expression, so as to suppress "set but not used" warning.
82590         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82592         * string/strncat.c (STRNCAT): Use prototype definition.
82594         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82595         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82596         -Iprograms here.
82597         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82598         (localedef-modules): Add localedef.
82599         (locale-modules): Add locale.
82601         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82602         * elf/rtld.c (dl_main): Invert order of assignment in last change,
82603         to avoid a warning.
82605 2011-08-14  David S. Miller  <davem@davemloft.net>
82607         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82608         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82610 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
82612         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82613         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82614         * elf/rtld.c (dl_main): Set l_name of vDSO.
82615         Call _dl_show_scope when DL_DEBUG_SCOPES.
82616         (process_dl_debug): Recognize scopes flag and also set it for all.
82617         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82618         Declare _dl_show_scope.
82620         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82621         (do_dlopen): Pass caller_dlopen to dl_open.
82622         (__libc_dlopen_mode): Initialize caller_dlopen.
82624         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82625         of libc.  Make tolower call locale-independent.  Optimize a bit by
82626         using isdigit instead of isalnum.
82627         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82629 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
82631         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82632         was a dependency or dynamically loaded.
82634 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
82636         * intl/l10nflist.c: Allow architecture-specific pop function.
82637         * sysdeps/x86_64/l10nflist.c: New file.
82639         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82640         classification.
82642 2011-08-10  Andreas Schwab  <schwab@redhat.com>
82644         * include/dirent.h: Add libc_hidden_proto for scandirat and
82645         scandirat64.  Don't declare __scandirat64.
82646         * dirent/scandirat.c: Add libc_hidden_def.
82647         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82648         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82650 2011-08-10  David S. Miller  <davem@davemloft.net>
82652         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82653         enum.
82654         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82655         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82656         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82658 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
82660         * Versions.def [libc]: Add GLIBC_2.15.
82661         * dirent/Makefile (routines): Add scandirat and scandirat64.
82662         * dirent/Versions [libc]: Export scandirat and scandirat64 for
82663         GLIBC_2.15.
82664         * dirent/dirent.h: Declare scandirat and scandirat64.
82665         * dirent/scandirat.c: New file.
82666         * dirent/scandirat64.c: New file.
82667         * sysdeps/wordsize-64/scandirat.c: New file.
82668         * sysdeps/wordsize-64/scandirat64.c: New file.
82669         * dirent/opendir.c: Define opendirat.
82670         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
82671         using scandirat.
82672         * dirent/scandir64.c: Adjust for scandir.c change.
82673         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
82674         __scandirat64, and __scandir_cancel_handler.
82675         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
82676         additional parameter and use openat instead of open (outside of ld.so).
82677         Add new __opendir as wrapper around __opendirat.
82678         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82679         here without requiring old scandirat implementation.
82681 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
82683         * dirent/scandir.c (cancel_handler): Renamed to
82684         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
82685         defined.  Adjust users.
82686         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82687         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82689 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
82691         * string/test-string.h (IMPL): Use __STRING to expand name and then
82692         stringify it.
82694         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
82695         of cleanups.
82697 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82699         * string/Makefile: Update.
82700         (strop-tests): Append strncat.
82701         * string/test-wcscmp.c: New file.
82702         New comprehensive test for wcscmp.
82703         * string/test-strcmp.c: Update.
82704         (WIDE): New define.
82706 2011-07-22  Andreas Schwab  <schwab@redhat.com>
82708         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82709         line.
82711 2011-07-26  Andreas Schwab  <schwab@redhat.com>
82713         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82714         encoding to ACE if AI_IDN.
82716 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
82718         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82719         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82721 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82723         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82724         Fix overflow bug in strncat.
82725         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82727         * string/test-strncat.c: Update.
82728         Add new tests for checking overflow bugs.
82730 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82733         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82734         * sysdeps/i386/i686/multiarch/strcat.S: New file.
82735         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82736         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82737         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82738         * sysdeps/i386/i686/multiarch/strncat.S: New file.
82739         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82740         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82742         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82743         (USE_AS_STRCAT): Define.
82744         Add strcat and strncat support.
82745         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82747 2011-07-25  Andreas Schwab  <schwab@redhat.com>
82749         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82750         __n bigger than INT_MAX+1.
82751         (__strncmp_g): Likewise.
82753 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
82755         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82756         * libio/stido.h: Likewise.
82758         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82759         (AF_NFC): Define.
82760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82761         (AF_NFC): Define.
82763         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82764         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82765         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82766         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82767         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82769         [BZ #13021]
82770         * scripts/test-installation.pl: Don't expect libnss_test1 to be
82771         installed.
82773         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82774         typo.
82775         (_dl_x86_64_save_sse): Likewise.
82777 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
82779         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82780         OSXSAVE.
82781         (_dl_x86_64_save_sse): Likewise.
82783         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82785         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82787 2011-07-21  Andreas Schwab  <schwab@redhat.com>
82789         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82790         change.
82791         (_dl_x86_64_save_sse): Use correct AVX check.
82793 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82795         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82796         bug in strncpy/strncat.
82797         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82799 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
82801         * string/tester.c (test_strcat): Add tests for different alignments
82802         of source and destination.
82803         (test_strncat): Likewise.
82805 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82807         [BZ #12852]
82808         * posix/glob.c (glob): Check passed in values before using them in
82809         expressions to avoid some overflows.
82810         (glob_in_dir): Likewise.
82812         [BZ #13007]
82813         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82814         check for AVX enablement so that we don't crash with old kernels and
82815         new hardware.
82816         * elf/tst-audit4.c: Add same checks here.
82817         * elf/tst-audit6.c: Likewise.
82819         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82821 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
82823         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82825 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
82827         * po/cs.po: Update from translation team.
82828         * po/bg.po: Likewise.
82830 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
82832         * misc/sys/cdefs.h: Add support for const attribute.
82833         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82834         to gnu_dev_{major,minor,makedev} functions.
82836 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
82838         * intl/dcigettext.c (get_output_charset): Add missing bracket.
82840 2011-07-20  Andreas Schwab  <schwab@redhat.com>
82842         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82843         strlen results.
82845 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82847         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82848         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82849         register in order to avoid conflicts with the soft frame pointer
82850         being held in r11 when necessary.
82851         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82852         (INTERNAL_VSYSCALL_NCS): Likewise.
82854 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
82856         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82857         * elf/dl-fini.c (_dl_fini): Adjust caller.
82858         * elf/dl-close.c (_dl_close_worker): Likewise.
82859         * sysdeps/generic/ldsodefs.h: Adjust declaration.
82861 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82863         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82864         "aux_cache->nlibs < 0".
82866         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82867         in the reload-count case.
82869 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
82871         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82872         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82873         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82874         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82875         * sysdeps/x86_64/multiarch/strcat.S: New file.
82876         * sysdeps/x86_64/multiarch/strncat.S: New file.
82877         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82878         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82879         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82880         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82881         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82882         (USE_AS_STRCAT): Define.
82883         Add strcat and strncat support.
82884         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82885         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82886         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82887         * string/strncat.c: Update.
82888         (USE_AS_STRNCAT): Define.
82889         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82890         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82891         and i7.
82892         * sysdeps/x86_64/multiarch/init-arch.h
82893         (bit_Prefer_PMINUB_for_stringop): New.
82894         (index_Prefer_PMINUB_for_stringop): Likewise.
82895         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82896         bit_Prefer_PMINUB_for_stringop.
82898 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82900         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82901         buffer64.
82902         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82903         of casting of buffer.
82904         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82905         buffer32 and buffer64.
82906         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82907         writes instead of casting of buffer.
82908         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82909         buffer32.
82910         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82911         casting of buffer.
82913 2011-07-19  Andreas Schwab  <schwab@redhat.com>
82915         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82917 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
82919         * nscd/nscd.c (termination_handler): Don't do anything for a database
82920         if it has not yet been initialized.
82922 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82924         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82926 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
82928         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82930 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
82932         * po/nl.po: Update from translation team.
82933         * po/sv.po: Likewise.
82935 2011-07-16  Roland McGrath  <roland@hack.frob.com>
82937         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82938         now disallowed by GCC.
82940         * configure.in (use-default-link): Default to yes if a test -shared
82941         link meets our qualifications.
82942         * configure: Regenerated.
82944         * config.make.in (output-format): New variable.
82945         * configure.in: Check for ld --print-output-format support.
82946         * configure: Regenerated.
82947         * Makerules ($(common-objpfx)format.lds)
82948         [$(output-format) != unknown]: Just use $(output-format),
82949         instead of the linker-script munging.
82951 2011-07-14  Roland McGrath  <roland@hack.frob.com>
82953         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82954         of $(common-objpfx)shlib.lds.
82955         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82957         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82958         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82960         * configure.in (-z relro check): Adjust test code to add a large
82961         writable data section after it.
82962         * configure: Regenerated.
82964 2011-07-11  Roland McGrath  <roland@hack.frob.com>
82966         * configure.in (-z relro check): Fix test code to make the variable
82967         truly const.
82968         * configure: Regenerated.
82970 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
82972         * nscd/nscd.h (struct traced_file): Define.
82973         (struct database_dyn): Remove inotify_descr, reset_res, and filename
82974         elements.  Add traced_files.
82975         (inotify_fd): Declare.
82976         (register_traced_file): Declare.
82977         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82978         (inotify_fd): Export.
82979         (resolv_conf_descr): Remove.
82980         (nscd_init): Move inotify descriptor creation to main.
82981         Don't register files for notification here.
82982         (register_traced_file): New function.
82983         (invalidate_cache): Don't use reset_res to determine whether to call
82984         res_init, go through the list of registered files.
82985         (main_loop_poll): The inotify descriptors are now stored in the
82986         structures for the traced files.
82987         (main_loop_epoll): Likewise.
82988         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
82989         to __nss_disable_nscd.
82990         * nscd/cache.c (prune_cache): There is no single inotify descriptor
82991         for a database anymore.  Check the records for all the registered
82992         files instead.
82993         * nss/Makefile (libnss_files-routines): Add files-init.
82994         (libnss_db-routines): Add db-init.
82995         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82996         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82997         * nss/nss_db/db-init.c: New file.
82998         * nss/nss_files/files-init.c: New file.
82999         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
83000         __nss_lookup_function.
83001         (__nss_lookup_function): Call nss_load_library.
83002         (nss_load_all_libraries): New function.
83003         (__nss_disable_nscd): Take parameter with callback function for files
83004         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
83005         used for the cached services.
83006         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
83007         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
83008         options for features to all the files in nscd.
83010         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
83012 2011-07-10  Roland McGrath  <roland@hack.frob.com>
83014         * csu/elf-init.c (__libc_csu_init): Comment typo.
83016 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
83018         * po/pl.po: Update from translation team.
83019         * po/ja.po: Likewise.
83020         * po/ru.po: Likewise.
83021         * po/ko.po: Likewise.
83022         * po/fr.po: Likewise.
83024 2011-07-09  Roland McGrath  <roland@hack.frob.com>
83026         * configure.in (.ctors/.dtors header and trailer check):
83027         Use an empirical test on a built program.
83028         * configure: Regenerated.
83030         * configure.in (-z relro check): Use an empirical test on a built DSO.
83031         Detect, but do not require, on ia64.
83032         * configure: Regenerated.
83034         * configure.in (READELF): Find it with AC_CHECK_TOOL.
83035         Update tests that use readelf to use $READELF instead.
83036         * configure: Regenerated.
83038 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
83040         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
83041         if the result is not used.
83043 2011-07-05  Andreas Jaeger  <aj@suse.de>
83045         [BZ#9696]
83046         * stdlib/tst-strtod.c: Add testcase.
83048 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
83050         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
83051         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
83052         The latter has a higher limit.  Take additional parameter to pass to
83053         the new function.
83054         (__pathconf): Pass file to __statfs_link_max.
83055         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
83056         __statfs_link_max.
83057         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
83058         __statfs_link_max.
83060         [BZ #12868]
83061         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
83062         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
83063         Handle Lustre.
83064         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
83065         (__statfs_filesize_max): Likewise.
83066         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
83068 2011-07-05  Andreas Jaeger  <aj@suse.de>
83070         * resolv/res_comp.c (dn_skipname): Remove unused variable.
83072 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
83074         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
83075         `status' variable.
83076         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83077         Likewise.
83079 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
83081         * Makefile (strop-tests): Add strncat.
83082         * string/test-strncat.c: New file.
83084 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
83086         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83088 2011-06-21  Andreas Jaeger  <aj@suse.de>
83090         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83091         Copy rule from iconvdata/Makefile.
83093 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83095         [BZ #12922]
83096         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83097         but no long options are defined, just return 'W'.
83099 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
83101         [BZ #9696]
83102         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83104 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
83106         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83107         netgroups to read.
83108         (innetgr): Likewise.
83110 2011-07-05  Roland McGrath  <roland@hack.frob.com>
83112         * config.make.in (install_root): Default to $(DESTDIR).
83114 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
83116         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83118 2011-07-02  Roland McGrath  <roland@hack.frob.com>
83120         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83122         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83123         containing directory rather than embedding absolute directory names.
83125         * scripts/check-local-headers.sh: Rewritten using awk.
83126         Match by word, not by line.  Print error messages for matches.
83127         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83129         * Makerules [shlib-lds-flags empty]:
83130         ($(common-objpfx)libc_pic.opts): New target.
83131         ($(common-objpfx)libc_pic.os.clean): New target.
83132         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83134         * config.make.in (OBJCOPY): New variable.
83135         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83136         * configure: Regenerated.
83138         * config.make.in (use-default-link): New variable.
83139         * configure.in (use_default_link): Grok --with-default-link to set it.
83140         * configure: Regenerated.
83141         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
83142         (shlib-lds, shlib-lds-flags): Define to empty.
83144         * Makerules (shlib-lds): New variable.
83145         (shlib-lds-flags): New variable.
83146         (build-shlib, build-moduile, build-module-asneeded): Use it.
83147         ($(common-objpfx)libc.so): Use $(shlib-lds).
83148         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
83149         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
83151         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
83152         DT_FLAGS/DT_FLAGS_1 with zero flags.
83154         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
83155         linker script munging.
83157 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
83159         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
83160         as 128-bit value.
83161         * crypt/sha512.c (sha512_process_block): Perform total addition using
83162         128-bit if possible.
83163         (__sha512_finish_ctx): Likewise.
83164         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
83165         as 64-bit value.
83166         * crypt/sha256.c (SWAP64): Define.
83167         (sha256_process_block): Perform total addition using 64-bit if
83168         possible.
83169         (__sha256_finish_ctx): Likewise.
83171 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
83173         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
83174         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83175         * nscd/hstcache.c (cache_addhst): Likewise.
83176         * nscd/grpcache.c (cache_addgr): Likewise.
83177         * nscd/aicache.c (addhstaiX): Likewise.
83178         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
83180 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
83182         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
83183         * nscd/initgrcache.c (addinitgroupsX): Likewise.
83184         * nscd/hstcache.c (cache_addhst): Likewise.
83185         * nscd/grpcache.c (cache_addgr): Likewise.
83186         * nscd/aicache.c (addhstaiX): Likewise.
83188 2011-07-01  Andreas Schwab  <schwab@redhat.com>
83190         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
83191         domain only when needed.
83193 2011-06-30  Andreas Schwab  <schwab@redhat.com>
83195         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
83196         is always restored.
83198 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
83200         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
83201         are re-adding the entry.
83202         * nscd/servicescache.c (cache_addserv): Likewise.
83204 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
83206         * sysdeps/generic/dl-irel.h: fix protection against multiple
83207         inclusions.
83208         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
83210 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
83212         [BZ #12935]
83213         * malloc/memusage.sh: Fix quoting in message.
83214         * debug/xtrace.sh: Likewise.
83216         * configure.in: Remove support for --experimental-malloc option, make
83217         it the default.
83218         * config.make.in: Likewise.
83219         * malloc/Makefile: Likewise.
83221 2011-06-27  Andreas Schwab  <schwab@redhat.com>
83223         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
83224         two-byte characters.
83226 2011-06-27  Roland McGrath  <roland@hack.frob.com>
83228         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
83229         AC_CACHE_CHECK invocation.
83230         * configure: Regenerated.
83232         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
83234 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
83236         [BZ #12350]
83237         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
83238         bit from old_res_options.
83240         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
83242         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
83243         value type for setfct.
83245 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
83247         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83248         __gettimeofday instead of gettimeofday.
83250 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
83252         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
83254 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
83256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
83258         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
83259         info.
83261 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
83263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83264         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83265         strcpy-sse2-unaligned strncpy-sse2-unaligned
83266         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
83267         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
83268         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
83269         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
83270         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
83271         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
83272         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
83273         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
83274         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
83275         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
83276         (STRCPY): Support SSE2 and SSSE3 versions.
83278 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
83280         [BZ #12874]
83281         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
83282         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
83283         kernels which artificially limit size of requests.
83285 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
83287         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83288         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83289         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
83290         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
83291         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
83292         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
83293         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
83294         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
83295         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
83296         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
83297         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
83298         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
83299         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
83300         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
83301         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
83302         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83303         Enable unaligned load optimization for Intel Core i3, i5 and i7
83304         processors.
83305         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
83306         Define.
83307         (index_Fast_Unaligned_Load): Define.
83308         (HAS_FAST_UNALIGNED_LOAD): Define.
83310 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
83312         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83314 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83316         [BZ #12907]
83317         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83318         until it is clear that the information is realy needed.
83319         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83321 2011-06-22  Andreas Schwab  <schwab@redhat.com>
83323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83325 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
83327         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83328         /sys/devices/system/cpu/online if it is usable.
83330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83331         reading the information from the /proc filesystem to once a second.
83333 2011-06-21  Andreas Jaeger  <aj@suse.de>
83335         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83336         NULL after inclusion of kernel headers.
83338 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
83340         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83341         calls to internal_setent.
83343         [BZ #12885]
83344         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83345         addresses using gethostbyname4_r ignore IPv4 addresses.
83347         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83348         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
83350         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83352 2011-06-20  David S. Miller  <davem@davemloft.net>
83354         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83355         inclusions.
83356         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83358         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83359         (elf_irel): Use it.
83360         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83361         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83362         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83363         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83364         * sysdeps/x86_64/dl-irel.h: Likewise.
83366         * elf/dl-runtime.c: Use elf_ifunc_invoke.
83367         * elf/dl-sym.c: Likewise.
83369 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83371         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
83372         need to dereference resplen2.
83374 2011-06-14  Andreas Schwab  <schwab@redhat.com>
83376         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83378 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
83380         * Makeconfig: Define vardbdir and inst_vardbdir.
83381         * nss/Makefile: Add rules to install db-Makefile.
83383         * nss/nss_db/db-XXX.c: Cleanup.
83385         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83386         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83387         GLIBC_PRIVATE.
83388         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83389         * nss/makedb.c: Implement -g option to specify that value strings
83390         are generated and should not be added to table iterated over for
83391         get*ent calls.
83392         * nss/nss_db/db-initgroups.c: New file.
83394         * nss/getent.c: Add support for initgroups lookups through getgrouplist
83395         interface.
83397         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83398         (internal_getgrouplist): Adjust to name change.
83399         Update use_initgroups_entry if this is not the first call.
83400         * nss/databases.def: Add initgroups entry.
83402         * nss/makedb.c (compute_tables): Check result of multiple hash table
83403         sizes to minimize maximum chain length.
83405 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
83407         * Versions.def: Add entry for libnss_db.
83408         * shlib-versions: Likewise.
83409         * nss/Makefile: Add rules to build libnss_db.
83410         * nss/Versions: Add libnss_db information.  Organize libnss_files
83411         entries better.
83412         * nss/db-Makefile: Add gshadow support.  Change rules for the new
83413         makedb progra.  Some minor improvements to generate smaller files.
83414         * nss/nss_db/nss_db.h: Move NSS database header data structures to
83415         here from...
83416         * nss/makedb.c: ...here.
83417         Improve database format to be smaller and require less memory at
83418         runtime.
83419         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
83420         db anymore.
83421         * nss/nss_db/db-netgrp.c: Likewise.
83422         * nss/nss_db/db-open.c: Likewise.
83423         * nss/nss_files/flies-XXX.x: Adjust comments.
83424         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83425         * nss/nss_files/files-grp.c: Likewise.
83426         * nss/nss_files/files-hosts.c: Likewise.
83427         * nss/nss_files/files-network.c: Likewise.
83428         * nss/nss_files/files-proto.c: Likewise.
83429         * nss/nss_files/files-pwd.c: Likewise.
83430         * nss/nss_files/files-rpc.c: Likewise.
83431         * nss/nss_files/files-service.c: Likewise.
83432         * nss/nss_files/files-sgrp.c: Likewise.
83433         * nss/nss_files/files-spwd.c: Likewise.
83434         * nss/nss_db/db-alias.c: Removed.
83435         * nss/nss_db/dummy-db.h: Removed.
83437 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
83439         * nss/makedb.c: Rewritten to not use database library.
83440         * nss/Makefile: Update to build new makedb program.
83442 2011-06-14  Andreas Jaeger  <aj@suse.de>
83444         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83445         memset declaration.
83447 2011-06-10  Andreas Schwab  <schwab@redhat.com>
83449         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83450         tmpbuf.
83452 2011-06-10  Roland McGrath  <roland@hack.frob.com>
83454         * Makerules (shlib.lds): Fail if the linker script comes out empty.
83455         * elf/Makefile ($(objpfx)ld.so): Likewise.
83457         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83458         Don't list ld.so twice in dependencies.
83460         * posix/bug-regex31.c: Include <stdlib.h>.
83462         * nscd/hstcache.c (cache_addhst): Remove unused variable.
83464         * nis/nss_compat/compat-spwd.c
83465         (getspent_next_nss_netgr): Remove unused variable.
83466         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83468         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83469         nonmembers" output to use the right array.
83471         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83473         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83475         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83476         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83477         * catgets/gencat.c (read_input_file): Likewise.
83478         * locale/programs/locarchive.c (enlarge_archive): Likewise.
83480         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83481         variable definition inside #if's controlling its use.
83483         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83485         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83487         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83489         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83490         unreachable code.
83492         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83494         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83495         * configure: Regenerated.
83497         * Makerules: Revert last change.
83498         * elf/Makefile: Likewise.
83500 2011-06-09  Roland McGrath  <roland@hack.frob.com>
83502         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83503         * elf/Makefile ($(objpfx)librtld.os): Likewise.
83504         (reloc-link): Likewise.
83506 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
83508         * elf/Makefile: Add rules to build pldd.
83509         * elf/pldd.c: New file.
83510         * elf/pldd-xx.c: New file.
83512 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
83514         * version.h: Update for 2.15 development version.
83516 2011-06-07  David S. Miller  <davem@davemloft.net>
83518         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83519         ifuncs.
83520         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83521         elf_machine_lazy_rel): Likewise.
83522         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83523         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83524         elf_machine_lazy_rel): Likewise.
83525         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83526         dl_hwcap via passed in argument.
83527         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83528         Likewise.
83530 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
83532         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
83534 2011-06-06  Roland McGrath  <roland@hack.frob.com>
83536         [BZ #12849]
83537         * manual/fdl-1.1.texi: New file, verbatim from:
83538         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83539         * manual/lgpl-2.1.texi: New file, verbatim from:
83540         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83541         * manual/Makefile (licenses): New variable, list those new file names.
83542         (texis): Use it.
83543         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83545         * manual/fdl.texi: File removed.
83546         * manual/lesser.texi: File removed.
83547         * manual/libc.texinfo (Copying, Documentation License):
83548         Use new @include file names, put @appendix directive before @include.
83550 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
83552         [BZ #12841]
83553         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83554         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83555         (mq_open): Add __NTH.
83557 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
83559         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83560         Assume Intel Core i3/i5/i7 processor if AVX is available.
83562 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83564         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83565         typo.
83567 2011-05-31  Andreas Schwab  <schwab@redhat.com>
83569         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83570         memory.  Use alloca_account.  Fix memory leak when retrying.
83572 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
83574         * version.h (RELEASE): Bump for 2.14 release.
83575         * include/features.h (__GLIBC_MINOR__): Bump to 14.
83577         * config.make.in (RANLIB): Remove entry.
83579 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
83581         * po/Makefile (po-sed-cmd): Add ksh to extensions.
83582         (libc.pot): Work around missing support for .ksh extension in xgettext.
83584         [BZ #12684]
83585         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83586         if both request failed.
83587         (send_dg): In case of server errors clear resplen or *resplen2.
83589         [BZ #12454]
83590         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83591         when there are multiple maps.
83592         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83593         (_dl_fini): Remove test here.
83595         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83597 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
83599         [BZ #12350]
83600         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83601         bit from old_res_options.
83602         (gaih_inet): Likewise.
83604         [BZ #11099]
83605         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83606         as signed.
83608         * resolv/res_init.c (res_setoptions): Make the code more compact.
83610         [BZ #11558]
83611         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83612         set RES_USEVC.
83614         [BZ #11634]
83615         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83617         * malloc/malloc.h: Mark malloc hook variables as deprecated.
83619         [BZ #11781]
83620         * malloc/malloc.h: Declare malloc hook variables as volatile.
83622         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83623         in last patch.
83625         [BZ #11799]
83626         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83627         raise in the comment.
83628         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83629         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83630         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83632 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
83634         [BZ #12811]
83635         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83636         grow the buffers more if it already has to be sufficient.
83637         (build_wcs_upper_buffer): Likewise.
83638         * posix/regexec.c (check_matching): Likewise.
83639         (clean_state_log_if_needed): Likewise.
83640         (extend_buffers): Don't enlarge buffers beyond size of the input
83641         buffer.
83642         Patches mostly by Emil Wojak <emil@wojak.eu>.
83643         * posix/bug-regex32.c: New file.
83644         * posix/Makefile (tests): Add bug-regex32.
83646         * locale/findlocale.c (_nl_find_locale): Return right away if
83647         _nl_explode_name failed.
83648         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83650         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83652         * debug/xtrace.sh: Unify messages.
83653         * malloc/memusage.sh: Likewise.
83655         [BZ #12813]
83656         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83657         time symbol from vDSO.  Substitute with vsyscall if not available.
83658         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83659         __vdso_time.
83661         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83662         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83663         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83664         Add sendmmsg and internal_sendmmsg.
83665         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83666         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83667         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83669         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83670         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83673 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
83675         [BZ #12813]
83676         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83677         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
83678         available.
83679         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83680         __vdso_getcpu.
83682         [BZ #12814]
83683         * iconvdata/Makefile (tests): Add bug-iconv9.
83684         * iconvdata/bug-iconv9.c: New file.
83686 2011-05-27  Andreas Schwab  <schwab@redhat.com>
83688         [BZ #12814]
83689         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83691 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
83693         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83694         (struct user_regs_struct): Change intcs field back to cs.
83696 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
83698         * po/ja.po: Update from translation team.
83700 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
83702         [BZ #12795]
83703         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83704         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83706 2011-05-20  Andreas Schwab  <schwab@redhat.com>
83708         * stdlib/longlong.h: Update from GCC.
83710 2011-05-23  Andreas Schwab  <schwab@redhat.com>
83712         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83713         parameter name.
83714         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83715         Add parameter name.
83716         (__sysconf): Pass it down.
83718 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
83720         [BZ #12671]
83721         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83722         some situations.
83723         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83724         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83725         add in in __libc_use_alloca calls.  Adjust callers.
83726         (glob): Use malloc in some situations.
83728         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83729         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83730         pltexit.
83732 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
83734         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83735         and CLOCK_BOOTTIME_ALARM.
83737         [BZ #12782]
83738         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83739         is returned.
83741         * string/_strerror.c (__strerror_r): Print negative errors as signed
83742         numbers.
83744         [BZ #12777]
83745         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83746         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83747         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83749         * configure.in: Fix typo in redirection and correct removal of test
83750         files in two cases.
83752         [BZ #12788]
83753         * locale/setlocale.c (new_composite_name): Fix test to check for
83754         identical name of all categories.
83756         [BZ #12792]
83757         * libio/filedoalloc.c (local_isatty): New function.
83758         (_IO_file_doallocate): Use local_isatty.
83759         * stdio-common/perror.c (perror): In case a new stream is used
83760         forward the stream error.
83761         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83762         error flag.
83764 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
83766         [BZ #11884]
83767         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83768         alloca.
83769         * include/alloca.h (extend_alloca_account): Define.
83771         [BZ #11857]
83772         * posix/regex.h: Fix comments with documentation of user-accessible
83773         fields after compilation and describe correct free'ing of pattern
83774         after re_compile_pattern.
83775         Patch by Reuben Thomas <rrt@sc3d.org>.
83777 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
83779         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83780         and -mno-altivec to prevent the compiler from using Altivec and/or
83781         VSX instructions when the corresponding registers are not available.
83783 2011-05-19  Andreas Schwab  <schwab@redhat.com>
83785         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83787 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
83789         * libio/freopen.c (freopen): Use __dup2, not dup2.
83790         * libio/freopen64.c (freopen64): Likewise.
83792 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
83794         [BZ #12775]
83795         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83796         * math/Makefile (tests): Add test-powl.
83797         (CFLAGS-test-powl.c): Define.
83798         * math/test-powl.c: New file.
83800 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
83802         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83804 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
83806         [BZ #11837]
83807         * iconvdata/gb18030.c: Update to GB18020-2005.
83809 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
83811         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83812         RE_SYNTAX_POSIX_AWK): Update to match recent development.
83813         Patch by Aharon Robbins <arnold@skeeve.com>.
83815         [BZ #11892]
83816         * stdlib/putenv.c (putenv): Don't always create copy of the variable
83817         on the stack.
83819         [BZ #11895]
83820         * misc/pselect.c (__pselect): Handle timeout value errors hidden
83821         through underflows.
83823         [BZ #12766]
83824         * misc/error.c (error_at_line): Ensure file_name and old_file_name
83825         point to strings before performing equality test for error_one_per_line
83826         mode.
83828         [BZ #11697]
83829         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83831         [BZ #11820]
83832         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83833         (struct user_fpregs_struct): Avoid __uint*_t types.
83835         [BZ #6420]
83836         * malloc/mtrace.c (tr_where): Add additional parameter to point to
83837         symbol info.  Use it instead of calling _dl_addr locally.
83838         (lock_and_info): New function.
83839         (tr_freehook): Call lock_and_info and pass symbol info as additional
83840         parameter to tr_where.
83841         (tr_mallochook): Likewise.
83842         (tr_reallochook): Likewise.
83843         (tr_memalignhook): Likewise.
83845         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
83846         used and couldn't be at all thread-safe.
83848 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
83850         * libio/freopen.c (freopen): Don't close old file descriptor
83851         before the new one is opened.  Instead dup the new file descriptor
83852         to the old one after the new stream is created.
83853         * libio/freopen64.c (freopen64): Likewise.
83854         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83855         * libio/fileops.c (_IO_new_file_close_it): Handle new
83856         _IO_FLAGS2_NOCLOSE flag.
83857         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83858         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83859         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83860         _IO_FLAGS2_NOCLOSE flag.
83861         * include/unistd.h: Add hidden_proto for dup3.
83862         Define __have_dup3.
83863         * io/dup3.c: Define hidden symbol.
83864         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83866         [BZ #7101]
83867         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83868         when an incomplete long option is used.
83869         * posix/tst-getopt_long1.c: New file.
83870         * posix/Makefile (tests): Add tst-getopt_long1.
83872         [BZ #10138]
83873         * scripts/config.guess: Update from autoconf-2.68.
83874         * scripts/config.sub: Likewise.
83876         [BZ #10157]
83877         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83878         tests into ...
83879         (has_cpuclock): ...this.  New function.
83880         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83881         macro here based on has_cpuclock code.
83883         [BZ #10149]
83884         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83885         First byte (not low byte) is now always NUL.
83886         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83888         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83889         Use non-cancelable interfaces.
83891         [BZ #9809]
83892         * locale/iso-639.def: Add entry for Sorani.
83894         [BZ #11901]
83895         * include/stdlib.h: Move include protection to the right place.
83896         Define abort_msg_s.  Declare __abort_msg with it.
83897         * stdlib/abort.c (__abort_msg): Adjust type.
83898         * assert/assert.c (__assert_fail_base): New function.  Majority
83899         of code from __assert_fail.  Allocate memory for __abort_msg with
83900         mmap.
83901         (__assert_fail): Now call __assert_fail_base.
83902         * assert/assert-perr.c: Remove bulk of implementation.  Use
83903         __assert_fail_base.
83904         * include/assert.hL Declare __assert_fail_base.
83905         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83906         mmap.
83907         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83909 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
83911         [BZ #11952]
83912         [BZ #12453]
83913         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83914         until all modules are registered in the DTV.
83915         * elf/Makefile: Add rules to build and run tst-tls19.
83916         * elf/tst-tls19.c: New file.
83917         * elf/tst-tls19mod1.c: New file.
83918         * elf/tst-tls19mod2.c: New file.
83919         * elf/tst-tls19mod3.c: New file.
83920         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83922         [BZ #12083]
83923         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83924         correctly.
83926         [BZ #12601]
83927         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83928         two-byte sequence errors.
83929         * iconvdata/Makefile (tests): Add bug-iconv8.
83930         * iconvdata/bug-iconv8.c: New file.
83932         [BZ #12626]
83933         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83934         buf2 definition.
83936         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83938         [BZ #12432]
83939         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83940         (dummy_getcfa): New function.
83941         (init): Get _Unwind_GetCFA address, use dummy if not found.
83942         (backtrace_helper): In recursion check, also check whether CFA changes.
83943         (__backtrace): Completely initialize arg.
83945         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83946         storing incomplete byte sequence in state object.  Avoid testing for
83947         guaranteed too small input if we know there is enough data available.
83949 2011-05-11  Andreas Schwab  <schwab@redhat.com>
83951         * Makeconfig (+link-pie): Indent.
83952         * Rules (binaries-pie): Define if $(have-fpie) and
83953         $(build-shared).
83954         (binaries-shared): Also filter out $(binaries-pie).
83955         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83956         * nscd/Makefile (others-pie): Add nscd.
83957         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83958         ($(objpfx)nscd): Remove command override.
83959         * login/Makefile (others-pie): Add pt_chown.
83960         ($(objpfx)pt_chown): Remove command override.
83961         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83962         remove command overrides.
83964 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
83966         * libio/tst_putwc.c: Fix error messages.
83968         [BZ #12724]
83969         * libio/fileops.c (_IO_new_file_close_it): Always flush when
83970         currently writing and seek to current position when not.
83971         * libio/Makefile (tests): Add bug-fclose1.
83972         * libio/bug-fclose1.c: New file.
83974 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
83976         [BZ #12511]
83977         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83978         don't set DF_1_NODELETE here.
83979         (do_lookup_x): When entering new entry test for copy relocation
83980         and if necessary set DF_1_NODELETE flag.
83981         * elf/tst-unique4.cc: New file.
83982         * elf/tst-unique4.h: New file.
83983         * elf/tst-unique4lib.cc: New file.
83984         * elf/Makefile: Add rules to build and run tst-unique4.
83985         Patch by Piotr Bury <pbury@goahead.com>.
83987 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
83989         [BZ #12052]
83990         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83992         [BZ #12625]
83993         * misc/mntent_r.c (addmntent): Flush the stream after the output
83995         [BZ #12393]
83996         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83997         (is_trusted_path_normalize): Skip initial colon.  Append slash
83998         to empty buffer.  Duplicate is_trusted_path code but allow
83999         constructed patch to be prefix.
84000         (is_dst): Allow $ORIGIN followed by /.
84001         (_dl_dst_substitute): Correct clearing of check_for_trusted.
84002         Correct testing of result of is_trusted_path_normalize
84003         (decompose_rpath): Fix warning.
84005 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
84007         [BZ #11257]
84008         * grp/initgroups.c (internal_getgrouplist): When we found the service
84009         list through the initgroups entry in nsswitch.conf do not always
84010         continue on a successful lookup.  Don't always use the
84011         __nss_group_database value if it is set.
84012         * nss/nsswitch.conf (initgroups): Change action for successful db
84013         lookup to continue for compatibility.
84015 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
84017         [BZ #11532]
84018         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
84019         and CP774 modules.
84020         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
84021         and CP774 modules.
84022         * iconvdata/tst-tables.sh: Likewise.
84023         * iconvdata/cp770.c: New file.
84024         * iconvdata/cp771.c: New file.
84025         * iconvdata/cp772.c: New file.
84026         * iconvdata/cp773.c: New file.
84027         * iconvdata/cp774.c: New file.
84028         * iconvdata/testdata/CP770: New file.
84029         * iconvdata/testdata/CP770..UTF8: New file.
84030         * iconvdata/testdata/CP771: New file.
84031         * iconvdata/testdata/CP771..UTF8: New file.
84032         * iconvdata/testdata/CP772: New file.
84033         * iconvdata/testdata/CP772..UTF8: New file.
84034         * iconvdata/testdata/CP773: New file.
84035         * iconvdata/testdata/CP773..UTF8: New file.
84036         * iconvdata/testdata/CP774: New file.
84037         * iconvdata/testdata/CP774..UTF8: New file.
84039         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
84040         END CHARMAP line.
84041         * iconvdata/gen-8bit-gap.sh: Likewise.
84042         * iconvdata/gen-8bit.sh: Likewise.
84044         * locale/iso-639.def: Add ary entry.
84046         [BZ #11258]
84047         * locale/C-translit.h.in: Add U20A1 transliteration.
84049         [BZ #12178]
84050         * locale/iso-639.def: Add wae entry.
84051         Patch by Kevin Bortis <bortis@translate-wae.ch>.
84053         [BZ #12545]
84054         * locale/programs/localedef.c (construct_output_path): Use ssize_t
84055         for n.
84057         [BZ #12711]
84058         * locale/C-translit.h.in: Add entry for U20B9.
84059         Patch by pravin.d.s@gmail.com.
84061 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
84063         [BZ #12713]
84064         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
84065         ENAMETOOLONG use generic getcwd.
84066         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
84067         in rtld.  Use *stat64.
84068         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
84069         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
84070         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
84071         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
84072         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
84073         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
84074         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
84075         __fstatat64 macros.
84076         * include/dirent.h: Add libc_hidden_proto for rewinddir.
84077         * dirent/rewinddir.c: Add libc_hidden_def.
84078         * sysdeps/mach/hurd/rewinddir.c: Likewise.
84079         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
84081         * include/dirent.h (__alloc_dir): Add flags parameter.
84082         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84083         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84084         __alloc_dir.
84085         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
84086         from fdopendir if O_CLOEXEC is already set.
84088 2011-03-15  Alan Modra  <amodra@gmail.com>
84090         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84091         l_tls_firstbyte_offset non-zero.  Save padding offset in
84092         l_tls_firstbyte_offset for later use.
84093         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84094         freeing static tls block.
84096 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
84098         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84099         where #ifdef was intended.  The intent is to prevent ARG_MAX from
84100         being defined by the kernel headers.
84102 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
84104         [BZ #12734]
84105         * resolv/resolv.h: Define RES_NOTLDQUERY.
84106         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84107         no-tld-query and set RES_NOTLDQUERY.
84108         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84109         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84110         modern BIND to search name as TLD unless forbidden.
84112 2011-05-07  Petr Baudis  <pasky@suse.cz>
84113             Ulrich Drepper  <drepper@gmail.com>
84115         [BZ #12393]
84116         * elf/dl-load.c (fillin_rpath): Move trusted path check...
84117         (is_trusted_path): ...to here.
84118         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84119         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84120         using is_trusted_path_normalize() in setuid scripts.
84122 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84124         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84125         __BEGIN/__END_DECLS.
84127 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
84129         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84130         NSS_STATUS_NOTFOUND if no record was found.
84132 2011-05-05  Andreas Schwab  <schwab@redhat.com>
84134         * sunrpc/Makefile (headers): Add rpc/netdb.h.
84135         (headers-not-in-tirpc): Remove rpc/netdb.h
84136         * resolv/netdb.h: Revert last change.
84138 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
84140         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
84141         circular dependency between libgcc.a and libc.a.
84143 2011-05-05  Andreas Schwab  <schwab@redhat.com>
84145         * resolv/netdb.h: Don't include <rpc/netdb.h>.
84146         * nis/Makefile: Don't install rpcsvc/*.
84147         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
84148         instead of <rpc/types.h>.
84149         (MAXHOSTNAMELEN): Define.
84151 2011-05-03  Andreas Schwab  <schwab@redhat.com>
84153         * elf/ldconfig.c (add_dir): Don't crash on empty path.
84155 2011-04-28  Maciej Babinski  <mbabinski@google.com>
84157         [BZ #12714]
84158         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
84159         gethostbyname4_r when IPv6 results are possible.
84161 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
84163         [BZ #12723]
84164         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
84165         _PC_PIPE_BUF handling.
84167 2011-04-30  Bruno Haible  <bruno@clisp.org>
84169         [BZ #12717]
84170         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
84171         * resolv/netdb.h (getnameinfo): Change type of flags parameter
84172         to 'int'.
84173         * inet/getnameinfo.c (getnameinfo): Likewise.
84175 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
84177         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
84178         to groups setting in database lookup.
84179         * nss/nsswitch.conf: Add initgroups entry.
84181 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
84183         [BZ #12685]
84184         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
84185         mode string.
84186         Patch by Eric Blake <eblake@redhat.com>.
84188 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
84190         * sunrpc/Makefile (need-export-routines): Add svc_run.
84191         (routines): Remove svc_run.
84192         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
84193         * sunrpc/clnt_perr.c (clnt_perrno): Export.
84194         * sunrpc/svc_run.c (svc_run): Likewise.
84195         * sunrpc/svc_udp.c (svcudp_create): Likewise.
84197 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
84199         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
84200         problem in reallocation in last patch.
84202 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
84204         * sunrpc/Makefile: Move inclusion of Rules.
84206 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
84208         * nss/nss_files/files-initgroups.c: New file.
84209         * nss/Makefile (libnss_files-routines): Add files-initgroups.
84210         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
84211         _nss_files_initgroups_dyn.
84213 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
84215         * elf/elf.h (R_ARM_IRELATIVE): Define.
84217 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
84219         * po/ru.po: Update from translation team.
84221 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
84223         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
84224         dependencies.
84226 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
84228         [BZ #12653]
84229         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
84230         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
84231         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84232         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
84233         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
84235 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
84237         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
84238         differing bytes.
84239         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
84240         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
84241         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84243 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
84245         [BZ #12420]
84246         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
84247         storing it.
84248         * stdlib/bug-getcontext.c: New file.
84249         * stdlib/Makefile: Add rules to build and run bug-getcontext.
84251 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84253         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
84254         instructions into .machine "z9-109".
84255         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
84256         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
84258 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
84260         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
84261         between environment variables and auxiliary vector.
84263 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
84265         * Makefile: Add rules to build linkobj/libc.so.
84266         * include/libc-symbols.h: Define libc_hidden_nolink.
84267         * include/rpc/auth.h: Mark functions which are to be hidden.
84268         * include/rpc/auth_des.h: Likewise.
84269         * include/rpc/auth_unix.h: Likewise.
84270         * include/rpc/clnt.h: Likewise.
84271         * include/rpc/des_crypt.h: Likewise.
84272         * include/rpc/key_prot.h: Likewise.
84273         * include/rpc/pmap_clnt.h: Likewise.
84274         * include/rpc/pmap_prot.h: Likewise.
84275         * include/rpc/pmap_rmt.h: Likewise.
84276         * include/rpc/rpc_msg.h: Likewise.
84277         * include/rpc/svc.h: Likewise.
84278         * include/rpc/svc_auth.h: Likewise.
84279         * include/rpc/xdr.h: Likewise.
84280         * nis/Makefile: Link all DSOs against linkobj/libc.so.
84281         * nss/Makefile: Likewise.
84282         * sunrpc/Makefile: Don't install headers.  Build library with normal
84283         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
84284         * sunrpc/auth_des.c: Hide exported symbols by default, export some
84285         for the compat linking library.  Remove use of INTDEF/INTUSE.
84286         * sunrpc/auth_none.c: Likewise.
84287         * sunrpc/auth_unix.c: Likewise.
84288         * sunrpc/authdes_prot.c: Likewise.
84289         * sunrpc/authuxprot.c: Likewise.
84290         * sunrpc/clnt_gen.c: Likewise.
84291         * sunrpc/clnt_perr.c: Likewise.
84292         * sunrpc/clnt_raw.c: Likewise.
84293         * sunrpc/clnt_simp.c: Likewise.
84294         * sunrpc/clnt_tcp.c: Likewise.
84295         * sunrpc/clnt_udp.c: Likewise.
84296         * sunrpc/clnt_unix.c: Likewise.
84297         * sunrpc/des_crypt.c: Likewise.
84298         * sunrpc/des_soft.c: Likewise.
84299         * sunrpc/get_myaddr.c: Likewise.
84300         * sunrpc/key_call.c: Likewise.
84301         * sunrpc/key_prot.c: Likewise.
84302         * sunrpc/netname.c: Likewise.
84303         * sunrpc/pm_getmaps.c: Likewise.
84304         * sunrpc/pm_getport.c: Likewise.
84305         * sunrpc/pmap_clnt.c: Likewise.
84306         * sunrpc/pmap_prot.c: Likewise.
84307         * sunrpc/pmap_prot2.c: Likewise.
84308         * sunrpc/pmap_rmt.c: Likewise.
84309         * sunrpc/publickey.c: Likewise.
84310         * sunrpc/rpc_cmsg.c: Likewise.
84311         * sunrpc/rpc_common.c: Likewise.
84312         * sunrpc/rpc_dtable.c: Likewise.
84313         * sunrpc/rpc_prot.c: Likewise.
84314         * sunrpc/rpc_thread.c: Likewise.
84315         * sunrpc/rtime.c: Likewise.
84316         * sunrpc/svc.c: Likewise.
84317         * sunrpc/svc_auth.c: Likewise.
84318         * sunrpc/svc_authux.c: Likewise.
84319         * sunrpc/svc_raw.c: Likewise.
84320         * sunrpc/svc_run.c: Likewise.
84321         * sunrpc/svc_simple.c: Likewise.
84322         * sunrpc/svc_tcp.c: Likewise.
84323         * sunrpc/svc_udp.c: Likewise.
84324         * sunrpc/svc_unix.c: Likewise.
84325         * sunrpc/svcauth_des.c: Likewise.
84326         * sunrpc/xcrypt.c: Likewise.
84327         * sunrpc/xdr.c: Likewise.
84328         * sunrpc/xdr_array.c: Likewise.
84329         * sunrpc/xdr_float.c: Likewise.
84330         * sunrpc/xdr_intXX_t.c: Likewise.
84331         * sunrpc/xdr_mem.c: Likewise.
84332         * sunrpc/xdr_rec.c: Likewise.
84333         * sunrpc/xdr_ref.c: Likewise.
84334         * sunrpc/xdr_sizeof.c: Likewise.
84335         * sunrpc/xdr_stdio.c: Likewise.
84337 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
84339         [BZ #12650]
84340         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84341         * sysdeps/ia64/dl-tls.h: Likewise.
84342         * sysdeps/powerpc/dl-tls.h: Likewise.
84343         * sysdeps/s390/dl-tls.h: Likewise.
84344         * sysdeps/sh/dl-tls.h: Likewise.
84345         * sysdeps/sparc/dl-tls.h: Likewise.
84346         * sysdeps/x86_64/dl-tls.h: Likewise.
84347         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84349 2011-03-14  Andreas Schwab  <schwab@redhat.com>
84351         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84352         rpath element also skip the following colon.
84353         (expand_dynamic_string_token): Add is_path parameter and pass
84354         down to DL_DST_REQUIRED and _dl_dst_substitute.
84355         (decompose_rpath): Call expand_dynamic_string_token with
84356         non-zero is_path.  Ignore empty rpaths.
84357         (_dl_map_object_from_fd): Call expand_dynamic_string_token
84358         with zero is_path.
84360 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
84362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84363         Make cancelable.
84365 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
84367         [BZ #12655]
84368         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84369         Patch by Filipe David Manana <fdmanana@apache.org>.
84371 2011-04-07  Andreas Schwab  <schwab@redhat.com>
84373         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84374         Maintain aligned stack.
84375         (CHECK_RSP): Remove unused macro.
84377 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
84379         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84380         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84382 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
84384         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84386         * include/features.h: Mention __USE_XOPEN2K8 in comment.
84388 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
84390         [BZ #12518]
84391         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84392         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84393         * sysdeps/x86_64/memmove.c: New file.
84394         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84395         (memcpy): Renamed to ...
84396         (__new_memcpy): This.
84397         (memcpy): Provide GLIBC_2_14 memcpy.
84398         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84399         (memcpy): Provide GLIBC_2_2_5 memcpy.
84401 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84403         [BZ #12631]
84404         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84406 2011-03-30  Andreas Schwab  <schwab@redhat.com>
84408         * misc/syncfs.c: New file.
84409         * misc/Makefile (routines): Add syncfs.
84410         * posix/unistd.h: Declare syncfs.
84411         * sysdeps/unix/syscalls.list: Add syncfs.
84413 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84415         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84416         open_by_handle_at.
84417         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84418         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84419         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84420         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84421         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84422         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84423         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84425 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84427         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84428         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84429         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84430         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84431         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84432         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84433         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84435         * io/Makefile: Compile fallocate.c, fallocate64.c, and
84436         sync_file_range.c with -fexceptions.
84437         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84438         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84439         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84440         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84441         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84442         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84444         sync_file_range as cancellation point
84445         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
84446         now a wrapper around __call_sync_file_range with cancellation handling.
84447         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84448         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
84449         function name to __call_sync_file_range.
84450         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84451         Add call_sync_file_range.
84453 2011-04-01  Andreas Schwab  <schwab@redhat.com>
84455         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84456         bits/timex.h.
84458 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
84460         * iconv/iconv.h: Fix typo in comment.
84461         * io/fcntl.h: Likewise.
84462         * libio/stdio.h: Likewise.
84463         * posix/spawn.h: Likewise.
84464         * posix/unistd.h: Likewise.
84465         * stdlib/stdlib.h: Likewise.
84466         * time/time.h: Likewise.
84467         * wcsmbs/wchar.h: Likewise.
84469         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84470         open_by_handle): Add.
84471         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84472         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
84473         Augment a few comments.
84474         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84475         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84476         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84477         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84479         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84480         open_by_handle.
84482         * io/fcntl.h (AT_EMPTY_PATH): Define.
84484 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
84486         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84487         * sysdeps/unix/sysv/linux/bits/time.h: New file.
84488         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84489         to...
84490         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
84491         * Versions.def: Add GLIBC_2.14.
84492         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84493         Export.
84495 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
84497         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84498         round counter.
84499         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84501 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
84503         [BZ #12597]
84504         * string/test-strncmp.c (do_page_test): New function.
84505         (check2): Likewise.
84506         (test_main): Call check2.
84507         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84509 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
84511         [BZ #12587]
84512         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84513         Handle cache information in CPU leaf 4.
84514         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84516 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
84518         [BZ #12583]
84519         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84520         character representation.
84521         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84523 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
84525         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84526         END(__isnan) to END(__isnanf) to match function entry point/label
84527         EALIGN(__isnanf,...).
84529 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
84531         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84533 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
84535         [BZ #12510]
84536         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84537         copy from the symbol referenced in the relocation to initialize the
84538         used variable.
84539         Patch by Piotr Bury <pbury@goahead.com>.
84540         * elf/Makefile: Add rules to build and tst-unique3.
84541         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84542         * elf/tst-unique3.cc: New file.
84543         * elf/tst-unique3.h: New file.
84544         * elf/tst-unique3lib.cc: New file.
84545         * elf/tst-unique3lib2.cc: New file.
84547         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84549 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
84551         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84552         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
84553         to _start.
84555 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
84557         * elf/dl-load.c (_dl_map_object): If we are looking for the first
84558         to-be-loaded object along a path to loader is ld.so.
84560 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84561             Ulrich Drepper  <drepper@gmail.com>
84563         * sysdeps/x86_64/memset.S: After aligning destination, code
84564         branches to different locations depending on the value of
84565         misalignment, when multiarch is enabled. Fix this.
84567 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
84569         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84570         Set _x86_64_preferred_memory_instruction for AMD processsors.
84571         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84572         Set bit_Prefer_SSE_for_memop for AMD processors.
84574 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
84576         * libio/fmemopen.c (fmemopen): Optimize a bit.
84578 2011-03-03  Andreas Schwab  <schwab@redhat.com>
84580         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84582 2011-03-03  Roland McGrath  <roland@redhat.com>
84584         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84586 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
84588         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84589         __bzero_ultra1 instead of __memset_ultra1.
84591 2011-02-23  Andreas Schwab  <schwab@redhat.com>
84592             Ulrich Drepper  <drepper@gmail.com>
84594         [BZ #12509]
84595         * include/link.h (struct link_map): Add l_orig_initfini.
84596         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84597         returning unsuccessfully.
84598         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84599         close of a file loaded at startup, restore the original l_initfini
84600         list.
84601         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84602         list, store the pointer.
84603         * elf/Makefile ($(objpfx)noload-mem): New rule.
84604         (noload-ENV): Define.
84605         (tests): Add $(objpfx)noload-mem.
84606         * elf/noload.c: Include <memcheck.h>.
84607         (main): Call mtrace.  Close all opened handles.
84609 2011-02-17  Andreas Schwab  <schwab@redhat.com>
84611         [BZ #12454]
84612         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84613         dependencies are missing.
84615 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84617         Fix __if_freereq crash: Unlike the generic version which uses free,
84618         Hurd needs munmap.
84619         * sysdeps/mach/hurd/ifreq.h: New file.
84621 2011-01-27  Petr Baudis  <pasky@suse.cz>
84622             Ulrich Drepper  <drepper@gmail.com>
84624         [BZ 12445]#
84625         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84626         to extend_alloca().
84627         * stdio-common/bug23.c: New file.
84628         * stdio-common/Makefile (tests): Add bug23.
84630 2010-09-28  Andreas Schwab  <schwab@redhat.com>
84631             Ulrich Drepper  <drepper@gmail.com>
84633         [BZ #12489]
84634         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84635         before performing relro protection.  At old place add assertion
84636         to make sure nothing changed.
84638 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
84639             Glauber de Oliveira Costa  <glommer@gmail.com>
84641         * elf/elf.h: Add new ARM TLS relocs.
84643 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
84645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84646         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84647         cast from r3.
84648         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
84649         'tests' variable.
84650         * sysdeps/wordsize-64/tst-writev.c: New file.
84652 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
84654         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84655         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84656         insns in _dl_start to prevent a TOC reference before relocs are
84657         resolved.
84659 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
84661         [BZ #12469]
84662         * Makeconfig: Remove RANLIB definition.
84663         * Makerules: Don't use RANLIB.
84664         * aclocal.m4: Remove ranlib test.
84665         * configure.in: No need to check for ranlib.
84666         * elf/rtld-Rules: Don't use RANLIB.
84668 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84670         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84671         protection macro.
84672         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84673         inclusion protection macro.
84675         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84676         SIGRTMIN and SIGRTMAX and print information in that case only when
84677         SIGRTMIN is defined.
84679 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
84681         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84682         arginfo fn returning -1.
84684         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84685         and thousands string is zero terminated.
84687 2011-02-03  Andreas Schwab  <schwab@redhat.com>
84689         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84690         sysdeps/unix/sysv/linux/bits/socket.h.
84692 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
84694         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84695         (__CPU_COUNT): Remove old macros.
84696         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84697         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84698         (__CPU_ALLOC, __CPU_FREE): Add macros.
84699         (__sched_cpualloc, __sched_cpufree): Add declarations.
84701 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
84703         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84704         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84705         * nscd/aicache.c (addhstaiX): Return timeout of added value.
84706         (readdhstai): Return value of addhstaiX call.
84707         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84708         (addgrbyX): Return value returned by cache_addgr.
84709         (readdgrbyname): Return value returned by addgrbyX.
84710         (readdgrbygid): Likewise.
84711         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84712         (addpwbyX): Return value returned by cache_addpw.
84713         (readdpwbyname): Return value returned by addhstbyX.
84714         (readdpwbyuid): Likewise.
84715         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84716         (addservbyX): Return value returned by cache_addserv.
84717         (readdservbyname): Return value returned by addservbyX:
84718         (readdservbyport): Likewise.
84719         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84720         (addhstbyX): Return value returned by cache_addhst.
84721         (readdhstbyname): Return value returned by addhstbyX.
84722         (readdhstbyaddr): Likewise.
84723         (readdhstbynamev6): Likewise.
84724         (readdhstbyaddrv6): Likewise.
84725         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84726         (readdinitgroups): Return value returned by addinitgroupsX.
84727         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84728         (prune_cache): Keep track of timeout value of re-added entries.
84729         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84730         * nscd/nscd.h: Adjust prototypes of readd* functions.
84732 2011-02-04  Roland McGrath  <roland@redhat.com>
84734         * nis/nis_server.c (nis_servstate): Use the right name for 0.
84735         (nis_stats): Likewise.
84736         * nis/nis_modify.c (nis_modify): Likewise.
84737         * nis/nis_remove.c (nis_remove): Likewise.
84738         * nis/nis_add.c (nis_add): Likewise.
84740         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84742         * posix/fnmatch_loop.c: Add some consts.
84744         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84746 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
84748         [BZ #12460]
84749         * config.make.in (config-cflags-novzeroupper): Define.
84750         * configure.in: Substitute libc_cv_cc_novzeroupper.
84751         * elf/Makefile (AVX-CFLAGS): Define.
84752         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84753         (CFLAGS-tst-auditmod4a.c): Likewise.
84754         (CFLAGS-tst-auditmod4b.c): Likewise.
84755         (CFLAGS-tst-auditmod6b.c): Likewise.
84756         (CFLAGS-tst-auditmod6c.c): Likewise.
84757         (CFLAGS-tst-auditmod7b.c): Likewise.
84758         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84760 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
84762         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84763         function to the callback.
84764         Patch partly by Jiri Olsa <jolsa@redhat.com>.
84766 2011-02-02  Andreas Schwab  <schwab@redhat.com>
84768         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84769         of errno.
84771 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
84773         [BZ #11724]
84774         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84775         of constructors.
84776         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84777         of destructors.
84778         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84780         [BZ #11724]
84781         * elf/Makefile: Add rules to build and run new test.
84782         * elf/tst-initorder.c: New file.
84783         * elf/tst-initorder.exp: New file.
84784         * elf/tst-initordera1.c: New file.
84785         * elf/tst-initordera2.c: New file.
84786         * elf/tst-initordera3.c: New file.
84787         * elf/tst-initordera4.c: New file.
84788         * elf/tst-initorderb1.c: New file.
84789         * elf/tst-initorderb2.c: New file.
84790         * elf/tst-order-a1.c: New file.
84791         * elf/tst-order-a2.c: New file.
84792         * elf/tst-order-a3.c: New file.
84793         * elf/tst-order-a4.c: New file.
84794         * elf/tst-order-b1.c: New file.
84795         * elf/tst-order-b2.c: New file.
84796         * elf/tst-order-main.c: New file.
84797         New test case by George Gensure <werkt0@gmail.com>.
84799 2010-10-01  Andreas Schwab  <schwab@redhat.com>
84801         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84802         decoding ACE if AI_CANONIDN.
84804 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
84806         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84808 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
84810         * version.h (RELEASE): Bump for 2.13 release.
84811         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84813         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84816         MADV_NOHUGEPAGE.
84817         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84818         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84819         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84821         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84822         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84824         * posix/getconf.c: Update copyright year.
84825         * catgets/gencat.c: Likewise.
84826         * csu/version.c: Likewise.
84827         * debug/catchsegv.sh: Likewise.
84828         * debug/xtrace.sh: Likewise.
84829         * elf/ldconfig.c: Likewise.
84830         * elf/ldd.bash.in: Likewise.
84831         * elf/sprof.c (print_version): Likewise.
84832         * iconv/iconv_prog.c: Likewise.
84833         * iconv/iconvconfig.c: Likewise.
84834         * locale/programs/locale.c: Likewise.
84835         * locale/programs/localedef.c: Likewise.
84836         * malloc/memusage.sh: Likewise.
84837         * malloc/mtrace.pl: Likewise.
84838         * nscd/nscd.c (print_version): Likewise.
84839         * nss/getent.c: Likewise.
84841         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84842         PF_CAIF, and PF_ALG.
84843         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84845 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
84847         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84848         (modules-names): Use them.
84849         (ifunc-test-modules, ifunc-pie-tests): Define.
84850         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84851         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84852         (test-extras): Likewise.
84853         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84854         $(compile-command.c).
84855         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84856         (all-built-dso): Define.
84857         (check-textrel.out, check-execstack.out): Depend on it.
84859         * configure.in: Don't override --enable-multi-arch.
84861 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
84863         [BZ #6812]
84864         * nscd/hstcache.c (tryagain): Define.
84865         (cache_addhst): Return tryagain not notfound for temporary errors.
84866         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84867         failed.
84869 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
84871         [BZ #10563]
84872         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84873         to make the syscall.
84874         * sysdeps/unix/sysv/linux/setgroups.c: New file.
84876         [BZ #12378]
84877         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84878         and fall back to matching as normal character if the string ends before
84879         the matching ']' is found.  This is what POSIX requires.
84880         * posix/testfnm.c: Adjust test result.
84881         * posix/globtest.sh: Adjust test result.  Add new test.
84882         * posix/tst-fnmatch.input: Likewise.
84883         * posix/tst-fnmatch2.c: Add new test.
84885 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
84887         * elf/Makefile (check-execstack): Revert last change.  Depend on
84888         check-execstack.h.
84889         (check-execstack.h): New target.
84890         (generated): Add check-execstack.h.
84891         * elf/check-execstack.c: Include "check-execstack.h".
84892         (main): Revert last change.
84893         (handle_file): Return zero if GNU_STACK is absent and
84894         DEFAULT_STACK_PERMS doesn't include PF_X.
84896 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
84898         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84899         in child fails because the descriptor is already closed.
84900         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84901         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84902         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84904         [BZ #12397]
84905         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84906         syscall.
84908         [BZ #10484]
84909         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84910         temporary buffer used to handle multi lookups locally.
84911         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84913 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84915         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84916         loader is ld.so.
84918 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
84920         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84921         alignment for SSE2.
84923 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
84925         [BZ #12394]
84926         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84927         characters.  When rounding increased number of integer digits recompute
84928         number of groups.
84929         * stdio-common/tst-grouping.c: New file.
84930         * stdio-common/Makefile: Add rules to build and run tst-grouping.
84932 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
84934         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84935         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
84937         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84938         void.
84939         * bits/select.h: Likewise.
84941 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
84943         * po/ja.po: Update from translation team.
84945 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
84947         [BZ #11155]
84948         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84949         implementation just like for lxstat, fxstatat, et al.
84951 2010-12-27  Jim Meyering  <meyering@redhat.com>
84953         [BZ #12348]
84954         * posix/regexec.c (build_trtable): Return failure indication upon
84955         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
84957 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
84959         [BZ #12201]
84960         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84961         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84962         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84963         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84965         [BZ #12207]
84966         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84968         [BZ #12204]
84969         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84970         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84972 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
84974         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84975         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84976         script has SORT_BY_INIT_PRIORITY.
84977         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84978         NO_CTORS_DTORS_SECTIONS is defined.
84979         * elf/soinit.c: Likewise.
84980         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84981         NO_CTORS_DTORS_SECTIONS is defined.
84982         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84983         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84984         * sysdeps/sh/init-first.c: Likewise.
84985         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84987 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
84989         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84990         always use the slow path.
84992 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
84994         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84995         similar rule which adds the sysdep directories to the header search in
84996         order to pick up the correct platform stackinfo.h.
84997         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84998         perform test if it is, otherwise return successfully without testing.
84999         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
85000         DEFAULT_STACK_PERMS define in stackinfo.h.
85001         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
85002         defined in stackinfo.h.
85003         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
85004         DEFAULT_STACK_PERMS defined in stackinfo.h.
85005         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
85006         * sysdeps/ia64/stackinfo.h: Likewise.
85007         * sysdeps/s390/stackinfo.h: Likewise.
85008         * sysdeps/sh/stackinfo.h: Likewise.
85009         * sysdeps/sparc/stackinfo.h: Likewise.
85010         * sysdeps/x86_64/stackinfo.h: Likewise.
85011         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
85012         PF_X for powerpc64.  Retain PF_X for powerpc32.
85014 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
85016         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
85017         accurately.
85018         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
85019         GETDENTS_64BIT_ALIGNED.
85021 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
85023         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
85025 2010-12-10  Andreas Schwab  <schwab@redhat.com>
85027         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
85028         _GNU_SOURCE.
85030         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
85031         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
85032         Remove __restrict.
85033         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
85034         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
85036 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
85038         [BZ #11655]
85039         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
85040         are initialized.
85042 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
85044         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
85046 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
85048         * po/it.po: Update from translation team.
85050 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
85052         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
85053         unused codes.
85055 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
85057         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
85059 2010-11-24  Andreas Schwab  <schwab@redhat.com>
85061         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
85062         specially.
85063         (gaih_getanswer_slice): Likewise.
85065 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
85067         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
85069 2010-05-31  Petr Baudis  <pasky@suse.cz>
85071         [BZ #11149]
85072         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
85073         silently even in the chroot mode.
85075 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
85077         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85078         last patch a bit.  Pretty printing
85080 2010-05-31  Petr Baudis <pasky@suse.cz>
85082         [BZ #10085]
85083         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85084         initialization of skip_initgroups_dyn.
85086 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
85088         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85089         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85091 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
85093         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85095 2010-11-11  Andreas Schwab  <schwab@redhat.com>
85097         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85098         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85099         (tst-fnmatch-ENV): Set MALLOC_TRACE.
85100         ($(objpfx)tst-fnmatch-mem): New rule.
85101         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85102         * posix/tst-fnmatch.c (main): Call mtrace.
85104 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
85106         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85107         Support Intel processor model 6 and model 0x2c.
85109 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
85111         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85112           signed comparison.
85114 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
85116         [BZ #12205]
85117         * string/test-strncasecmp.c (check_result): New function.
85118         (do_one_test): Use it.
85119         (check1): New function.
85120         (test_main): Use it.
85121         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85122         Support strcasecmp and strncasecmp.
85124 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
85126         [BZ #12194]
85127         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
85130 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
85132         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85133         IFUNC support.
85134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85135         memset-x86-64.
85136         * sysdeps/x86_64/multiarch/bzero.S: New file.
85137         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
85138         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
85139         * sysdeps/x86_64/multiarch/memset.S: New file.
85140         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
85141         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85142         Set bit_Prefer_SSE_for_memop for Intel processors.
85143         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
85144         Define.
85145         (index_Prefer_SSE_for_memop): Define.
85146         (HAS_PREFER_SSE_FOR_MEMOP): Define.
85148 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
85150         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
85151         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
85153 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
85155         [BZ #12191]
85156         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85157         (__x86_64_raw_data_cache_size_half): Likewise.
85158         (__x86_64_raw_shared_cache_size): Likewise.
85159         (__x86_64_raw_shared_cache_size_half): Likewise.
85161         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85162         (__x86_64_raw_data_cache_size_half): Likewise.
85163         (__x86_64_raw_shared_cache_size): Likewise.
85164         (__x86_64_raw_shared_cache_size_half): Likewise.
85165         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
85166         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
85167         and __x86_64_raw_shared_cache_size_half.  Round
85168         __x86_64_data_cache_size_half, __x86_64_data_cache_size
85169         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
85170         to multiple of 256 bytes.
85172 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
85174         [BZ #12167]
85175         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
85176         of inacessible symlinks.  Verify result of symlink before returning it.
85177         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
85178         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
85180 2010-10-28  Erich Ritz  <erichritz@gmail.com>
85182         * math/math.h (isinf): Fix typo in comment.
85184 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
85186         * po/da.po: Update from translation team.
85188 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
85190         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
85191         is added to the list.
85193 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85194             Ulrich Drepper  <drepper@gmail.com>
85196         * elf/dl-object.c (_dl_new_object): Don't append the new object to
85197         the global list here.  Move code to...
85198         (_dl_add_to_namespace_list): ...here.  New function.
85199         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
85200         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
85201         * elf/dl-load.c (lose): Don't remove the element from the list.
85202         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
85203         (_dl_map_object): Likewise.
85205 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
85207         [BZ #12159]
85208         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
85209         into all bytes of SSE register.
85210         Patch by Richard Li <richardpku@gmail.com>.
85212 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
85214         [BZ #12140]
85215         * malloc/malloc.c (_int_free): Fill correct number of bytes when
85216         perturbing.
85218 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
85220         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
85221         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
85222         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
85223         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
85225         submachine.
85226         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
85228 2010-10-22  Andreas Schwab  <schwab@redhat.com>
85230         * include/dlfcn.h (__RTLD_SECURE): Define.
85231         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
85232         mode & __RTLD_SECURE instead.
85233         (open_path): Rename preloaded parameter to secure.
85234         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
85235         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
85236         * elf/dl-deps.c (openaux): Likewise.
85237         * elf/rtld.c (struct map_args): Remove is_preloaded.
85238         (map_doit): Don't use it.
85239         (dl_main): Likewise.
85240         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
85241         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
85243 2010-09-09  Andreas Schwab  <schwab@redhat.com>
85245         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
85246         (sysd-rules-targets): Remove duplicates.
85247         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
85248         rtld-%.$o dependency.
85250 2010-10-18  Andreas Schwab  <schwab@redhat.com>
85252         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
85253         _dl_map_object do it.
85255 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
85257         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
85258         fast fma builtins, define the macros in the C99 standard.
85259         (FP_FAST_FMAF): Likewise.
85260         (FP_FAST_FMAL): Likewise.
85261         * sysdeps/x86_64/bits/mathdef.h: Likewise.
85263         * bits/mathdef.h: Update copyright year.
85264         * sysdeps/powerpc/bits/mathdef.h: Likewise.
85266 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
85268         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
85269         builtins, define the macros in the C99 standard.
85270         (FP_FAST_FMAF): Likewise.
85271         (FP_FAST_FMAL): Likewise.
85272         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
85273         multiply/add.
85274         (FP_FAST_FMAF): Likewise.
85276 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
85278         [BZ #3268]
85279         * math/libm-test.inc (fma_test): Some new testcases.
85280         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
85281         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
85282         y and infinite z.  Do multiplication by C already in long double.
85283         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
85284         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
85285         y and infinite z.  Do bitwise or of inexact bit into u.d.
85286         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
85287         * sysdeps/i386/fpu/s_fmaf.S: Removed.
85288         * sysdeps/i386/fpu/s_fma.S: Removed.
85289         * sysdeps/i386/fpu/s_fmal.S: Removed.
85291 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
85293         [BZ #3268]
85294         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
85295         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
85296         computation is not scheduled after fetestexcept.  Fix value
85297         of minimum denormal long double.
85299 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
85301         [BZ #3268]
85302         * math/libm-test.inc (fma_test): Add some more tests.
85303         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
85304         correctly.
85306 2010-10-15  Andreas Schwab  <schwab@redhat.com>
85308         * scripts/data/localplt-s390-linux-gnu.data: New file.
85309         * scripts/data/localplt-s390x-linux-gnu.data: New file.
85311 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
85313         [BZ #3268]
85314         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85315         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85316         instead of dbl-64.
85317         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85318         inlines.
85319         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85320         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85321         if one of x and y is very large and the other is subnormal.
85322         * sysdeps/s390/fpu/s_fmaf.c: New file.
85323         * sysdeps/s390/fpu/s_fma.c: New file.
85324         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85325         * sysdeps/powerpc/fpu/s_fma.S: New file.
85326         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85327         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85328         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85330 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
85332         [BZ #3268]
85333         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85334         fma tests.
85335         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85336         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85337         * sysdeps/i386/i686/multiarch/s_fma.c: Include
85338         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85339         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85340         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85341         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85343 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
85345         [BZ #12078]
85346         * posix/regcomp.c (parse_branch): One more memory leak plugged.
85347         * posix/bug-regex31.input: Add test case.
85349 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85351         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85352         * posix/bug-regex31.input: New file.
85354         [BZ #12078]
85355         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85356         (parse_sub_exp): Fix last change, use postorder.
85358         * posix/bug-regex31.c: New file.
85359         * posix/Makefile: Add rules to build and run bug-regex31.
85361         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85363         [BZ #12078]
85364         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85366         [BZ #12108]
85367         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85368         to have entries in sys_siglist.
85370         [BZ #12093]
85371         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85372         be NULL.
85374 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
85376         [BZ #3268]
85377         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85378         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85379         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85380         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85381         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85382         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85383         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85384         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85385         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85386         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85387         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85388         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85389         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85390         * math/ftestexcept.c (fetestexcept): Likewise.
85391         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85392         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85393         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85394         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85395         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85396         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85397         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85399 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
85401         [BZ #12107]
85402         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85403         newline.
85405 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
85407         * string/bug-strstr1.c: New file.
85408         * string/Makefile: Add rules to build and run bug-strstr1.
85410 2010-10-05  Eric Blake  <eblake@redhat.com>
85412         [BZ #12092]
85413         * string/str-two-way.h (two_way_long_needle): Always clear memory
85414         when skipping input due to the shift table.
85416 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
85418         [BZ #12005]
85419         * malloc/mcheck.c: Handle large requests.
85421         [BZ #12077]
85422         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85423         for strncmp and strncasecmp.
85424         * string/stratcliff.c: Add tests for strcmp and strncmp.
85425         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85427 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
85429         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85430         __set_fpscr.
85432 2010-09-30  Andreas Jaeger  <aj@suse.de>
85434         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85435         (CGROUP_SUPER_MAGIC): Define.
85436         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85437         Handle btrfs and cgroup file systems.
85438         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85439         Likewise.
85441 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
85443         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85444         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85446 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
85448         [BZ #12067]
85449         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85450         trying to locate the ELF header.
85452 2010-09-27  Andreas Schwab  <schwab@redhat.com>
85454         [BZ #11611]
85455         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85456         Mask out sign-bit copies when constructing f_fsid.
85458 2010-09-24  Petr Baudis <pasky@suse.cz>
85460         * debug/stack_chk_fail_local.c: Add missing licence exception.
85461         * debug/warning-nop.c: Likewise.
85463 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
85465         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85466         implementing getdents64 using getdents syscall, set d_type if
85467         __ASSUME_GETDENTS32_D_TYPE.
85469 2010-09-16  Andreas Schwab  <schwab@redhat.com>
85471         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85472         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85474 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
85476         [BZ #12037]
85477         * posix/unistd.h: Undo change of feature selection for ftruncate from
85478         2010-01-11.
85480 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
85482         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85483         detection.
85485 2010-09-20  Andreas Schwab  <schwab@redhat.com>
85487         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85488         fanotify_mark.
85489         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85491 2010-09-14  Andreas Schwab  <schwab@redhat.com>
85493         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85494         variables after CHECK_SP call.
85495         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85497 2010-09-13  Andreas Schwab  <schwab@redhat.com>
85498             Ulrich Drepper  <drepper@redhat.com>
85500         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85501         re-relocationg ld.so.
85502         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85503         _dl_init_paths call.
85504         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
85505         here anymore.
85507 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
85509         * resolv/res_init.c (__res_vinit): Count the default server we added.
85511 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
85512             Ulrich Drepper  <drepper@redhat.com>
85514         [BZ #11968]
85515         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85516         (____longjmp_chk): Use %ebx for saving value across system call.
85517         Add unwind info.
85519 2010-09-06  Andreas Schwab  <schwab@redhat.com>
85521         * manual/Makefile: Don't mix pattern rules with normal rules.
85523 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
85525         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85526         operation.
85527         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85528         * libio/iofopncook.c (_IO_cookie_init): Likewise.
85529         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85530         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85531         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85532         Likewise.
85534 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
85536         [BZ #11979]
85537         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85538         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85540 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
85542         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85543         * sysdeps/x86_64/addmul_1.S: Likewise.
85544         * sysdeps/x86_64/lshift.S: Likewise.
85545         * sysdeps/x86_64/mul_1.S: Likewise.
85546         * sysdeps/x86_64/rshift.S: Likewise.
85547         * sysdeps/x86_64/sub_n.S: Likewise.
85548         * sysdeps/x86_64/submul_1.S: Likewise.
85550 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85552         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85553         Define __sched_param instead of SCHED_* and sched_param when
85554         <bits/sched.h> is included with __need_schedparam defined.
85555         * bits/sched.h [__need_schedparam]
85556         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85557         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85558         (__defined_schedparam): Define to 1.
85559         (__sched_param): New structure, identical to sched_param.
85560         (__need_schedparam): Undefine.
85562 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
85564         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85565         (epoll_create1): Declare.
85567         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85569 2010-08-31  Andreas Schwab  <schwab@redhat.com>
85571         [BZ #7066]
85572         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85573         shifting retval into place.
85575 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
85577         * nis/rpcsvc/nis.h: Update copyright notice.
85578         * nis/rpcsvc/nis.x: Likewise.
85579         * nis/rpcsvc/nis_callback.h: Likewise.
85580         * nis/rpcsvc/nis_callback.x: Likewise.
85581         * nis/rpcsvc/nis_object.x: Likewise.
85582         * nis/rpcsvc/nis_tags.h: Likewise.
85583         * nis/rpcsvc/yp.h: Likewise.
85584         * nis/rpcsvc/yp.x: Likewise.
85585         * nis/rpcsvc/ypupd.h: Likewise.
85586         * nis/yp_xdr.c: Likewise.
85587         * nis/ypupdate_xdr.c: Likewise.
85589         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
85590         mainly the body of pmap_getport.  Add parameters to specify timeouts.
85591         (pmap_getport): Use __libc_rpc_getport.
85592         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85593         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85594         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85596 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
85598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85599         fanotify_mark.
85601 2010-08-27  Roland McGrath  <roland@redhat.com>
85603         * sysdeps/i386/i686/multiarch/Makefile
85604         (CFLAGS-varshift.c): New variable.
85606 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
85608         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85609         * sysdeps/i386/i686/multiarch/varshift.c: New file.
85611         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85613         * sysdeps/x86_64/strlen.S: Minimal code improvement.
85615 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
85617         * sysdeps/x86_64/strlen.S: Unroll the loop.
85618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85619         strlen-sse2 strlen-sse2-bsf.
85620         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85621         __strlen_no_bsf if bit_Slow_BSF is set.
85622         (__strlen_sse42): Removed.
85623         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85624         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85626 2010-08-25  Roland McGrath  <roland@redhat.com>
85628         * sysdeps/x86_64/multiarch/varshift.S: File removed.
85629         * sysdeps/x86_64/multiarch/varshift.c: New file.
85630         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85631         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85632         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85633         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85635 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
85637         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85638         strlen-sse2 strlen-sse2-bsf.
85639         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85640         __strlen_sse2_bsf if bit_Slow_BSF is unset.
85641         (__strlen_sse2): Removed.
85642         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85643         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85644         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85645         bit_Slow_BSF for Atom.
85646         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85647         (index_Slow_BSF): Define.
85648         (HAS_SLOW_BSF): Define.
85650 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
85652         [BZ #10851]
85653         * resolv/res_init.c (__res_vinit): When no server address at all
85654         is given default to loopback.
85656 2010-08-24  Roland McGrath  <roland@redhat.com>
85658         * configure.in: Remove config-name.h generation.
85659         * configure: Regenerated.
85660         * config-name.in: File removed.
85661         * scripts/config-uname.sh: New file.
85662         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85663         ($(objdir)config-name.h): New target.
85665         * sunrpc/rpc_parse.h: Avoid nested comment.
85667 2010-08-24  Richard Henderson  <rth@redhat.com>
85668             Ulrich Drepper  <drepper@redhat.com>
85669             H.J. Lu  <hongjiu.lu@intel.com>
85671         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85672         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85673         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85674         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
85675         _mm_alignr_epi8 with _mm_loadu_si128.
85676         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85677         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85678         (__m128i_shift_right): Removed.
85679         * sysdeps/i386/i686/multiarch/varshift.h: New file.
85680         * sysdeps/i386/i686/multiarch/varshift.S: New file.
85681         * sysdeps/x86_64/multiarch/varshift.h: New file.
85682         * sysdeps/x86_64/multiarch/varshift.S: New file.
85684 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
85686         * configure.in: Move assembler checks to before sysdep dir checking.
85688 2010-08-20  Petr Baudis  <pasky@suse.cz>
85690         * LICENSES: Sync the sunrpc license.
85692 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
85694         * sunrpc/auth_des.c: Update copyright notice once again.
85695         * sunrpc/auth_none.c: Likewise.
85696         * sunrpc/auth_unix.c: Likewise.
85697         * sunrpc/authdes_prot.c: Likewise.
85698         * sunrpc/authuxprot.c: Likewise.
85699         * sunrpc/bindrsvprt.c: Likewise.
85700         * sunrpc/clnt_gen.c: Likewise.
85701         * sunrpc/clnt_perr.c: Likewise.
85702         * sunrpc/clnt_raw.c: Likewise.
85703         * sunrpc/clnt_simp.c: Likewise.
85704         * sunrpc/clnt_tcp.c: Likewise.
85705         * sunrpc/clnt_udp.c: Likewise.
85706         * sunrpc/clnt_unix.c: Likewise.
85707         * sunrpc/des_crypt.c: Likewise.
85708         * sunrpc/des_soft.c: Likewise.
85709         * sunrpc/get_myaddr.c: Likewise.
85710         * sunrpc/getrpcport.c: Likewise.
85711         * sunrpc/key_call.c: Likewise.
85712         * sunrpc/key_prot.c: Likewise.
85713         * sunrpc/openchild.c: Likewise.
85714         * sunrpc/pm_getmaps.c: Likewise.
85715         * sunrpc/pm_getport.c: Likewise.
85716         * sunrpc/pmap_clnt.c: Likewise.
85717         * sunrpc/pmap_prot.c: Likewise.
85718         * sunrpc/pmap_prot2.c: Likewise.
85719         * sunrpc/pmap_rmt.c: Likewise.
85720         * sunrpc/rpc/auth.h: Likewise.
85721         * sunrpc/rpc/auth_unix.h: Likewise.
85722         * sunrpc/rpc/clnt.h: Likewise.
85723         * sunrpc/rpc/des_crypt.h: Likewise.
85724         * sunrpc/rpc/key_prot.h: Likewise.
85725         * sunrpc/rpc/netdb.h: Likewise.
85726         * sunrpc/rpc/pmap_clnt.h: Likewise.
85727         * sunrpc/rpc/pmap_prot.h: Likewise.
85728         * sunrpc/rpc/pmap_rmt.h: Likewise.
85729         * sunrpc/rpc/rpc.h: Likewise.
85730         * sunrpc/rpc/rpc_des.h: Likewise.
85731         * sunrpc/rpc/rpc_msg.h: Likewise.
85732         * sunrpc/rpc/svc.h: Likewise.
85733         * sunrpc/rpc/svc_auth.h: Likewise.
85734         * sunrpc/rpc/types.h: Likewise.
85735         * sunrpc/rpc/xdr.h: Likewise.
85736         * sunrpc/rpc_clntout.c: Likewise.
85737         * sunrpc/rpc_cmsg.c: Likewise.
85738         * sunrpc/rpc_common.c: Likewise.
85739         * sunrpc/rpc_cout.c: Likewise.
85740         * sunrpc/rpc_dtable.c: Likewise.
85741         * sunrpc/rpc_hout.c: Likewise.
85742         * sunrpc/rpc_main.c: Likewise.
85743         * sunrpc/rpc_parse.c: Likewise.
85744         * sunrpc/rpc_parse.h: Likewise.
85745         * sunrpc/rpc_prot.c: Likewise.
85746         * sunrpc/rpc_sample.c: Likewise.
85747         * sunrpc/rpc_scan.c: Likewise.
85748         * sunrpc/rpc_scan.h: Likewise.
85749         * sunrpc/rpc_svcout.c: Likewise.
85750         * sunrpc/rpc_tblout.c: Likewise.
85751         * sunrpc/rpc_util.c: Likewise.
85752         * sunrpc/rpc_util.h: Likewise.
85753         * sunrpc/rpcinfo.c: Likewise.
85754         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85755         * sunrpc/rpcsvc/key_prot.x: Likewise.
85756         * sunrpc/rpcsvc/klm_prot.x: Likewise.
85757         * sunrpc/rpcsvc/mount.x: Likewise.
85758         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85759         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85760         * sunrpc/rpcsvc/rex.x: Likewise.
85761         * sunrpc/rpcsvc/rstat.x: Likewise.
85762         * sunrpc/rpcsvc/rusers.x: Likewise.
85763         * sunrpc/rpcsvc/sm_inter.x: Likewise.
85764         * sunrpc/rpcsvc/spray.x: Likewise.
85765         * sunrpc/rpcsvc/yppasswd.x: Likewise.
85766         * sunrpc/rtime.c: Likewise.
85767         * sunrpc/svc.c: Likewise.
85768         * sunrpc/svc_auth.c: Likewise.
85769         * sunrpc/svc_authux.c: Likewise.
85770         * sunrpc/svc_raw.c: Likewise.
85771         * sunrpc/svc_run.c: Likewise.
85772         * sunrpc/svc_simple.c: Likewise.
85773         * sunrpc/svc_tcp.c: Likewise.
85774         * sunrpc/svc_udp.c: Likewise.
85775         * sunrpc/svc_unix.c: Likewise.
85776         * sunrpc/svcauth_des.c: Likewise.
85777         * sunrpc/xcrypt.c: Likewise.
85778         * sunrpc/xdr.c: Likewise.
85779         * sunrpc/xdr_array.c: Likewise.
85780         * sunrpc/xdr_float.c: Likewise.
85781         * sunrpc/xdr_mem.c: Likewise.
85782         * sunrpc/xdr_rec.c: Likewise.
85783         * sunrpc/xdr_ref.c: Likewise.
85784         * sunrpc/xdr_sizeof.c: Likewise.
85785         * sunrpc/xdr_stdio.c: Likewise.
85787         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85788         handling.
85790 2010-08-19  Andreas Schwab  <schwab@redhat.com>
85792         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85794 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
85796         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85797         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85798         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85799         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85800         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85801         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85802         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85803         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85804         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85805         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85806         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85807         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85808         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85809         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85811 2010-07-26  Anton Blanchard  <anton@samba.org>
85813         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85814         * malloc/arena.c (heap_trim): Likewise.
85816 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
85818         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85819         here.  Not...
85820         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85821         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85823 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
85825         * sysdeps/i386/elf/Makefile: New file.
85827 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85829         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85830         from fanotify_init.
85831         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85832         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85834 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
85836         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85837         of strncasecmp_l.
85838         * sysdeps/multiarch/strcmp.S: Likewise.
85840 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
85842         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85843         strncase_l-nonascii.
85844         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85845         Add strncase_l-ssse3.
85846         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85847         * sysdeps/x86_64/strcmp.S: Likewise.
85848         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85849         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85850         * sysdeps/x86_64/strncase.S: New file.
85851         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85852         * sysdeps/x86_64/strncase_l.S: New file.
85853         * string/Makefile (strop-tests): Add strncasecmp.
85854         * string/test-strncasecmp.c: New file.
85856         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85857         warning.
85859         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85860         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85862 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
85864         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85866 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
85868         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85869         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85870         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85872 2010-05-01  Alan Modra  <amodra@gmail.com>
85874         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85875         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85876         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85877         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85878         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85879         tidying.  Don't tail-call __sigjmp_save for static lib.
85880         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85881         save location.
85882         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85883         (CALL_MCOUNT): Add eh info, and nop after bl.
85884         (TAIL_CALL_SYSCALL_ERROR): New macro.
85885         (PSEUDO_RET): Use it.
85886         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85887         Correct save location of integer regs and cr.
85888         (_dl_profile_resolve): Correct cr save location.  Delete nops
85889         after bl when SHARED.  Reduce cfi size a little by better
85890         placement of cfi directives.
85891         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85892         make a stack frame.  Instead use parm save area as a temp.
85893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85894         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
85895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85896         Don't make a stack frame for parent, use parm save area.
85897         Increase child stack frame to 112 bytes.  Don't save unused reg,
85898         and adjust reg usage.  Set up cfi on error recovery and
85899         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85901         (__makecontext): Add dummy nop after jump to exit.
85902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85903         Use correct parm save area and cr save, reduce stack frame.
85904         Correct cfi for possible PSEUDO_RET frame setup.
85905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85906         Branch to local label emitted by PSEUDO_RET rather than
85907         __syscall_error.
85909 2010-08-12  Andreas Schwab  <schwab@redhat.com>
85911         [BZ #11904]
85912         * locale/programs/locale.c (print_assignment): New function.
85913         (show_locale_vars): Use it.
85915 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
85917         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85918         field.
85919         (struct statfs64): Likewise.
85920         (_STATFS_F_FLAGS): Define.
85921         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85923         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85924         (ST_VALID): Define locally.
85925         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85926         __statvfs_getflags, use the provided value.
85927         * sysdeps/unix/sysv/linux/kernel-features.h: Define
85928         __ASSUME_STATFS_F_FLAGS.
85930         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85932         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85933         Add sys/fanotify.h.
85934         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85935         fanotify_mask for GLIBC_2.13.
85936         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85937         fanotify_init and fanotify_mark.
85938         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85939         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85941         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85942         Add prlimit.
85943         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85944         prlimit64 for GLIBC_2.13.
85945         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85946         prlimit64.
85947         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85948         syscall.
85949         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85950         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85951         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85952         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85953         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
85954         add prlimit alias.
85955         * sysdeps/unix/sysv/linux/prlimit.c: New file.
85957         [BZ #11903]
85958         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85959         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85961         * nss/Makefile: Add rules to build and run tst-nss-test1.
85962         * shlib-versions: Add entry for libnss_test1.
85963         * nss/nss_test1.c: New file.
85964         * nss/tst-nss-test1.c: New file.
85966         * nss/nsswitch.c (__nss_database_custom): Define new variable.
85967         (__nss_configure_lookup): Set appropriate entry in
85968         __nss_configure_lookup to true.
85969         * nss/nsswitch.h: Define enum with indeces of databases in
85970         databases and __nss_database_custom arrays.  Declare
85971         __nss_database_custom.
85972         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85973         to avoid using nscd when custom rules are installed.
85974         * nss/getXXbyYY_r.c: Likewise.
85975         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85977         * nss/nss_files/files-parse.c: Whitespace fixes.
85979 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
85981         [BZ #11883]
85982         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85983         * posix/fnmatch_loop.c: Likewise.
85985 2010-07-17  Andi Kleen  <ak@linux.intel.com>
85987         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85988         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85989         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85990         * Versions.def [GLIBC_2.13]: Add.
85992 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
85994         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85995         Also fail if tpwd after pwuid call is NULL.
85997 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
85999         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
86000         when converting to ms.
86002 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86004         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
86005         EOPNOTSUPP errors with ENOTTY.
86006         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
86007         EOPNOTSUPP errors with ENOTTY.
86009 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
86011         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
86012         Add strcasecmp_l-ssse3.
86013         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
86014         strcasecmp.
86015         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
86016         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
86017         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
86019 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
86021         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
86023         * string/Makefile (strop-tests): Add strcasecmp.
86024         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
86025         strcasecmp_l-nonascii.
86026         (gen-as-const-headers): Add locale-defines.sym.
86027         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
86028         * sysdeps/x86_64/strcasecmp.S: New file.
86029         * sysdeps/x86_64/strcasecmp_l.S: New file.
86030         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
86031         * sysdeps/x86_64/locale-defines.sym: New file.
86032         * string/test-strcasecmp.c: New file.
86034         * string/test-strcasestr.c: Test both ends of the range of characters.
86035         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
86037 2010-07-29  Roland McGrath  <roland@redhat.com>
86039         [BZ #11856]
86040         * manual/locale.texi (Yes-or-No Questions): Fix example code.
86042 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
86044         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
86045         for ld.so.
86047 2010-07-27  Andreas Schwab  <schwab@redhat.com>
86049         * manual/memory.texi (Malloc Tunable Parameters): Document
86050         M_PERTURB.
86052 2010-07-26  Roland McGrath  <roland@redhat.com>
86054         [BZ #11840]
86055         * configure.in (-fgnu89-inline check): Set and substitute
86056         gnu89_inline, not libc_cv_gnu89_inline.
86057         * configure: Regenerated.
86058         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
86060 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
86062         * string/test-strnlen.c: New file.
86063         * string/Makefile (strop-tests): Add strnlen.
86064         * string/tester.c (test_strnlen): Add a few more test cases.
86065         * string/tst-strlen.c: Better error reporting.
86067         * sysdeps/x86_64/strnlen.S: New file.
86069 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
86071         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
86072         lower-latency instructions.
86074 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
86076         * string/test-strcasestr.c: New file.
86077         * string/test-strstr.c: New file.
86078         * string/Makefile (strop-tests): Add strstr and strcasestr.
86079         * string/str-two-way.h: Don't undefine MAX.
86080         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86082 2010-07-21  Andreas Schwab  <schwab@redhat.com>
86084         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86085         strcasestr-nonascii.
86086         (CFLAGS-strcasestr-nonascii.c): Define.
86087         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86088         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86089         Remove unused attribute.
86091 2010-07-20  Roland McGrath  <roland@redhat.com>
86093         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86094         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
86095         ld.so.cache was broken.  With it, there is no way to disable dsocaps
86096         like LD_HWCAP_MASK can disable hwcaps.
86098 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
86100         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86102 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
86104         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86105         call in strcasestr.
86106         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86107         __strcasestr_sse42_nonascii.
86108         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86109         strcasestr-nonascii.c.
86110         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86112 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
86114         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86115         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86116         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86117         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86119 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
86121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86122         fcntl.
86124 2010-07-06  Andreas Schwab  <schwab@redhat.com>
86126         [BZ #11577]
86127         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86128         dl_signal_cerror.
86130 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
86132         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86133         _PC_PIPE_BUF using F_GETPIPE_SZ.
86135 2010-07-05  Roland McGrath  <roland@redhat.com>
86137         * manual/arith.texi (Rounding Functions): Fix rint description
86138         implicit in round description.
86140 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
86142         * elf/Makefile: Fix linking for a few tests to make recent linker
86143         happy.
86145 2010-06-30  Andreas Schwab  <schwab@redhat.com>
86147         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86148         $(common-objpfx)libc_nonshared.a.
86150 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
86152         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
86153         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
86154         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86155         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86156         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
86157         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
86158         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86159         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
86161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
86162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
86163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
86165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
86167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
86168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
86169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
86170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
86172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
86174         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
86175         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
86176         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
86177         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
86178         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
86179         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
86180         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
86181         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
86182         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
86183         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
86184         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
86185         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
86186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
86187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
86188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
86189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
86190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
86191         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
86192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
86193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
86194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
86195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
86196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
86197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
86198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
86199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
86201 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
86203         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
86204         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
86205         * string/memmove.c (memmove): Renamed to ...
86206         (MEMMOVE): ...this.  Default to memmove.
86207         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
86208         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
86209         (END_CHK): Define.
86210         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86211         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
86212         mempcpy-ssse3-back memmove-ssse3-back.
86213         * sysdeps/x86_64/multiarch/bcopy.S: New file .
86214         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
86215         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
86216         * sysdeps/x86_64/multiarch/memcpy.S: New file.
86217         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
86218         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
86219         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
86220         * sysdeps/x86_64/multiarch/memmove.c: New file.
86221         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
86222         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
86223         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
86224         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
86225         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
86226         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
86227         Define.
86228         (index_Fast_Copy_Backward): Define.
86229         (HAS_ARCH_FEATURE): Define.
86230         (HAS_FAST_REP_STRING): Define.
86231         (HAS_FAST_COPY_BACKWARD): Define.
86233 2010-06-21  Andreas Schwab  <schwab@redhat.com>
86235         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86236         Restore proper fallback handling.
86238 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
86240         [BZ #11701]
86241         * posix/group_member.c (__group_member): Correct checking loop.
86243         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
86244         OOM in getpwuid_r correctly.  Return error number when the caller
86245         should return, otherwise -1.
86246         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
86247         call returning > 0 value.
86248         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
86250 2010-06-07  Andreas Schwab  <schwab@redhat.com>
86252         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
86253         libc_nonshared.a from targets in modules-names.
86255 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
86257         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
86258         requires it.
86260 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
86262         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
86263         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
86264         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
86265         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
86267 2010-06-02  Andreas Schwab  <schwab@redhat.com>
86269         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
86271 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
86273         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
86274         and F_GETPIPE_SZ.
86275         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86276         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86278         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86279         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86280         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86282 2010-06-14  Roland McGrath  <roland@redhat.com>
86284         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
86286 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
86288         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
86289         __REDIRECT followed by __THROW.
86290         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
86291         * posix/getopt.h (getopt): Likewise.
86293 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
86295         * hurd/lookup-at.c (__file_name_lookup_at): Accept
86296         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
86297         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
86298         in AT_FLAGS.
86299         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
86300         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
86302 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
86304         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
86306 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
86308         [BZ #11640]
86309         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86310         Properly check family and model.
86312 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
86314         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86316 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
86318         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86320 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
86322         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86323         symbol reference.
86325 2010-05-19  Andreas Schwab  <schwab@redhat.com>
86327         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86328         symbol reference.
86330 2010-05-21  Andreas Schwab  <schwab@redhat.com>
86332         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86333         and internal_recvmmsg.
86334         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86335         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86336         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86337         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86339         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86340         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86341         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86343 2010-05-20  Andreas Schwab  <schwab@redhat.com>
86345         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86347 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
86349         POWER7 optimizations.
86350         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86351         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86353 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
86355         * version.h: Update for 2.13 development version.
86357 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
86359         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86360         exceptions.  Return 0.
86362 2010-05-07  Roland McGrath  <roland@redhat.com>
86364         * elf/ldconfig.c (main): Add a const.
86366 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
86368         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86369         (args_options): Add no-idn option.
86370         (ahosts_keys_int): Add idn_flags to ai_flags.
86371         (parse_option): Handle 'i' option to clear idn_flags.
86373         * malloc/malloc.c (_int_free): Possible race in the most recently
86374         added check.  Only act on the data if no current modification
86375         happened.
86377 See ChangeLog.17 for earlier changes.